Jessica Wagantall | d4c19a9 | 2020-02-06 14:52:21 -0800 | [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 |
| 9 | commands = |
| 10 | sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html |
| 11 | echo "Generated docs available in {toxinidir}/_build/html" |
| 12 | whitelist_externals = |
| 13 | echo |
| 14 | git |
| 15 | sh |
| 16 | |
| 17 | [testenv:docs-linkcheck] |
| 18 | basepython = python3 |
| 19 | #deps = -r{toxinidir}/requirements-docs.txt |
| 20 | commands = echo "Link Checking not enforced" |
| 21 | #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck |
| 22 | whitelist_externals = echo |