Sylvain Desbureaux | 3c393e5 | 2020-12-07 09:15:19 +0100 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | envlist = |
Sylvain Desbureaux | ec07bca | 2020-12-09 10:13:42 +0100 | [diff] [blame] | 4 | docs, |
| 5 | docs-linkcheck, |
Sylvain Desbureaux | 3c393e5 | 2020-12-07 09:15:19 +0100 | [diff] [blame] | 6 | gitlint, |
| 7 | skipsdist=true |
| 8 | |
Sylvain Desbureaux | ec07bca | 2020-12-09 10:13:42 +0100 | [diff] [blame] | 9 | [doc8] |
| 10 | ignore-path-errors=docs/helm-search.txt;D001 |
| 11 | |
| 12 | [testenv:doc8] |
| 13 | deps = -rdocs/requirements-docs.txt |
| 14 | commands = |
| 15 | doc8 docs/ |
| 16 | |
| 17 | [testenv:docs] |
| 18 | deps = -rdocs/requirements-docs.txt |
| 19 | commands = |
Sylvain Desbureaux | 03ad4d0 | 2020-12-11 08:39:54 +0100 | [diff] [blame] | 20 | sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html |
Sylvain Desbureaux | ec07bca | 2020-12-09 10:13:42 +0100 | [diff] [blame] | 21 | |
| 22 | [testenv:docs-linkcheck] |
| 23 | deps = -rdocs/requirements-docs.txt |
Sylvain Desbureaux | 03ad4d0 | 2020-12-11 08:39:54 +0100 | [diff] [blame] | 24 | commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck |
Sylvain Desbureaux | ec07bca | 2020-12-09 10:13:42 +0100 | [diff] [blame] | 25 | |
Sylvain Desbureaux | 3c393e5 | 2020-12-07 09:15:19 +0100 | [diff] [blame] | 26 | [testenv:gitlint] |
| 27 | basepython = python3 |
| 28 | deps = |
| 29 | gitlint |
| 30 | |
| 31 | commands = |
| 32 | gitlint |
| 33 | |