Skip to content

Commit 9983650

Browse files
committed
Update docs workflow
1 parent e32f218 commit 9983650

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Install uv
14+
- name: Install Project Manager
15+
run: ./shell/uv.sh
16+
- name: Install mkdocs & plugins
17+
run: ./shell/install_doc.sh
1318
- uses: actions/checkout@v4
1419
- name: Configure Git Credentials
1520
run: |
@@ -25,5 +30,4 @@ jobs:
2530
path: .cache
2631
restore-keys: |
2732
mkdocs-material-
28-
- run: pip install mkdocs-material
29-
- run: mkdocs gh-deploy --force
33+
- run: uv run mkdocs gh-deploy --force

shell/install_doc.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
set -Eeuo pipefail
3+
4+
uv pip install mkdocs
5+
uv pip install mkdocs-material
6+
uv pip install mkdocstrings[python]
7+
uv pip install mkdocs-glightbox

0 commit comments

Comments
 (0)