[pkg] Add a tox env to build the documentation
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 12 Apr 2017 11:42:13 +0200
changeset 258 fc9d76402c13
parent 257 f20afa7acf9a
child 259 4685ff566984
[pkg] Add a tox env to build the documentation
tox.ini
--- a/tox.ini	Wed Apr 12 11:35:53 2017 +0200
+++ b/tox.ini	Wed Apr 12 11:42:13 2017 +0200
@@ -31,3 +31,10 @@
 max-line-length = 100
 max-complexity = 12
 exclude = setup.py,doc/conf.py,cubicweb_sherpa/migration/*,.tox/*
+
+[testenv:doc]
+skip_install = true
+changedir = doc
+deps =
+  sphinx
+commands = sphinx-build -b html -d doctrees .  html