aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-10-21 18:36:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-10-21 18:39:24 +0200
commit70882416c401fb59116696e25c5e869c66a7d13b (patch)
treec6fc7b52b5b4fb7942d08dd4fd1cd9f48a1b4730 /docs/tox.ini
parent4b24d08e0ffc227a5dca71069381041e28fe73cc (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: I093c8ccd7e6b7dfa453aa709e026aa7e1eae32b2
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini5
1 files changed, 4 insertions, 1 deletions
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"