From ccd5040e8af4cbf81534f3d68fe0fb935a5081cd Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 22 Oct 2021 10:29:25 +0200 Subject: Leverage upper-constraints files to pin all dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It leverages the latest change from lfdocs-conf and the upper-constraints.txt now centralized in ONAP docs. In a long run, upperconstraints.os.txt should be removed once ONAP is synced with OpenStack. It removes tox and setuptools from requirements as nothing depends on them (most requirements should be removed except lfdocsconf) Issue-ID: DOC-765 Signed-off-by: Cédric Ollivier Change-Id: I73e7342ecadeb2d7ec3cfac44efaf4dd87b09596 --- docs/requirements-docs.txt | 17 +---------------- docs/tox.ini | 5 ++++- 2 files changed, 5 insertions(+), 17 deletions(-) (limited to 'docs') diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index aeda4ee2..96c8de20 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,17 +1,2 @@ -tox -Sphinx>=2,<4 -doc8 -docutils -setuptools -six -sphinx-tabs -sphinx_rtd_theme>=0.4.3 -sphinxcontrib-blockdiag -sphinxcontrib-needs>=0.2.3 -sphinxcontrib-nwdiag -sphinxcontrib-seqdiag -sphinxcontrib-swaggerdoc -sphinxcontrib-plantuml -sphinx_bootstrap_theme +lfdocs-conf sphinxcontrib-redoc -lfdocs-conf \ No newline at end of file diff --git a/docs/tox.ini b/docs/tox.ini index edac8c35..42ffa687 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" -- cgit 1.2.3-korg