update link to upper-constraints.txt
[doc.git] / docs / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = docs,docs-linkcheck,docs-spellcheck
4 skipsdist = true
5
6 [testenv:docs]
7 basepython = python3.8
8 deps =
9     -r{toxinidir}/requirements-docs.txt
10     -chttps://releases.openstack.org/constraints/upper/yoga
11     -c{toxinidir}/../etc/upper-constraints.onap.txt
12 commands =
13     sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
14 allowlist_externals =
15     git
16     sh
17
18 [testenv:docs-linkcheck]
19 basepython = python3.8
20 deps =
21     -r{toxinidir}/requirements-docs.txt
22     -chttps://releases.openstack.org/constraints/upper/yoga
23     -c{toxinidir}/../etc/upper-constraints.onap.txt
24 commands = sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
25
26 [testenv:docs-spellcheck]
27 basepython = python3.8
28 deps =
29     -r{toxinidir}/requirements-docs.txt
30     -chttps://releases.openstack.org/constraints/upper/yoga
31     -c{toxinidir}/../etc/upper-constraints.onap.txt
32 commands =
33     sphinx-build -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck