Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 3 | envlist = |
| 4 | docs, |
| 5 | docs-linkcheck, |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 6 | skipsdist = true |
| 7 | |
| 8 | [testenv:docs] |
Cédric Ollivier | aa00b4c | 2022-08-31 21:13:53 +0200 | [diff] [blame] | 9 | basepython = python3.8 |
Cédric Ollivier | ccd5040 | 2021-10-22 10:29:25 +0200 | [diff] [blame] | 10 | deps = |
| 11 | -r{toxinidir}/requirements-docs.txt |
thmsdt | 1e37e19 | 2024-02-27 11:28:17 +0100 | [diff] [blame] | 12 | -chttps://releases.openstack.org/constraints/upper/yoga |
Cédric Ollivier | ccd5040 | 2021-10-22 10:29:25 +0200 | [diff] [blame] | 13 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 14 | commands = |
Dan Timoney | a9cc0c3 | 2023-03-30 20:32:17 -0400 | [diff] [blame] | 15 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 16 | echo "Generated docs available in {toxinidir}/_build/html" |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 17 | allowlist_externals = |
Jessica Wagantall | 449c8be | 2020-02-06 13:25:49 -0800 | [diff] [blame] | 18 | echo |
| 19 | git |
| 20 | sh |
| 21 | |
| 22 | [testenv:docs-linkcheck] |
Cédric Ollivier | aa00b4c | 2022-08-31 21:13:53 +0200 | [diff] [blame] | 23 | basepython = python3.8 |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 24 | deps = -r{toxinidir}/requirements-docs.txt |
PatrikBuhr | 9f1d949 | 2023-04-17 13:00:15 +0200 | [diff] [blame] | 25 | commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
| 26 | allowlist_externals = echo |
marineMD | ed0b182 | 2022-11-14 15:46:34 +0100 | [diff] [blame] | 27 | |
| 28 | [testenv:docs-spellcheck] |
| 29 | basepython = python3.8 |
| 30 | deps = |
| 31 | -r{toxinidir}/requirements-docs.txt |
thmsdt | 1e37e19 | 2024-02-27 11:28:17 +0100 | [diff] [blame] | 32 | -chttps://releases.openstack.org/constraints/upper/yoga |
marineMD | ed0b182 | 2022-11-14 15:46:34 +0100 | [diff] [blame] | 33 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
| 34 | commands = |
| 35 | sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |