From: Thanh Ha Date: Mon, 3 Dec 2018 13:59:12 +0000 (+0800) Subject: Use Sphinx 1.7 parallel auto feature X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F13777%2F2;p=releng%2Fdocs.git Use Sphinx 1.7 parallel auto feature Sphinx 1.7 introduced an auto feature to the `-j auto` parameter to auto-detect number of available CPUs and set that. Change-Id: I12d70e9586fea61479e9169725231096b5bec368 Signed-off-by: Thanh Ha --- diff --git a/tox.ini b/tox.ini index 909e8bf..a889b24 100644 --- a/tox.ini +++ b/tox.ini @@ -32,8 +32,8 @@ commands = [testenv:docs] deps = -rrequirements.txt commands = - sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + sphinx-build -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:docs-linkcheck] deps = -rrequirements.txt -commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck