wahidw | 7b43586 | 2020-02-24 06:11:47 +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-httpdomain |
| 15 | recommonmark |
| 16 | lfdocs-conf |
czichy | 8861ed3 | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 17 | urllib3~=1.26.15 |
wahidw | 7b43586 | 2020-02-24 06:11:47 +0000 | [diff] [blame] | 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 | |
czichy | 8861ed3 | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 24 | allowlist_externals = echo |
wahidw | 7b43586 | 2020-02-24 06:11:47 +0000 | [diff] [blame] | 25 | |
| 26 | [testenv:docs-linkcheck] |
| 27 | basepython = python3 |
| 28 | deps = sphinx |
| 29 | sphinx-rtd-theme |
| 30 | sphinxcontrib-httpdomain |
| 31 | recommonmark |
| 32 | lfdocs-conf |
czichy | 8861ed3 | 2023-09-01 09:24:01 +0300 | [diff] [blame] | 33 | urllib3~=1.26.15 |
wahidw | 7b43586 | 2020-02-24 06:11:47 +0000 | [diff] [blame] | 34 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |