From ea51c21bd959531c610a9619718be3ec5fef1b3c Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 10 Sep 2020 16:34:23 +0100 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 92466fcc..af89ca39 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