summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 11:24:25 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-04-21 10:38:47 +0200
commit2ccf71cfd4302ef5b8406560dee47e5d1769154a (patch)
tree865f85679deb19ffaf6cedf56d093baa053823f6 /docs/tox.ini
parent8d04cd601e724b44ccb5490077fc3d03731ccaa9 (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 fixes all false concrete dependencies. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ie04403c3cdd407823c533aee85f566cf222dd8a5 (cherry picked from commit 94674dd1aa4772f2372569c71c1fe274319843c9)
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 edac8c35fc..d7ed91eacd 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?h=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
echo "Generated docs available in {toxinidir}/_build/html"