blob: ac3834886260de4db24a413c77438bf3d161a66f [file] [log] [blame]
Roni Riskaee366662019-11-13 08:33:12 +02001# documentation only
2[tox]
3minversion = 2.0
4envlist =
5 docs,
6 docs-linkcheck,
7skipsdist = true
8
9[testenv:docs]
10passenv =
11 http_proxy
12 https_proxy
13
14basepython = python3
15deps =
16 sphinx
17 sphinx-rtd-theme
18 sphinxcontrib-httpdomain
19 recommonmark
20 lfdocs-conf
21
22commands =
23 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
24 echo "Generated docs available in {toxinidir}/docs/_build/html"
25whitelist_externals = echo
26
27[testenv:docs-linkcheck]
28passenv =
29 http_proxy
30 https_proxy
31
32basepython = python3
33deps = sphinx
34 sphinx-rtd-theme
35 sphinxcontrib-httpdomain
36 recommonmark
37 lfdocs-conf
38commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck