efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = docs,docs-linkcheck,docs-spellcheck |
| 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
| 7 | basepython = python3.8 |
| 8 | deps = |
| 9 | -r{toxinidir}/requirements-docs.txt |
| 10 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 11 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 12 | allowlist_externals = sudo |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 13 | commands = |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 14 | sudo apt install graphviz |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 15 | sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html |
| 16 | |
| 17 | [testenv:docs-linkcheck] |
| 18 | basepython = python3.8 |
| 19 | deps = |
| 20 | -r{toxinidir}/requirements-docs.txt |
| 21 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 22 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 23 | allowlist_externals = sudo |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 24 | commands = |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 25 | sudo apt install graphviz |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 26 | sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck |
| 27 | |
| 28 | [testenv:docs-spellcheck] |
| 29 | basepython = python3.8 |
| 30 | deps = |
| 31 | -r{toxinidir}/requirements-docs.txt |
| 32 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 33 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 34 | allowlist_externals = sudo |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 35 | commands = |
Andreas Geissler | 691906d | 2023-09-25 10:57:56 +0200 | [diff] [blame^] | 36 | sudo apt install graphviz |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame] | 37 | sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |
| 38 | |