summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 10:44:17 +0200
committerkrishna moorthy <krishnamoorthy.manoharan@stl.tech>2022-05-12 05:34:50 +0000
commit2af169ac32b42d307693d1348b64318a56a75384 (patch)
treee5da9bc9f6de85b096e3e36489641a14c8ede8f2 /docs/tox.ini
parent32983266e1eeb8413171de4800bc808b65fa5bf7 (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). It also remove falsy concrete dependencies. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ibc03ee3a10301ba1b30dec1e3b7d2b64087a6f0f
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 edac8c3..42ffa68 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"