blob: b9d7eb44b6a83884651385f7174c7ef0d6ab948c [file] [log] [blame]
Jessica Wagantalle05eb922020-02-06 15:07:46 -08001[tox]
2minversion = 1.6
MichaelMorrisd4a002d2022-11-08 14:14:18 +00003envlist = docs,docs-linkcheck,docs-spellcheck
Jessica Wagantalle05eb922020-02-06 15:07:46 -08004skipsdist = true
5
6[testenv:docs]
Cédric Ollivier3d22bd92022-08-31 22:18:30 +02007basepython = python3.8
Cédric Ollivierbdc400d2022-04-14 11:24:25 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Ollivier3d22bd92022-08-31 22:18:30 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
MichaelMorrisd4a002d2022-11-08 14:14:18 +000011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
Jessica Wagantalle05eb922020-02-06 15:07:46 -080012commands =
MichaelMorrisd4a002d2022-11-08 14:14:18 +000013 sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
Jessica Wagantalle05eb922020-02-06 15:07:46 -080014
15[testenv:docs-linkcheck]
Cédric Ollivier3d22bd92022-08-31 22:18:30 +020016basepython = python3.8
MichaelMorrisd4a002d2022-11-08 14:14:18 +000017deps =
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
21commands =
22 sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
23
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 =
31 sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck