Jessica Wagantall | 4dd6518 | 2020-02-06 14:59:20 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = docs, |
| 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
Cédric Ollivier | a79a5b6 | 2022-08-31 21:27:40 +0200 | [diff] [blame] | 7 | basepython = python3.8 |
Cédric Ollivier | 46b3742 | 2022-04-13 14:55:35 +0200 | [diff] [blame] | 8 | deps = |
| 9 | -r{toxinidir}/requirements-docs.txt |
Cédric Ollivier | a79a5b6 | 2022-08-31 21:27:40 +0200 | [diff] [blame] | 10 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
Cédric Ollivier | 46b3742 | 2022-04-13 14:55:35 +0200 | [diff] [blame] | 11 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt |
| 12 | whitelist_externals = |
| 13 | echo |
Jessica Wagantall | 4dd6518 | 2020-02-06 14:59:20 -0800 | [diff] [blame] | 14 | commands = |
| 15 | sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
| 16 | echo "Generated docs available in {toxinidir}/_build/html" |
Jessica Wagantall | 4dd6518 | 2020-02-06 14:59:20 -0800 | [diff] [blame] | 17 | |
| 18 | [testenv:docs-linkcheck] |
Cédric Ollivier | a79a5b6 | 2022-08-31 21:27:40 +0200 | [diff] [blame] | 19 | basepython = python3.8 |
Cédric Ollivier | 46b3742 | 2022-04-13 14:55:35 +0200 | [diff] [blame] | 20 | # 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 Wagantall | 4dd6518 | 2020-02-06 14:59:20 -0800 | [diff] [blame] | 24 | commands = echo "Link Checking not enforced" |
Cédric Ollivier | 46b3742 | 2022-04-13 14:55:35 +0200 | [diff] [blame] | 25 | # commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
Jessica Wagantall | 4dd6518 | 2020-02-06 14:59:20 -0800 | [diff] [blame] | 26 | whitelist_externals = echo |