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 <ronald.stone@windriver.com>
Change-Id: I0e73ec8e9d6e5f32a37ee0cbe4e113d024cc485b
This commit is contained in:
Stone 2021-01-25 12:57:54 -05:00
parent ebdf63ec68
commit d585d536f7
1 changed files with 1 additions and 1 deletions

View File

@ -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}