Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = docs, |
| 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
| 7 | basepython = python3 |
| 8 | deps = -r{toxinidir}/requirements-docs.txt |
lukegleeson | 1582202 | 2021-09-30 09:55:21 +0100 | [diff] [blame] | 9 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt |
| 10 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 11 | commands = |
| 12 | sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
| 13 | echo "Generated docs available in {toxinidir}/_build/html" |
| 14 | whitelist_externals = |
| 15 | echo |
| 16 | git |
| 17 | sh |
| 18 | |
| 19 | [testenv:docs-linkcheck] |
| 20 | basepython = python3 |
lukegleeson | 1582202 | 2021-09-30 09:55:21 +0100 | [diff] [blame] | 21 | deps = -r{toxinidir}/requirements-docs.txt |
| 22 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt |
| 23 | -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt |
Rishi.Chail | 5272dca | 2021-02-23 12:14:24 +0000 | [diff] [blame] | 24 | commands = echo "Link Checking not enforced" |
| 25 | #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
| 26 | whitelist_externals = echo |