diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2020-09-10 15:12:56 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2021-01-27 16:46:21 +0000 |
commit | 7062e1db8bc71ecf881f70fc149a27ca1532061d (patch) | |
tree | 9978240b5a9c181121fc52c4e10759882e8caf67 /tox.ini | |
parent | d92c0740c6aeaad983736f6e87d9960886e8df80 (diff) | |
download | nova-7062e1db8bc71ecf881f70fc149a27ca1532061d.tar.gz |
tox: Enable parallel docs build
This significantly speeds up our doc build process. This requires a
newer version of 'sphinx-feature-classification' and some tweaks to our
own in-tree extensions. While we're here, we drop the '-d DOCTREE_DIR'
parameter since it's of no use when we blast away our previously built
docs each time we build.
Change-Id: I679da65d44c40880f720df8a2f06286a19eb8d22
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -185,7 +185,7 @@ deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build/html doc/build/doctrees - sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html + sphinx-build -W --keep-going -b html -j auto doc/source doc/build/html # Test the redirects. This must run after the main docs build whereto doc/build/html/.htaccess doc/test/redirect-tests.txt @@ -196,7 +196,7 @@ envdir = {toxworkdir}/docs deps = {[testenv:docs]deps} commands = rm -rf doc/build/pdf - sphinx-build -W -b latex doc/source doc/build/pdf + sphinx-build -W --keep-going -b latex -j auto doc/source doc/build/pdf make -C doc/build/pdf [testenv:api-guide] @@ -206,7 +206,7 @@ envdir = {toxworkdir}/docs deps = {[testenv:docs]deps} commands = rm -rf api-guide/build - sphinx-build -W --keep-going -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html + sphinx-build -W --keep-going -b html -j auto api-guide/source api-guide/build/html [testenv:api-ref] description = @@ -215,7 +215,7 @@ envdir = {toxworkdir}/docs deps = {[testenv:docs]deps} commands = rm -rf api-ref/build - sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html + sphinx-build -W --keep-going -b html -j auto api-ref/source api-ref/build/html [testenv:releasenotes] description = @@ -224,7 +224,7 @@ envdir = {toxworkdir}/docs deps = {[testenv:docs]deps} commands = rm -rf releasenotes/build - sphinx-build -W --keep-going -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html + sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html [testenv:all-docs] description = |