Speedup documentation page generation

Change-Id: I51ac8c30d1c1d0d34632d7c17998115242922e69
This commit is contained in:
Federico Ressi 2022-01-21 12:21:35 +01:00
parent 4607ac648f
commit 947e354740

16
tox.ini
View File

@ -330,7 +330,6 @@ deps =
commands =
[testenv:linkcheck]
allowlist_externals = sh
basepython = {[docs]basepython}
envdir = {[docs]envdir}
@ -338,17 +337,12 @@ deps = {[docs]deps}
commands =
{[docs]commands}
sh -c 'cd {toxinidir}/doc/source && sphinx-build -W -b linkcheck . ../build/linkcheck'
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
usedevelop = false
usedevelop = true
skipsdist = true
skip_install = true
[testenv:docs]
allowlist_externals = sh
basepython = {[docs]basepython}
envdir = {[docs]envdir}
@ -357,13 +351,9 @@ changedir = doc/source
commands =
{[testenv:linkcheck]commands}
sphinx-build -W -b html . ../build/html
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
usedevelop = false
usedevelop = true
skipsdist = true
skip_install = false
skip_install = true
[testenv:releasenotes]