From 27eae1d7b1059024b8d506cb01e52a103e7c6ed9 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Fri, 14 Jun 2013 11:51:23 -0400 Subject: [PATCH] Build docs under tox. --- tox.ini | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b2df534..69295a2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py26,py27,py32,py33,pypy,cover + py26,py27,py32,py33,pypy,cover,docs [testenv] commands = @@ -14,3 +14,12 @@ commands = python setup.py nosetests --with-xunit --with-xcoverage deps = nosexcover + +[testenv:docs] +basepython = + python2.6 +commands = + sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html +# sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest +deps = + Sphinx