summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorEric Debeau <eric.debeau@orange.com>2021-09-29 21:28:28 +0200
committerEric Debeau <eric.debeau@orange.com>2021-09-29 21:40:58 +0200
commitea5c42a971a88d4086e8e6b730a8c153a73180b3 (patch)
treeb4c43468e8a4e455e4361177b07da3ef912a2ca1 /docs/tox.ini
parentfc136f48fee017fee3028394c77a68702f1418b0 (diff)
[DOC] Correct requirements for doc chain building
- Remove unecessary requirements - It leverages the latest lfdocs-conf (0.7.7) updates - It now loads all centralized upper contraints from ONAP doc - Correct conf.py to use app.add_css_file() Issue-ID: DOC-765 Signed-off-by: Eric Debeau <eric.debeau@orange.com> Change-Id: I56d0372e56733850de9cc0d15a6355bc7af9e823
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index edac8c35..037606f5 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"
@@ -16,7 +19,10 @@ whitelist_externals =
[testenv:docs-linkcheck]
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 = 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