From cf53460ea3ede79bc71329d3369d78cd269828cc Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 8 Apr 2019 11:22:41 +0800 Subject: [PATCH] Update Sphinx cfg to use modern features from 1.8 * 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 --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 134aa14..bc6dc04 100644 --- 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 -- 2.16.6