blob: 643da6846eb0b4c19ed7a17f9ef042d31fa7624f [file] [log] [blame]
Jessica Wagantall6b71b532020-02-06 14:54:03 -08001[tox]
2minversion = 1.6
thmsdtee1f0742023-07-04 09:28:47 +02003envlist = docs,docs-linkcheck,docs-spellcheck
Jessica Wagantall6b71b532020-02-06 14:54:03 -08004skipsdist = true
5
6[testenv:docs]
Cédric Ollivier171ce632022-08-31 22:24:36 +02007basepython = python3.8
thmsdt2d697472021-11-30 11:41:31 +01008deps =
9 -r{toxinidir}/requirements-docs.txt
thmsdt30998082024-02-27 11:22:55 +010010 -chttps://releases.openstack.org/constraints/upper/yoga
thmsdtee1f0742023-07-04 09:28:47 +020011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
Jessica Wagantall6b71b532020-02-06 14:54:03 -080012commands =
thmsdtee1f0742023-07-04 09:28:47 +020013 sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
Jessica Wagantall6b71b532020-02-06 14:54:03 -080014
15[testenv:docs-linkcheck]
Cédric Ollivier171ce632022-08-31 22:24:36 +020016basepython = python3.8
thmsdt2d697472021-11-30 11:41:31 +010017deps =
18 -r{toxinidir}/requirements-docs.txt
thmsdt30998082024-02-27 11:22:55 +010019 -chttps://releases.openstack.org/constraints/upper/yoga
thmsdtee1f0742023-07-04 09:28:47 +020020 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
21commands =
22 sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
marineMD22f97cb2022-11-16 16:38:32 +010023
24[testenv:docs-spellcheck]
25basepython = python3.8
26deps =
27 -r{toxinidir}/requirements-docs.txt
thmsdt30998082024-02-27 11:22:55 +010028 -chttps://releases.openstack.org/constraints/upper/yoga
marineMD22f97cb2022-11-16 16:38:32 +010029 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
30commands =
thmsdtee1f0742023-07-04 09:28:47 +020031 sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck