diff options
author | 2021-10-21 18:44:38 +0200 | |
---|---|---|
committer | 2021-10-21 18:46:56 +0200 | |
commit | d132874fb78b78ffba397dd8c99d13abf467adbf (patch) | |
tree | 44e1c0d01d2828f5de0aabdf10a62dc822bee1fc | |
parent | 64671a53b08353f3698f1afc8fe1638f57555d29 (diff) |
Leverage upper-constraints files to pin all dependencies
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 <cedric.ollivier@orange.com>
Change-Id: If2b56476e9dad97b692a4e5143b15efc1a7787c3
(cherry picked from commit 8c23c98c827c95615e745e5a4860583f368e5eab)
-rw-r--r-- | docs/requirements-docs.txt | 16 | ||||
-rw-r--r-- | docs/tox.ini | 5 |
2 files changed, 5 insertions, 16 deletions
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 59387aa1..74a3b7a3 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,15 +1 @@ -tox -Sphinx==4.2.0 -doc8 -docutils -setuptools -six -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
\ No newline at end of file +lfdocs-conf 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" |