summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-24 13:07:41 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-24 13:07:41 +0100
commit6e4c6a7d640a66b25cb5a439ca6ea19f87385aee (patch)
tree7dc7d57a5381b23ddf228c2ffbb38658491e1590 /tox.ini
parent2a9bb096ba5ede6a055c3d2dff35345aa59cbf91 (diff)
downloadjsonschema-6e4c6a7d640a66b25cb5a439ca6ea19f87385aee.tar.gz
Minor restructure of which html sphinx builder we build in the tox.ini.v4.0.0a4
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 5 insertions, 12 deletions
diff --git a/tox.ini b/tox.ini
index 811a5a9..f687f82 100644
--- a/tox.ini
+++ b/tox.ini
@@ -90,29 +90,22 @@ deps =
commands =
{envpython} -m flake8 {posargs} {toxinidir}/jsonschema {toxinidir}/docs
-[testenv:docs-html]
-commands = {envpython} -m sphinx -b html {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
+[testenv:docs-dirhtml]
+commands = {envpython} -m sphinx -b dirhtml {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
deps =
-r{toxinidir}/docs/requirements.txt
- {toxinidir}
[testenv:docs-doctest]
commands = {envpython} -m sphinx -b doctest {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
-deps =
- -r{toxinidir}/docs/requirements.txt
- {toxinidir}
+deps = {[testenv:docs-dirhtml]deps}
[testenv:docs-linkcheck]
commands = {envpython} -m sphinx -b linkcheck {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -q -T -W}
-deps =
- -r{toxinidir}/docs/requirements.txt
- {toxinidir}
+deps = {[testenv:docs-dirhtml]deps}
[testenv:docs-spelling]
commands = {envpython} -m sphinx -b spelling {toxinidir}/docs/ {envtmpdir}/build {posargs:-a -n -T -W}
-deps =
- -r{toxinidir}/docs/requirements.txt
- {toxinidir}
+deps = {[testenv:docs-dirhtml]deps}
[testenv:docs-style]
commands = doc8 {posargs} {toxinidir}/docs