blob: c685a3fdd2db781392e16e9937ae7751eb85204b [file] [log] [blame]
Sylvain Desbureaux3c393e52020-12-07 09:15:19 +01001[tox]
2minversion = 1.6
3envlist =
Sylvain Desbureauxec07bca2020-12-09 10:13:42 +01004 docs,
5 docs-linkcheck,
Sylvain Desbureaux3c393e52020-12-07 09:15:19 +01006 gitlint,
7skipsdist=true
8
Sylvain Desbureauxec07bca2020-12-09 10:13:42 +01009[doc8]
10ignore-path-errors=docs/helm-search.txt;D001
11
12[testenv:doc8]
13deps = -rdocs/requirements-docs.txt
14commands =
15 doc8 docs/
16
17[testenv:docs]
18deps = -rdocs/requirements-docs.txt
19commands =
Sylvain Desbureaux03ad4d02020-12-11 08:39:54 +010020 sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
Sylvain Desbureauxec07bca2020-12-09 10:13:42 +010021
22[testenv:docs-linkcheck]
23deps = -rdocs/requirements-docs.txt
Sylvain Desbureaux03ad4d02020-12-11 08:39:54 +010024commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
Sylvain Desbureauxec07bca2020-12-09 10:13:42 +010025
Sylvain Desbureaux3c393e52020-12-07 09:15:19 +010026[testenv:gitlint]
27basepython = python3
28deps =
29 gitlint
30
31commands =
32 gitlint
33