fix odl patches
[ccsdk/distribution.git] / docs / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = docs
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     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
12 commands =
13     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
14     echo "Generated docs available in {toxinidir}/_build/html"
15 allowlist_externals =
16     echo
17     git
18     sh
19
20 [testenv:docs-linkcheck]
21 basepython = python3.8
22 deps =
23     -r{toxinidir}/requirements-docs.txt
24     -chttps://releases.openstack.org/constraints/upper/yoga
25     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
26 commands = echo "Link Checking not enforced"
27 #commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
28 allowlist_externals = echo
29
30 [testenv:docs-spellcheck]
31 basepython = python3.8
32 deps =
33     -r{toxinidir}/requirements-docs.txt
34     -chttps://releases.openstack.org/constraints/upper/yoga
35     -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
36 commands =
37     sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck