Rich Bennett | 22ef085 | 2017-07-19 18:05:55 -0400 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
Rich Bennett | 3beeced | 2017-09-18 10:01:25 -0400 | [diff] [blame] | 3 | envlist = docs |
Rich Bennett | 22ef085 | 2017-07-19 18:05:55 -0400 | [diff] [blame] | 4 | skipsdist = true |
| 5 | |
| 6 | [testenv:docs] |
| 7 | deps = -r{toxinidir}/etc/requirements.txt |
| 8 | commands = |
Rich Bennett | 79a88c7 | 2017-09-29 17:15:30 -0400 | [diff] [blame] | 9 | sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
Rich Bennett | 22ef085 | 2017-07-19 18:05:55 -0400 | [diff] [blame] | 10 | echo "Generated docs available in {toxinidir}/docs/_build/html" |
| 11 | whitelist_externals = echo |
| 12 | |
| 13 | [testenv:docs-linkcheck] |
| 14 | deps = -r{toxinidir}/etc/requirements.txt |
Rich Bennett | 79a88c7 | 2017-09-29 17:15:30 -0400 | [diff] [blame] | 15 | commands = sphinx-build -j 4 -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |