Skip to content

Commit 2a6f3ee

Browse files
committed
update docs build
1 parent 8d9efda commit 2a6f3ee

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,32 @@ jobs:
1313
name: Checkout
1414
uses: actions/checkout@v4
1515

16-
- id: setup-python
17-
name: Setup Python
18-
uses: actions/setup-python@v5
16+
- id: install-uv
17+
name: Install uv
18+
uses: astral-sh/setup-uv@v6
1919
with:
20-
python-version: '3.11'
21-
cache: 'pipenv'
20+
version: "latest"
21+
enable-cache: true
22+
cache-dependency-glob: '**/pyproject.toml'
2223

23-
- id: install-pipenv
24-
name: Install pipenv
25-
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
26-
shell: bash
24+
- id: install-python
25+
name: Install Python
26+
run: uv python install 3.13
2727

2828
- id: install-python-dependencies
2929
name: Install Python dependencies
30-
run: pipenv sync --dev
31-
shell: bash
30+
run: uv sync --extra docs
3231

3332
- id: build-sphinx-documentation
3433
name: Build Sphinx documentation
35-
run: pipenv run make html
36-
shell: bash
37-
working-directory: docs
34+
run: uv run sphinx-build -M html ./docs ./_build/
3835

3936
- id: upload-release-candidate
4037
name: Upload release candidate
4138
uses: actions/upload-artifact@v4
4239
with:
4340
name: release-candidate
44-
path: ./docs/_build/html/
41+
path: ./_build/html/
4542

4643
deploy:
4744
name: Deploy

0 commit comments

Comments
 (0)