blob: a3520183c101ce8121412f37781c9f5a5bc28d0b [file] [log] [blame]
Rich Bennett22ef0852017-07-19 18:05:55 -04001[tox]
2minversion = 1.6
Rich Bennett3beeced2017-09-18 10:01:25 -04003envlist = docs
Rich Bennett22ef0852017-07-19 18:05:55 -04004skipsdist = true
5
6[testenv:docs]
7deps = -r{toxinidir}/etc/requirements.txt
8commands =
Rich Bennett79a88c72017-09-29 17:15:30 -04009 sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
Rich Bennett22ef0852017-07-19 18:05:55 -040010 echo "Generated docs available in {toxinidir}/docs/_build/html"
11whitelist_externals = echo
12
Cédric Ollivier268209c2017-11-10 11:31:53 +010013[testenv:local]
14deps = -r{toxinidir}/etc/requirements.txt
15commands =
16 git submodule update --depth 1 --init
17 sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
18 echo "Generated docs available in {toxinidir}/docs/_build/html"
19whitelist_externals =
20 echo
21 git
22
Rich Bennett22ef0852017-07-19 18:05:55 -040023[testenv:docs-linkcheck]
24deps = -r{toxinidir}/etc/requirements.txt
Rich Bennett79a88c72017-09-29 17:15:30 -040025commands = sphinx-build -j 4 -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck