Skip to content

Commit aaef15c

Browse files
committed
update workflows
1 parent dbd04f1 commit aaef15c

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
@@ -26,7 +26,7 @@ test = [
2626
"pytest >=7.2.0",
2727
]
2828
lint = [
29-
"ruff >=0.11.7",
29+
"ruff >=0.13.1",
3030
]
3131
dev = [
3232
"pre-commit >=4.2.0",
@@ -38,14 +38,14 @@ docs-coverage = [
3838
]
3939
docs = [
4040
"mkdocs >=1.6.1",
41-
"mkdocs-material >=9.6.15",
42-
"mkdocstrings-python >=1.16.12",
43-
"mkdocstrings-python-xref >=1.16.3",
41+
"mkdocs-material >=9.6.20",
42+
"mkdocstrings-python >=1.18.2",
43+
"mkdocstrings-python-xref >=1.16.4",
4444
"mike >=2.1.3",
45-
"markdown >=3.6",
46-
"pymdown-extensions >=10.16",
45+
"markdown >=3.9",
46+
"pymdown-extensions >=10.16.1",
4747
"mkdocs-exclude >=1.0.2",
48-
"mkdocs-glightbox >=0.4.0",
48+
"mkdocs-glightbox >=0.5.1",
4949
"mkdocs-open-in-new-tab >=1.0.8",
5050
"mkdocs-section-index >=0.3.10",
5151
"griffe-modernized-annotations >=1.0.8",

0 commit comments

Comments
 (0)