X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=1fdc85bea20de343ab1860bb84863a995492772e;hb=816e2e0671ecd9cb003da2e7dd88af7db34a3f43;hp=ccedab79c6b5711e03ec58a6b8536441e65673f0;hpb=1b8f973bf0c08d9366da311c6094a2a5fa3a17b5;p=doc.git diff --git a/tox.ini b/tox.ini index ccedab79c..1fdc85bea 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = docs,docs-linkcheck 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 @@ -18,19 +18,19 @@ whitelist_externals = 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 @@ -44,7 +44,7 @@ whitelist_externals = 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 @@ -52,7 +52,7 @@ deps = 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