Jessica Wagantall | 27843b5 | 2020-02-06 15:24:12 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = docs, |
| 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
| 7 | basepython = python3 |
Cédric Ollivier | 09051f1 | 2021-10-22 10:24:01 +0200 | [diff] [blame] | 8 | deps = |
| 9 | -r{toxinidir}/requirements-docs.txt |
Cédric Ollivier | b2cb07b | 2022-04-11 16:10:11 +0200 | [diff] [blame] | 10 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=jakarta |
| 11 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta |
Jessica Wagantall | 27843b5 | 2020-02-06 15:24:12 -0800 | [diff] [blame] | 12 | commands = |
| 13 | sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
| 14 | echo "Generated docs available in {toxinidir}/_build/html" |
| 15 | whitelist_externals = |
| 16 | echo |
| 17 | git |
| 18 | sh |
| 19 | |
| 20 | [testenv:docs-linkcheck] |
| 21 | basepython = python3 |
Cédric Ollivier | b2cb07b | 2022-04-11 16:10:11 +0200 | [diff] [blame] | 22 | deps = |
| 23 | -r{toxinidir}/requirements-docs.txt |
| 24 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=jakarta |
| 25 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta |
Jessica Wagantall | 27843b5 | 2020-02-06 15:24:12 -0800 | [diff] [blame] | 26 | commands = echo "Link Checking not enforced" |
| 27 | #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
| 28 | whitelist_externals = echo |