Laura Cabayol Garcia commited on
Commit
1a00a72
·
1 Parent(s): 546e741

deploy docs

Browse files
.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: pip install mkdocs
21
- - run: mkdocs build
22
- - name: List Site Files
23
- run: ls -l site/
24
- - name: Deploy Documentation to GitHub Pages
25
- run: mkdocs gh-deploy --force
 
 
 
 
 
 
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: mkdocs
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://lauracabayol.github.io/TEMPS
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
+