Skip to content

Commit 63410dd

Browse files
committed
Use uv for documentation building as well
1 parent 6042648 commit 63410dd

File tree

6 files changed

+455
-65
lines changed

6 files changed

+455
-65
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ jobs:
99
- uses: actions/checkout@v5
1010
- name: Build Sphinx documentation
1111
run: |
12-
pip install -r doc/requirements.txt
13-
sphinx-build doc/ ./doc/_build/html/
12+
uv run --group doc sphinx-build doc/ _site/
1413
1514
- name: Upload artifact
1615
# Automatically uploads an artifact from the './_site' directory by default
1716
uses: actions/upload-pages-artifact@v3
18-
with:
19-
path: doc/_build/html/
2017

2118
deploy:
2219
if: github.ref == 'refs/heads/master'

doc/Makefile

Lines changed: 0 additions & 20 deletions
This file was deleted.

doc/make.bat

Lines changed: 0 additions & 35 deletions
This file was deleted.

doc/requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ Documentation = "https://pythonnet.github.io/clr-loader/"
3939
dev = [
4040
"pytest>=7.0"
4141
]
42+
doc = [
43+
"furo>=2022.9.15",
44+
"pygments>=2.7",
45+
"sphinx>=5.3.0",
46+
]
4247

4348
[tool.setuptools]
4449
zip-safe = false

0 commit comments

Comments
 (0)