summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 11:06:42 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 11:06:42 +0200
commit958e3ca0796714081193a992d7134f16d54b47fe (patch)
tree5df8e536cf12479337e08b5b4c1558c989fc5da5 /docs/tox.ini
parentdec32c4cc1fde1e985901d47655a6afc100feae1 (diff)
Add bounds to sphinx requirement
As ONAP was created before Oct 20 2020 in RTD, we must set bounds to enforce a compatible Sphinx version (see manual). Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3c275b7d4b2116d813931be6b08c4bf2ea47edb1
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index edac8c35..42ffa687 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -5,7 +5,10 @@ skipsdist = true
[testenv:docs]
basepython = python3
-deps = -r{toxinidir}/requirements-docs.txt
+deps =
+ -r{toxinidir}/requirements-docs.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
echo "Generated docs available in {toxinidir}/_build/html"