Add tox env to generate documentation
[multicloud/framework.git] / multivimbroker / tox.ini
index af3b3a5..1e54370 100644 (file)
@@ -32,3 +32,7 @@ deps = rstcheck
 whitelist_externals = bash
 commands = bash -c "find ../docs -not -path {toxinidir}/.tox/\* \
    -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
+
+[testenv:docs]
+deps = sphinx
+commands = sphinx-build -b html ../docs/ ../docs/html