blob: 64af58bec3e3abb26bec271954d54b9fe0289793 [file] [log] [blame]
Jessica Wagantalld4c19a92020-02-06 14:52:21 -08001[tox]
2minversion = 1.6
3envlist = docs,
4skipsdist = true
5
6[testenv:docs]
Cédric Olliviere1930a62022-08-31 21:23:18 +02007basepython = python3.8
Eric Debeauea5c42a2021-09-29 21:28:28 +02008deps =
9 -r{toxinidir}/requirements-docs.txt
Cédric Olliviere1930a62022-08-31 21:23:18 +020010 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
Eric Debeauea5c42a2021-09-29 21:28:28 +020011 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Jessica Wagantalld4c19a92020-02-06 14:52:21 -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 Olliviere1930a62022-08-31 21:23:18 +020021basepython = python3.8
Eric Debeauea5c42a2021-09-29 21:28:28 +020022deps =
23 -r{toxinidir}/requirements-docs.txt
Cédric Olliviere1930a62022-08-31 21:23:18 +020024 -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
Eric Debeauea5c42a2021-09-29 21:28:28 +020025 -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
Jessica Wagantalld4c19a92020-02-06 14:52:21 -080026commands = echo "Link Checking not enforced"
27#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
Cédric Olliviere1930a62022-08-31 21:23:18 +020028whitelist_externals = echo