summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 11:52:52 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 11:55:27 +0200
commit94da9fb94998f0fb6036abf8c57249b4db5af555 (patch)
treecf36bc2c6892503f88849e51402bf23af2a34860 /docs
parentd956fc6517944a04a5e0a57fe23c9a597d3ab65b (diff)
Add bounds to sphinx requirementistanbul
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: Iaca74630deefd3e5e5f3ccfe10789a12b7d36abe (cherry picked from commit 96b7714e5e6c66105567f039609c6cc726611565)
Diffstat (limited to 'docs')
-rw-r--r--docs/requirements-docs.txt2
-rw-r--r--docs/tox.ini5
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt
index 74a3b7a..3b3441a 100644
--- a/docs/requirements-docs.txt
+++ b/docs/requirements-docs.txt
@@ -1 +1,3 @@
lfdocs-conf
+sphinx>=4.2.0 # BSD
+sphinx-rtd-theme>=1.0.0 # MIT
diff --git a/docs/tox.ini b/docs/tox.ini
index edac8c3..bf9bc51 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=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
echo "Generated docs available in {toxinidir}/_build/html"