Docs check by tox - rstcheck
minversion = 2.6
envlist = py27-dj18, py34-dj19, py35-dj110, py36-dj111
# Explicit combinations can be tested even though are not listed in ALL:
-# `tox -e py35-dj110,py35-djdev
+# `tox -e py35-dj110,py35-djdev`
+# `tox -e docs` # test documentation
[testenv]
basepython =
@@ -44,6 +45,13 @@ setenv =
[testenv:py27-dj111]
[testenv:py36-djdev]
+[testenv:docs]
+basepython = python
+deps = rstcheck
+skip_install = True
+commands =
+ rstcheck README.rst
+
# === lint configurations (not tests) ===
[flake8]
max-line-length = 119
