Move to separate env
@@ -24,9 +24,14 @@ commands =
description = build readthedocs documentation
changedir = {toxinidir}/docs
commands =
- bash -c 'rstcheck `find **/*.rst | xargs`'
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
+[testenv:docs-lint]
+deps = -r{toxinidir}/requirements/lint.txt
+changedir = {toxinidir}/docs
+commands =
+ bash -c 'rstcheck `find **/*.rst | xargs`'
+
[testenv:lint]
description = run linter (prospector) to ensure the source code corresponds to our coding standards
deps = -r{toxinidir}/requirements/lint.txt
