From d585d536f72337ecb60b3b23713ac12ff93d2ec2 Mon Sep 17 00:00:00 2001 From: Stone Date: Mon, 25 Jan 2021 12:57:54 -0500 Subject: [PATCH] tox.ini modification Adding --keep-going arg. With -W option, keep going processing when getting warnings to the end of build, and sphinx-build exits with exit status 1. This is useful to address multiple build errors in parallel instead of a series of build/fail cycles. Signed-off-by: Stone Change-Id: I0e73ec8e9d6e5f32a37ee0cbe4e113d024cc485b --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 270a4886b..8bf55d928 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = - sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html {posargs} + sphinx-build -a -E -W --keep-going -d doc/build/doctrees -b html doc/source doc/build/html {posargs} [testenv:api-ref] deps = {[testenv:docs]deps}