File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Documentation using MkDocs
2
+
3
+ # Controls when the action will run. Triggers the workflow on push or pull request
4
+ # events but only for the master branch
5
+ on :
6
+ pull_request :
7
+ branches : [main]
8
+ jobs :
9
+ build :
10
+ name : Build Documentation
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout Repository
14
+ uses : actions/checkout@v4
15
+ - uses : actions/setup-python@v5
16
+ with :
17
+ python-version : 3.x
18
+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
19
+ - uses : actions/cache@v4
20
+ with :
21
+ key : mkdocs-material-${{ env.cache_id }}
22
+ path : ~/.cache
23
+ restore-keys : |
24
+ mkdocs-material-
25
+ - run : pip install -r requirements.txt
26
+ - name : Build documentation
27
+ run : mkdocs build --strict
Original file line number Diff line number Diff line change
1
+
2
+
3
+ TODO
Original file line number Diff line number Diff line change 36
36
- Home :
37
37
- Overview : index.md
38
38
- Installation : installation.md
39
+ - Run : run.md
39
40
- Theory :
40
41
- Overview : theory/index.md
41
42
- Why Meshes : theory/mesh_maps.md
You can’t perform that action at this time.
0 commit comments