summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authoryxpoke <yangxu5@huawei.com>2021-11-07 11:22:39 +0800
committeryxpoke <yangxu5@huawei.com>2021-11-07 11:22:39 +0800
commit4d57495feaba9a622f05a790e1a0ee71debac2d9 (patch)
treebade6d140855fef27b8236e0657f0dad85d52729 /docs/tox.ini
parent3aa63cadf528a3d0146464c5ba65ea308f638ec5 (diff)
[DOC] correct requirements for doc chain building
Issue-ID: DOC-765 Signed-off-by: yxpoke <yangxu5@huawei.com> Change-Id: I79560ace0aef752564f40fba7a18e6ebf3cc5219
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index edac8c3..caf9a75 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"
@@ -19,4 +22,4 @@ basepython = python3
#deps = -r{toxinidir}/requirements-docs.txt
commands = echo "Link Checking not enforced"
#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
-whitelist_externals = echo
+whitelist_externals = echo \ No newline at end of file