From 4191492367c7684cdeebc47ce7cafd91d6074d3a Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Thu, 14 Apr 2022 10:17:43 +0200 Subject: [DOC] Add bounds to sphinx requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As ONAP was created before Oct 20 2020 in RTD, we must set bounds to enforce a compatible Sphinx version (see manual). It also removes useless deps and incorrect concrete deps. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier Change-Id: I83e36d4ff783b5b6b133abe700a55803fc930aaa (cherry picked from commit ace2a55c8d5c41de90f00162b45856870ad04c5d) --- docs/requirements-docs.txt | 12 +++--------- docs/tox.ini | 5 ++++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index edffc4b5..3b3441a8 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 edac8c35..bf9bc51f 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" -- cgit 1.2.3-korg