As part of tox docs and docs-travis target, validate syntax in the
CHANGES.rst file and make sure it's correct.
@@ -33,8 +33,10 @@ deps = sphinx
pysphere
backports.ssl_match_hostname
lockfile
+ rstcheck
changedir = docs
-commands = python ../contrib/generate_provider_feature_matrix_table.py
+commands = rstcheck --report warning ../CHANGES.rst
+ python ../contrib/generate_provider_feature_matrix_table.py
sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
@@ -46,8 +48,10 @@ deps = sphinx
pysphere
backports.ssl_match_hostname
lockfile
+ rstcheck
changedir = docs
-commands = python ../contrib/generate_provider_feature_matrix_table.py
+commands = rstcheck --report warning ../CHANGES.rst
+ python ../contrib/generate_provider_feature_matrix_table.py
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
