diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-04-14 10:44:17 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-06-03 09:36:24 +0200 |
commit | b65a267fe758132043735d4392ed0612f28cd0a4 (patch) | |
tree | 00bc6afe6c3fd01183b4fc8140347ed0be601b0d | |
parent | f7c869afbf82bdb08169c40d84b65bec2f192e4a (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
(cherry picked from commit ae03e543e4bf09b4b2dc9e4274cd8d66e2babc82)
-rw-r--r-- | docs/requirements-docs.txt | 16 | ||||
-rw-r--r-- | docs/tox.ini | 5 |
2 files changed, 6 insertions, 15 deletions
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 9c3391a..3b3441a 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,15 +1,3 @@ -tox -Sphinx -doc8 -docutils -setuptools -six -sphinx_rtd_theme>=0.4.3 -sphinxcontrib-blockdiag -sphinxcontrib-needs==0.5.6 -sphinxcontrib-nwdiag -sphinxcontrib-seqdiag -sphinxcontrib-swaggerdoc -sphinxcontrib-plantuml -sphinx_bootstrap_theme 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..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" |