Update Sphinx cfg to use modern features from 1.8 25/15225/1
authorThanh Ha <zxiiro@gmail.com>
Mon, 8 Apr 2019 03:22:41 +0000 (11:22 +0800)
committerThanh Ha <zxiiro@gmail.com>
Mon, 8 Apr 2019 03:30:30 +0000 (11:30 +0800)
* Enable --keep-going mode to fail at end after all warnings printed
* Use parallel auto mode
* Remove unnecessary echo command

Change-Id: I391d5fcc6675d78b0880c01e711b6749cc8174ec
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 134aa14..bc6dc04 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -35,9 +35,7 @@ skip_install=True
 [testenv:docs]
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
-    echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals = echo
+    sphinx-build -j auto --keep-going -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:reno]
 deps = -rdocs/requirements.txt