Skip to content

Commit 6e4c6a7

Browse files
committed
Minor restructure of which html sphinx builder we build in the tox.ini.
1 parent 2a9bb09 commit 6e4c6a7

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: 3.9
6767
toxenv: py39-format_nongpl-tests
6868
- name: 3.9
69-
toxenv: docs-html
69+
toxenv: docs-dirhtml
7070
- name: 3.9
7171
toxenv: docs-doctest
7272
- name: 3.9

tox.ini

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,29 +90,22 @@ deps =
9090
commands =
9191
{envpython} -m flake8 {posargs} {toxinidir}/jsonschema {toxinidir}/docs
9292
93-
[testenv:docs-html]
94-
commands = {envpython} -m sphinx -b html {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
93+
[testenv:docs-dirhtml]
94+
commands = {envpython} -m sphinx -b dirhtml {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
9595
deps =
9696
-r{toxinidir}/docs/requirements.txt
97-
{toxinidir}
9897
9998
[testenv:docs-doctest]
10099
commands = {envpython} -m sphinx -b doctest {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
101-
deps =
102-
-r{toxinidir}/docs/requirements.txt
103-
{toxinidir}
100+
deps = {[testenv:docs-dirhtml]deps}
104101
105102
[testenv:docs-linkcheck]
106103
commands = {envpython} -m sphinx -b linkcheck {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
107-
deps =
108-
-r{toxinidir}/docs/requirements.txt
109-
{toxinidir}
104+
deps = {[testenv:docs-dirhtml]deps}
110105
111106
[testenv:docs-spelling]
112107
commands = {envpython} -m sphinx -b spelling {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -T -W}
113-
deps =
114-
-r{toxinidir}/docs/requirements.txt
115-
{toxinidir}
108+
deps = {[testenv:docs-dirhtml]deps}
116109
117110
[testenv:docs-style]
118111
commands = doc8 {posargs} {toxinidir}/docs

0 commit comments

Comments
 (0)