File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 99
99
docs :
100
100
<< : *docs
101
101
docker :
102
- - image : cimg/python:3.8
102
+ - image : cimg/python:3.9
103
103
environment :
104
104
TOXENV : docs
105
105
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2
3
3
build :
4
4
os : ubuntu-22.04
5
5
tools :
6
- python : " 3.8 "
6
+ python : " 3.9 "
7
7
8
8
sphinx :
9
9
configuration : docs/conf.py
Original file line number Diff line number Diff line change 8
8
@echo " lint - fix linting issues with pre-commit"
9
9
@echo " test - run tests quickly with the default Python"
10
10
@echo " docs - generate docs and open in browser (linux-docs for version on linux)"
11
+ @echo " autobuild-docs - live update docs when changes are saved"
11
12
@echo " notes - consume towncrier newsfragments/ and update release notes in docs/"
12
13
@echo " release - package and upload a release (does not run notes target)"
13
14
@echo " dist - package"
33
34
test :
34
35
pytest tests
35
36
37
+ autobuild-docs :
38
+ sphinx-autobuild --open-browser docs docs/_build/html
39
+
36
40
build-docs :
37
41
sphinx-apidoc -o docs/ . setup.py " *conftest*"
38
42
$(MAKE ) -C docs clean
Original file line number Diff line number Diff line change 17
17
],
18
18
"docs" : [
19
19
"sphinx>=6.0.0" ,
20
+ "sphinx-autobuild>=2024.2.4" ,
20
21
"sphinx_rtd_theme>=1.0.0" ,
21
22
"towncrier>=21,<22" ,
22
23
],
You can’t perform that action at this time.
0 commit comments