Skip to content

Commit 426a00a

Browse files
committed
update workflows
1 parent 6d78b06 commit 426a00a

File tree

2 files changed

+14
-23
lines changed

2 files changed

+14
-23
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ permissions:
2424
contents: write # Required to push to the gh-pages branch
2525

2626
env:
27-
GH_TOKEN: ${{ secrets.GH_TOKEN }} # Token used by mkdocs for pushing
28-
UV_SYSTEM_PYTHON: 1 # Use system Python interpreter with uv
27+
GH_TOKEN: ${{ secrets.GH_TOKEN }} # used by mkdocs for publishing
2928

3029
jobs:
3130
deploy:
@@ -36,23 +35,15 @@ jobs:
3635
- name: Checkout repository
3736
uses: actions/checkout@v4
3837

38+
- name: Setup uv
39+
uses: astral-sh/setup-uv@v6
40+
3941
- name: Configure Git for mkdocs
4042
run: |
4143
git config user.name github-actions[bot]
4244
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
4345
44-
- name: Install uv
45-
uses: astral-sh/setup-uv@v6
46-
47-
- name: Set up Python
48-
uses: actions/setup-python@v5
49-
with:
50-
python-version-file: "pyproject.toml" # Match Python version with project config
51-
52-
- name: Install dependencies
53-
run: |
54-
uv pip install -e .
55-
uv pip install --group docs --group lint
56-
5746
- name: Deploy to GitHub Pages
58-
run: uv run mkdocs gh-deploy --force
47+
run: |
48+
uv venv
49+
uv run --group docs --group lint mkdocs gh-deploy --force -v

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test = [
2424
"pytest >=7.2.0",
2525
]
2626
lint = [
27-
"ruff >=0.11.7",
27+
"ruff >=0.13.1",
2828
]
2929
dev = [
3030
"pre-commit >=4.2.0",
@@ -36,14 +36,14 @@ docs-coverage = [
3636
]
3737
docs = [
3838
"mkdocs >=1.6.1",
39-
"mkdocs-material >=9.6.15",
40-
"mkdocstrings-python >=1.16.12",
41-
"mkdocstrings-python-xref >=1.16.3",
39+
"mkdocs-material >=9.6.20",
40+
"mkdocstrings-python >=1.18.2",
41+
"mkdocstrings-python-xref >=1.16.4",
4242
"mike >=2.1.3",
43-
"markdown >=3.6",
44-
"pymdown-extensions >=10.16",
43+
"markdown >=3.9",
44+
"pymdown-extensions >=10.16.1",
4545
"mkdocs-exclude >=1.0.2",
46-
"mkdocs-glightbox >=0.4.0",
46+
"mkdocs-glightbox >=0.5.1",
4747
"mkdocs-open-in-new-tab >=1.0.8",
4848
"mkdocs-section-index >=0.3.10",
4949
"griffe-modernized-annotations >=1.0.8",

0 commit comments

Comments
 (0)