Initialize readthedocs documentation for integration/packaging
[integration/packaging.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ace2b542b5b14b69a2afc5f34a656e277a1e8543..df8d7a91b2005c964c9fbfa4bd05f5bee529c4d8 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,12 @@
 [tox]
 minversion = 1.6.0
-envlist = pep8
+envlist = docs,pep8
 skipsdist = true
 
+[testenv:docs]
+deps = sphinx
+commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
 [testenv:pep8]
 deps = flake8
 commands = flake8
@@ -13,4 +17,4 @@ show-pep8 = True
 statistics = True
 max-line-length = 100
 verbose = 1
-exclude = .git,__pycache__,.vagrant
+exclude = docs/conf.py,.git,__pycache__,.vagrant