wahidw | e6ee210 | 2021-03-29 04:22:36 +0000 | [diff] [blame] | 1 | [tox] |
2 | minversion = 2.0 | ||||
3 | envlist = | ||||
4 | docs, | ||||
5 | docs-linkcheck, | ||||
6 | |||||
7 | skipsdist = true | ||||
8 | |||||
9 | [testenv:docs] | ||||
10 | basepython = python3 | ||||
11 | deps = | ||||
12 | sphinx | ||||
13 | sphinx-rtd-theme | ||||
14 | sphinxcontrib-contentui | ||||
15 | sphinxcontrib-httpdomain | ||||
16 | recommonmark | ||||
17 | lfdocs-conf | ||||
18 | |||||
19 | commands = | ||||
20 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html | ||||
21 | |||||
22 | echo "Generated docs available in {toxinidir}/docs/_build/html" | ||||
23 | |||||
24 | whitelist_externals = echo | ||||
25 | |||||
26 | [testenv:docs-linkcheck] | ||||
27 | basepython = python3 | ||||
28 | deps = sphinx | ||||
29 | sphinx-rtd-theme | ||||
30 | sphinxcontrib-contentui | ||||
31 | sphinxcontrib-httpdomain | ||||
32 | recommonmark | ||||
33 | lfdocs-conf | ||||
34 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |