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 |
| 12 | commands = |
| 13 | sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html |
| 14 | |
| 15 | [testenv:docs-linkcheck] |
| 16 | basepython = python3.8 |
| 17 | deps = |
| 18 | -r{toxinidir}/requirements-docs.txt |
| 19 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 20 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
| 21 | commands = |
| 22 | sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck |
| 23 | |
| 24 | [testenv:docs-spellcheck] |
| 25 | basepython = python3.8 |
| 26 | deps = |
| 27 | -r{toxinidir}/requirements-docs.txt |
| 28 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
| 29 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master |
| 30 | commands = |
| 31 | sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck |
| 32 | |