From 77139ba2d37aebf820bd1f4acb043ec3ffeb0296 Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Fri, 5 Jul 2013 12:07:10 +0200 Subject: [PATCH] Add tox test for docs And ignore the warning about changelog_archive, it's really not meant to be in the toctree. --- docs/changelog_archive.rst | 2 ++ tox.ini | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/changelog_archive.rst b/docs/changelog_archive.rst index 994da58..2ad1653 100644 --- a/docs/changelog_archive.rst +++ b/docs/changelog_archive.rst @@ -1,3 +1,5 @@ +:orphan: + Archive of old changelog entries ================================ diff --git a/tox.ini b/tox.ini index c50b3ae..c2edccc 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist= py27-django15, py26-django14, py27-django14, + docs, [testenv] commands= @@ -43,3 +44,7 @@ basepython=python3.2 deps= django==1.5 +[testenv:docs] +changedir=docs +deps=Sphinx +commands=sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html