Added requirements-docs.txt file
It now loads all centralized upper contraints from ONAP doc
Issue-ID: CPS-704
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Iee2db84f5b9b7a320cfdbcc11b7b8079971a64a4
--- /dev/null
+lfdocs-conf
\ No newline at end of file
[testenv:docs]
basepython = python3
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"
[testenv:docs-linkcheck]
basepython = python3
+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"
whitelist_externals =
echo