From: Guillaume Lambert Date: Fri, 7 May 2021 14:14:56 +0000 (+0200) Subject: CI: Decrease Sphinx tox profiles logs verbosity X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=0520e51ada2223d899e7bb6aea903085b3470d1b;p=releng%2Fdocs.git CI: Decrease Sphinx tox profiles logs verbosity Docs and docs-linkcheck tox profiles are using Sphinx that generates very verbose logs by default. Sphinx -q quiet option allow to display only errors and warnings. Using this option will ease potential gate failures analysis. Signed-off-by: Guillaume Lambert Change-Id: Ib6b4096df9cb58fe7ad46b790a8455fb4808e26e --- diff --git a/tox.ini b/tox.ini index b5837b4..e5a5f6e 100644 --- a/tox.ini +++ b/tox.ini @@ -19,12 +19,12 @@ commands = python {toxinidir}/check-best-practices.py basepython = python3 deps = -rrequirements.txt commands = - sphinx-build -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + sphinx-build -q -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:docs-linkcheck] basepython = python3 deps = -rrequirements.txt -commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +commands = sphinx-build -q -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck [testenv:pre-commit] basepython = python3