diff options
-rw-r--r-- | docs/source/conf.py | 4 | ||||
-rw-r--r-- | tox.ini | 9 |
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 @@ -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 |