blob: e35f37500fab5336b7c4a9e0fb826d883e6912a5 [file] [log] [blame]
demx8as62493dbc2019-11-13 23:57:47 +01001# documentation only
2[tox]
3minversion = 2.0
4envlist =
5 docs,
6 docs-linkcheck,
7skipsdist = true
8
9[testenv:docs]
10basepython = python3
Martin Skorupski5edb57e2023-05-06 17:16:02 +020011deps =
demx8as62493dbc2019-11-13 23:57:47 +010012 sphinx
13 sphinx-rtd-theme
14 sphinxcontrib-httpdomain
15 recommonmark
16 lfdocs-conf
Martin Skorupski5edb57e2023-05-06 17:16:02 +020017
demx8as62493dbc2019-11-13 23:57:47 +010018commands =
19 sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
20 echo "Generated docs available in {toxinidir}/docs/_build/html"
Martin Skorupski5edb57e2023-05-06 17:16:02 +020021allowlist_externals = echo
demx8as62493dbc2019-11-13 23:57:47 +010022
23[testenv:docs-linkcheck]
24basepython = python3
25deps = sphinx
26 sphinx-rtd-theme
27 sphinxcontrib-httpdomain
28 recommonmark
29 lfdocs-conf
30commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck