3 envlist = docs,docs-linkcheck
9 -r{toxinidir}/requirements-docs.txt
10 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
11 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
13 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
14 echo "Generated docs available in {toxinidir}/_build/html"
20 [testenv:docs-linkcheck]
21 basepython = python3.8
23 -r{toxinidir}/requirements-docs.txt
24 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
25 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
27 sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
29 #deps = -r{toxinidir}/requirements-docs.txt
30 #commands = echo "Link Checking not enforced"
31 #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
32 #whitelist_externals = echo