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 <thanh.ha@linuxfoundation.org>
[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