File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,14 @@ jobs:
28
28
29
29
- name : Setup pandoc
30
30
run : |
31
- wget https://github.com/jgm/pandoc/releases/download/3.1.2 /pandoc-3.1.2 -1-amd64.deb
32
- sudo dpkg -i pandoc-3.1.2 -1-amd64.deb
33
- rm pandoc-3.1.2 -1-amd64.deb
31
+ wget https://github.com/jgm/pandoc/releases/download/3.5 /pandoc-3.5 -1-amd64.deb
32
+ sudo dpkg -i pandoc-3.5 -1-amd64.deb
33
+ rm pandoc-3.5 -1-amd64.deb
34
34
35
35
- name : Build Documentation
36
36
run : |
37
+ python -m venv ./.venv
38
+ source ./.venv/bin/activate
37
39
task docs
38
40
39
41
- name : Deploy Documentation
Original file line number Diff line number Diff line change 1
1
# https://taskfile.dev/#6/installation
2
2
version : 3
3
3
4
+ # Run before install pip deps
5
+ # python -m venv ./.venv
6
+ # source ./.venv/bin/activate
7
+
4
8
tasks :
5
9
readme :
6
- - pip install -q -U pandoc-include
10
+ - pipx install pandoc-include
7
11
# requires pandoc 3.0.0 or higher
8
12
- pandoc -s --filter pandoc-include -o ../README.md ./README.md
9
13
10
14
docs :
11
15
deps :
12
16
- readme
13
17
cmds :
14
- - pip install -q -U GitPython sphinx-rtd-theme breathe sphinx-sitemap sphinxcontrib-moderncmakedomain myst-parser pandoc-include
15
- - cmake -S ./ -B ./build -G "Ninja Multi-Config" -DCMAKE_BUILD_TYPE=Release
16
- - cmake --build ./build --config Release
17
- - touch ./build/.nojekyll
18
- - rm -rf ./build/*.ninja ./build/*log ./build/*.py ./build/CMakeFiles ./build/CMakeCache.txt ./build/*.cmake
18
+ - |
19
+ pip install GitPython sphinx-rtd-theme breathe sphinx-sitemap sphinxcontrib-moderncmakedomain myst-parser
20
+ cmake -S ./ -B ./build -G "Ninja Multi-Config" -DCMAKE_BUILD_TYPE=Release
21
+ cmake --build ./build --config Release
22
+ touch ./build/.nojekyll
23
+ rm -rf ./build/*.ninja ./build/*log ./build/*.py ./build/CMakeFiles ./build/CMakeCache.txt ./build/*.cmake
19
24
20
25
docs.preview :
21
26
deps :
27
32
deps :
28
33
- docs
29
34
cmds :
30
- - npx gh-pages -d ./build/ -t true
35
+ - npx -y gh-pages -d ./build/ -t true
You can’t perform that action at this time.
0 commit comments