From 03ad4d00210c60e2232402d2ba8ca179b772bc94 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 11 Dec 2020 08:39:54 +0100 Subject: [PATCH] [COMMON] Remove parallelism in doc linting `sphinxcontrib.needs` is not safe for parallel work and thus a warning is set during linting which makes it fail. We then remove the parallelism for sphinx here. Issue-ID: OOM-2648 Signed-off-by: Sylvain Desbureaux Change-Id: I820e63fee78578794c96c3ff9867c4ecc56ba50e --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index fa189761d4..c685a3fdd2 100644 --- a/tox.ini +++ b/tox.ini @@ -17,11 +17,11 @@ commands = [testenv:docs] deps = -rdocs/requirements-docs.txt commands = - sphinx-build -j auto -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:docs-linkcheck] deps = -rdocs/requirements-docs.txt -commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck +commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck [testenv:gitlint] basepython = python3 -- 2.16.6