Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = docs, |
| 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
Cédric Ollivier | 9a28abf | 2022-08-31 21:24:46 +0200 | [diff] [blame^] | 7 | basepython = python3.8 |
Cédric Ollivier | 7088241 | 2021-10-21 18:36:15 +0200 | [diff] [blame] | 8 | deps = |
| 9 | -r{toxinidir}/requirements-docs.txt |
Cédric Ollivier | 9a28abf | 2022-08-31 21:24:46 +0200 | [diff] [blame^] | 10 | -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt |
Cédric Ollivier | 7088241 | 2021-10-21 18:36:15 +0200 | [diff] [blame] | 11 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt |
Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 12 | commands = |
| 13 | sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
| 14 | echo "Generated docs available in {toxinidir}/_build/html" |
| 15 | whitelist_externals = |
| 16 | echo |
| 17 | git |
| 18 | sh |
| 19 | |
| 20 | [testenv:docs-linkcheck] |
Cédric Ollivier | 9a28abf | 2022-08-31 21:24:46 +0200 | [diff] [blame^] | 21 | basepython = python3.8 |
Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 22 | #deps = -r{toxinidir}/requirements-docs.txt |
| 23 | commands = echo "Link Checking not enforced" |
| 24 | #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
| 25 | whitelist_externals = echo |