Use sphinx keep-going option in docs tox jobs 31/100431/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 6 Apr 2022 08:59:02 +0000 (10:59 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 6 Apr 2022 12:36:00 +0000 (12:36 +0000)
Without this option, sphinx stops at the first warning found
when -W option is enabled.
This prevents users from troubleshooting their contributions in 1 pass.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I8969729095227566f161fc32b2b53cfd33b50399

tox.ini

diff --git a/tox.ini b/tox.ini
index d1e71dbe24ca0fbdb021cdcf6e4829bc4aeef434..7a40c08aee3b8509f55d3c99e8f2d1caeedf8b90 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ skipsdist = true
 [testenv:docs]
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    sphinx-build -W --keep-going -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
 deps = -rdocs/requirements.txt