blob: 8a8d0a419460431370982ee2d82ba0e1e3efce1e [file] [log] [blame]
Juha Hyttinen1615bb52019-11-25 09:46:53 +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