summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-07-07 15:08:21 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2016-07-07 15:10:26 +0200
commit65814f87d5fff167528455e29edc8bf99c2e3575 (patch)
treea5ac91bf094bab1bc2463e2740b2e7f968f3e555
parenta358b8faab78e6b0204a371d06c73224c21778b3 (diff)
make tox check sphinx
-rw-r--r--docs/source/conf.py4
-rw-r--r--tox.ini9
2 files changed, 10 insertions, 3 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 75abc8b..452c309 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -148,8 +148,8 @@ html_theme = 'alabaster'
# html_logo = None
# The name of an image file (relative to this directory) to use as a favicon of
-# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
+# the docs. This file should be a Windows icon file (.ico) being 16x16 or
+# 32x32 pixels large.
#
# html_favicon = None
diff --git a/tox.ini b/tox.ini
index 5dd88f0..3da07df 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ envlist = py27, py35, pypy
[testenv]
commands = py.test --pep8
-# TODO get from requirements?
+
deps =
pytest
pytest-pep8
@@ -17,3 +17,10 @@ deps =
six
gnupg
zope.interface
+
+[testenv:doc]
+changedir=docs/source
+deps=sphinx
+commands = sphinx-build -W -b html \
+ -d {envtmpdir}/doctrees . \
+ {envtmpdir}/html