blob: f2f6b4a3c00672010f5fd65cbe51633c05e955f3 [file] [log] [blame]
Jessica Wagantall8e493212020-02-06 15:02:37 -08001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
7basepython = python3
Cédric Ollivierd6b0c102021-09-28 14:17:04 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
10 -c{toxinidir}/upper-constraints.os.txt
11 -c{toxinidir}/upper-constraints.onap.txt
Jessica Wagantall8e493212020-02-06 15:02:37 -080012commands =
13 sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
14 echo "Generated docs available in {toxinidir}/_build/html"
15whitelist_externals =
16 echo
17 git
18 sh
19
20[testenv:docs-linkcheck]
21basepython = python3
Cédric Ollivierd6b0c102021-09-28 14:17:04 +020022deps =
23 -r{toxinidir}/requirements-docs.txt
24 -c{toxinidir}/upper-constraints.os.txt
25 -c{toxinidir}/upper-constraints.onap.txt
Jessica Wagantall8e493212020-02-06 15:02:37 -080026commands = echo "Link Checking not enforced"
27#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
28whitelist_externals = echo