File tree 3 files changed +18
-6
lines changed
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 50
50
sccache : ' true'
51
51
container : ' off'
52
52
working-directory : ./python
53
- args : --extras devel
53
+ args : --extras devel,docs
54
54
55
55
- name : Run lints
56
56
run : |
64
64
source .venv/bin/activate
65
65
pytest
66
66
67
+ - name : Build docs
68
+ run : |
69
+ source .venv/bin/activate
70
+ sphinx-build -M html docs/source/ docs/build/
71
+
67
72
build :
68
73
runs-on : ubuntu-latest
69
74
steps :
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ sphinx:
23
23
# Optional but recommended, declare the Python requirements required
24
24
# to build your documentation
25
25
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
26
- # python:
27
- # install:
28
- # - requirements: docs/requirements.txt
26
+ python :
27
+ install :
28
+ - method : pip
29
+ path : python
30
+ extra_requirements :
31
+ - docs
Original file line number Diff line number Diff line change @@ -23,9 +23,13 @@ devel = [
23
23
" mypy~=1.13.0" ,
24
24
" pytest~=8.3" ,
25
25
" pytest-benchmark~=5.1" ,
26
- " ruff~=0.7.2" ,
26
+ " ruff~=0.7.2"
27
+ ]
28
+
29
+ docs = [
27
30
" sphinx~=8.1" ,
28
- " sphinx-rtd-theme=~3.0"
31
+ " sphinx-automodapi~=0.18" ,
32
+ " sphinx-rtd-theme~=3.0"
29
33
]
30
34
31
35
[project .urls ]
You can’t perform that action at this time.
0 commit comments