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