CI: Decrease Sphinx tox profiles logs verbosity 29/67829/1
authorGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 27 May 2021 19:23:54 +0000 (21:23 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 27 May 2021 19:26:05 +0000 (21:26 +0200)
Docs and docs-linkcheck tox profiles are using Sphinx that generates
very verbose logs by default.
Sphinx -q quiet option allows to display only errors and warnings.
Using this option will ease potential gate failures analysis.

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I55c587f2e17625f71e13197ab6f46bf470478738

tox.ini

diff --git a/tox.ini b/tox.ini
index ca02a4f..88c59d6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -18,13 +18,13 @@ commands =
 basepython = python3
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -j auto --keep-going -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+    sphinx-build -q -j auto --keep-going -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -j auto --keep-going -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+    sphinx-build -q -j auto --keep-going -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:pre-commit]
 basepython = python3