summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-09-10 16:34:23 +0100
committerStephen Finucane <sfinucan@redhat.com>2020-09-10 16:36:53 +0100
commitea51c21bd959531c610a9619718be3ec5fef1b3c (patch)
tree889b8bc1854c5ef83d5b306544ea4010308daace
parent01f63b875e6534a90ded876c88115f8e5eb0c7f6 (diff)
downloadoslo-config-ea51c21bd959531c610a9619718be3ec5fef1b3c.tar.gz
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>
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 92466fc..af89ca3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -56,7 +56,7 @@ deps =
-r{toxinidir}/doc/requirements.txt
commands =
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]
commands =
@@ -72,7 +72,7 @@ whitelist_externals =
deps = {[testenv:docs]deps}
commands =
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]
import_exceptions = oslo_config._i18n