blob: ce836cb6a2bd7d16541f64233d9ae7107765d989 [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
Cédric Ollivier171ce632022-08-31 22:24:36 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
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
Cédric Ollivier171ce632022-08-31 22:24:36 +020019 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
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
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
30commands =
thmsdtee1f0742023-07-04 09:28:47 +020031 sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck