tox: Enable parallel docs builds
While we're here, specifying the doctree directory and configuring use of saved environments doesn't really make sense when we blast all previous doc build artefacts away on each build, so stop specifying those. Change-Id: I2b04a5c0ac121954aed91ae133e249a2e5813ee0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
01f63b875e
commit
ea51c21bd9
4
tox.ini
4
tox.ini
@ -56,7 +56,7 @@ deps =
|
|||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -fr doc/build
|
rm -fr doc/build
|
||||||
sphinx-build -W --keep-going -b html doc/source doc/build/html {posargs}
|
sphinx-build -W --keep-going -b html -j auto doc/source doc/build/html {posargs}
|
||||||
|
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
commands =
|
commands =
|
||||||
@ -72,7 +72,7 @@ whitelist_externals =
|
|||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build
|
rm -rf releasenotes/build
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html {posargs}
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = oslo_config._i18n
|
import_exceptions = oslo_config._i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user