blob: 6e1245c7da7cf61f46a0b8ea4218298ec3dda90e [file] [log] [blame]
Jessica Wagantall8d66fe82020-02-06 15:08:47 -08001[tox]
2minversion = 1.6
efiacor248a9f12022-10-25 11:46:34 +01003envlist = docs,docs-linkcheck,docs-spellcheck
Jessica Wagantall8d66fe82020-02-06 15:08:47 -08004skipsdist = true
5
6[testenv:docs]
efiacor248a9f12022-10-25 11:46:34 +01007basepython = python3.8
8deps =
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
Jessica Wagantall8d66fe82020-02-06 15:08:47 -080012commands =
efiacor248a9f12022-10-25 11:46:34 +010013 sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
Jessica Wagantall8d66fe82020-02-06 15:08:47 -080014
15[testenv:docs-linkcheck]
efiacor248a9f12022-10-25 11:46:34 +010016basepython = python3.8
17deps =
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
32