From 0bcb0c423a46469aea9354929ed0074ce976fefb Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 3 Dec 2018 21:59:12 +0800 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.16.6