blob: d6e1c4bfa1082591e8b722f7ecf39a80f73d76b3 [file] [log] [blame]
Jessica Wagantall27843b52020-02-06 15:24:12 -08001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
7basepython = python3
Cédric Ollivier09051f12021-10-22 10:24:01 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Ollivierb2cb07b2022-04-11 16:10:11 +020010 -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=jakarta
11 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
Jessica Wagantall27843b52020-02-06 15:24:12 -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 Ollivierb2cb07b2022-04-11 16:10:11 +020022deps =
23 -r{toxinidir}/requirements-docs.txt
24 -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=jakarta
25 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
Jessica Wagantall27843b52020-02-06 15:24:12 -080026commands = echo "Link Checking not enforced"
27#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
28whitelist_externals = echo