From 65814f87d5fff167528455e29edc8bf99c2e3575 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 7 Jul 2016 15:08:21 +0200 Subject: make tox check sphinx --- docs/source/conf.py | 4 ++-- 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 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 -- cgit v1.2.3