blob: 49bbe0100ddb10ce689c80e5775f18ae38d03355 [file] [log] [blame]
Jessica Wagantall8e3363f2020-02-06 15:21:38 -08001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
Cédric Ollivier9a28abf2022-08-31 21:24:46 +02007basepython = python3.8
Cédric Ollivier70882412021-10-21 18:36:15 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Ollivier9a28abf2022-08-31 21:24:46 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
Cédric Ollivier70882412021-10-21 18:36:15 +020011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Jessica Wagantall8e3363f2020-02-06 15:21:38 -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]
Cédric Ollivier9a28abf2022-08-31 21:24:46 +020021basepython = python3.8
Jessica Wagantall8e3363f2020-02-06 15:21:38 -080022#deps = -r{toxinidir}/requirements-docs.txt
23commands = echo "Link Checking not enforced"
24#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
25whitelist_externals = echo