Spaces:
Runtime error
Runtime error
Laura Cabayol Garcia
commited on
Commit
·
1a00a72
1
Parent(s):
546e741
deploy docs
Browse files- .github/workflows/deploy_docs.yml +11 -6
- docs/mkdocs.yml +5 -3
.github/workflows/deploy_docs.yml
CHANGED
@@ -17,9 +17,14 @@ jobs:
|
|
17 |
- uses: actions/setup-python@v5
|
18 |
with:
|
19 |
python-version: 3.x
|
20 |
-
- run:
|
21 |
-
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
17 |
- uses: actions/setup-python@v5
|
18 |
with:
|
19 |
python-version: 3.x
|
20 |
+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
21 |
+
- uses: actions/cache@v4
|
22 |
+
with:
|
23 |
+
key: mkdocs-material-${{ env.cache_id }}
|
24 |
+
path: .cache
|
25 |
+
restore-keys: |
|
26 |
+
mkdocs-material-
|
27 |
+
- run: pip install mkdocs-material
|
28 |
+
- name: Build and Deploy Documentation
|
29 |
+
working-directory: docs
|
30 |
+
run: mkdocs gh-deploy --force
|
docs/mkdocs.yml
CHANGED
@@ -1,15 +1,17 @@
|
|
1 |
site_name: TEMPS Documentation
|
2 |
theme:
|
3 |
-
name:
|
4 |
|
5 |
# Define the navigation structure for the docs
|
6 |
nav:
|
7 |
- Home: index.md
|
8 |
|
9 |
# Define the URL where the site will be deployed
|
10 |
-
site_url: https://
|
11 |
|
12 |
markdown_extensions:
|
13 |
- codehilite
|
14 |
- toc
|
15 |
-
- admonition
|
|
|
|
|
|
1 |
site_name: TEMPS Documentation
|
2 |
theme:
|
3 |
+
name: material
|
4 |
|
5 |
# Define the navigation structure for the docs
|
6 |
nav:
|
7 |
- Home: index.md
|
8 |
|
9 |
# Define the URL where the site will be deployed
|
10 |
+
site_url: https://github.com/lauracabayol/TEMPS
|
11 |
|
12 |
markdown_extensions:
|
13 |
- codehilite
|
14 |
- toc
|
15 |
+
- admonition
|
16 |
+
|
17 |
+
|