skipsdist = true
[testenv:docs]
-basepython = python3
+basepython = python3.8
deps =
-r{toxinidir}/etc/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
sh
[testenv:docs-templates]
-basepython = python3
+basepython = python3.8
deps =
-r{toxinidir}/etc/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
-c{toxinidir}/etc/upper-constraints.onap.txt
commands =
- sphinx-build -b html -n -d {envtmpdir}/doctrees -c {toxinidir}/docs ./docs/guides/onap-developer/how-to-use-docs/templates {toxinidir}/docs/_build/html/templates
+ sphinx-build -W -b html -n -d {envtmpdir}/doctrees -c {toxinidir}/docs ./docs/guides/onap-developer/how-to-use-docs/templates {toxinidir}/docs/_build/html/templates
echo "Generated docs available in {toxinidir}/docs/_build/html/templates"
whitelist_externals =
echo
[testenv:local]
-basepython = python3
+basepython = python3.8
deps =
-r{toxinidir}/etc/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
git
[testenv:docs-linkcheck]
-basepython = python3
+basepython = python3.8
deps =
-r{toxinidir}/etc/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
commands = sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
[testenv:spellcheck]
-basepython = python3
+basepython = python3.8
deps =
-r{toxinidir}/etc/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt