blob: edc90fdaa50618df2ed6c7689b38c8055eba61c7 [file] [log] [blame]
Jessica Wagantall4dd65182020-02-06 14:59:20 -08001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
Cédric Olliviera79a5b62022-08-31 21:27:40 +02007basepython = python3.8
Cédric Ollivier46b37422022-04-13 14:55:35 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Olliviera79a5b62022-08-31 21:27:40 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
Cédric Ollivier46b37422022-04-13 14:55:35 +020011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
12whitelist_externals =
13 echo
Jessica Wagantall4dd65182020-02-06 14:59:20 -080014commands =
15 sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
16 echo "Generated docs available in {toxinidir}/_build/html"
Jessica Wagantall4dd65182020-02-06 14:59:20 -080017
18[testenv:docs-linkcheck]
Cédric Olliviera79a5b62022-08-31 21:27:40 +020019basepython = python3.8
Cédric Ollivier46b37422022-04-13 14:55:35 +020020# deps =
21# -r{toxinidir}/requirements-docs.txt
22# -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
23# -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Jessica Wagantall4dd65182020-02-06 14:59:20 -080024commands = echo "Link Checking not enforced"
Cédric Ollivier46b37422022-04-13 14:55:35 +020025# commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
Jessica Wagantall4dd65182020-02-06 14:59:20 -080026whitelist_externals = echo