demx8as6 | 2493dbc | 2019-11-13 23:57:47 +0100 | [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 | basepython = python3 |
Martin Skorupski | 145cb1d | 2023-05-06 17:25:08 +0200 | [diff] [blame^] | 11 | deps = -r{toxinidir}/docs/requirements-docs.txt |
| 12 | |
demx8as6 | 2493dbc | 2019-11-13 23:57:47 +0100 | [diff] [blame] | 13 | commands = |
| 14 | sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
| 15 | echo "Generated docs available in {toxinidir}/docs/_build/html" |
Martin Skorupski | 5edb57e | 2023-05-06 17:16:02 +0200 | [diff] [blame] | 16 | allowlist_externals = echo |
demx8as6 | 2493dbc | 2019-11-13 23:57:47 +0100 | [diff] [blame] | 17 | |
| 18 | [testenv:docs-linkcheck] |
| 19 | basepython = python3 |
Martin Skorupski | 145cb1d | 2023-05-06 17:25:08 +0200 | [diff] [blame^] | 20 | deps = -r{toxinidir}/docs/requirements-docs.txt |
demx8as6 | 2493dbc | 2019-11-13 23:57:47 +0100 | [diff] [blame] | 21 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |