aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-11 08:39:54 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-11 08:39:54 +0100
commit03ad4d00210c60e2232402d2ba8ca179b772bc94 (patch)
treeb838627730b9ca441d63f9faae023f739c6fc2e3
parentc8493eb3a9b8080f4beb80cd6f5a46396520ee1e (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: I820e63fee78578794c96c3ff9867c4ecc56ba50e
-rw-r--r--tox.ini4
1 files 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