Skip to content

Commit

Permalink
feat: changed docs theme, added v0.10 changelog, lots of small misc c…
Browse files Browse the repository at this point in the history
…hanges
  • Loading branch information
ErikBjare committed May 7, 2021
1 parent cd9f19d commit 5b35711
Show file tree
Hide file tree
Showing 22 changed files with 880 additions and 223 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
_build
.*cache
dist

# generated from md by pandoc
src/changelog/*.rst
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "media"]
path = media
url = https://github.com/ActivityWatch/media.git
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Makefile for Sphinx documentation
#

md_changelogs := $(wildcard src/changelog/*.md)
md_changelogs_output = $(patsubst %.md, %.rst, $(md_changelogs))

build: $(md_changelogs_output)
make html

src/changelog/%.rst: src/changelog/%.md
pandoc $^ -f gfm -o $@

_build/html:
make build

open:
xdg-open _build/html/index.html

# You can set these variables from the command line.
SPHINXOPTS =
Expand Down
1 change: 1 addition & 0 deletions media
Submodule media added at 7eeb8d
Loading

0 comments on commit 5b35711

Please sign in to comment.