diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-04-14 11:24:25 +0200 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-04-15 17:47:12 +0000 |
commit | bdc400de969cdfb72b1e681ca1f38161f4f5db57 (patch) | |
tree | 80786fc501bf68090317485a8b92245906d8526d | |
parent | f11e5722555c5bae025ae1afe028dfecba731ed7 (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
-rw-r--r-- | docs/requirements-docs.txt | 12 | ||||
-rw-r--r-- | docs/tox.ini | 5 |
2 files changed, 7 insertions, 10 deletions
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index edffc4b5d7..3b3441a807 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,9 +1,3 @@ -lfdocs-conf~=0.7.5 -funcparserlib~=1.0.0a0 -sphinxcontrib.blockdiag~=2.0.0 -sphinxcontrib-needs<0.6.0 -sphinxcontrib.plantuml~=0.21 -sphinxcontrib.nwdiag~=2.0.0 -sphinxcontrib-seqdiag~=2.0.0 -sphinxcontrib-swaggerdoc~=0.1.7 -sphinx-rtd-theme~=1.0.0 +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 edac8c35fc..42ffa68779 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" |