File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+
4
+ mkdocs :
5
+ fail_on_warning : true
6
+ configuration : docs/source/conf.py
7
+
8
+ build :
9
+ os : ubuntu-24.04
10
+ tools :
11
+ python : " 3.12"
12
+ commands :
13
+ - pip install --user tox
14
+ - python3 -m tox -e docs
15
+ python :
16
+ install :
17
+ - method : pip
18
+ path : tox
19
+ - method : pip
20
+ path : .
21
+ extra_requirements :
22
+ - docs
23
+ submodules :
24
+ include : all
25
+ recursive : true
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ pass_env =
30
30
PYTHONIOENCODING
31
31
PYTHONPYCACHEPREFIX
32
32
PY_COLORS
33
+ READTHEDOCS_OUTPUT
33
34
REQUESTS_CA_BUNDLE
34
35
RTD_TOKEN
35
36
SETUPTOOLS_SCM_DEBUG
70
71
-r{tox_root}/doc/requirements.txt
71
72
commands =
72
73
python -m doc8 -e .rst doc CONTRIBUTING.rst README.rst
73
- sphinx-build -W -b html doc/source doc/build/html
74
+ sphinx-build -W -b html doc/source {env:READTHEDOCS_OUTPUT: doc/build} /html
74
75
75
76
[testenv:packaging]
76
77
description =
You can’t perform that action at this time.
0 commit comments