Roni Riska | df2cd95 | 2019-11-13 08:40:27 +0200 | [diff] [blame] | 1 | # documentation only |
| 2 | [tox] |
| 3 | minversion = 2.0 |
| 4 | envlist = |
| 5 | docs, |
| 6 | docs-linkcheck, |
| 7 | skipsdist = true |
| 8 | |
| 9 | [testenv:docs] |
| 10 | passenv = |
| 11 | http_proxy |
| 12 | https_proxy |
| 13 | |
| 14 | basepython = python3 |
| 15 | deps = |
| 16 | sphinx |
| 17 | sphinx-rtd-theme |
| 18 | sphinxcontrib-httpdomain |
| 19 | recommonmark |
| 20 | lfdocs-conf |
czichy | 205853c | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 21 | urllib3~=1.26.15 |
Roni Riska | df2cd95 | 2019-11-13 08:40:27 +0200 | [diff] [blame] | 22 | |
| 23 | commands = |
| 24 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
| 25 | echo "Generated docs available in {toxinidir}/docs/_build/html" |
czichy | 205853c | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 26 | allowlist_externals = echo |
Roni Riska | df2cd95 | 2019-11-13 08:40:27 +0200 | [diff] [blame] | 27 | |
| 28 | [testenv:docs-linkcheck] |
| 29 | passenv = |
| 30 | http_proxy |
| 31 | https_proxy |
| 32 | |
| 33 | basepython = python3 |
| 34 | deps = sphinx |
| 35 | sphinx-rtd-theme |
| 36 | sphinxcontrib-httpdomain |
| 37 | recommonmark |
| 38 | lfdocs-conf |
czichy | 205853c | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 39 | urllib3~=1.26.15 |
Roni Riska | df2cd95 | 2019-11-13 08:40:27 +0200 | [diff] [blame] | 40 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |