[Checkins] SVN: zope.exceptions/trunk/ Automate build of Sphinx HTML docs and running doctest snippets via tox.

Tres Seaver cvs-admin at zope.org
Wed May 9 03:14:38 UTC 2012


Log message for revision 125740:
  Automate build of Sphinx HTML docs and running doctest snippets via tox.
  

Changed:
  U   zope.exceptions/trunk/CHANGES.txt
  U   zope.exceptions/trunk/tox.ini

-=-
Modified: zope.exceptions/trunk/CHANGES.txt
===================================================================
--- zope.exceptions/trunk/CHANGES.txt	2012-05-08 23:03:59 UTC (rev 125739)
+++ zope.exceptions/trunk/CHANGES.txt	2012-05-09 03:14:34 UTC (rev 125740)
@@ -5,6 +5,8 @@
 4.0.0 (unreleased)
 ------------------
 
+- Automated build of Sphinx HTML docs and running doctest snippets via tox.
+
 - Added Sphinx documentation.
 
 - Added support for continuous integration using ``tox`` and ``jenkins``.

Modified: zope.exceptions/trunk/tox.ini
===================================================================
--- zope.exceptions/trunk/tox.ini	2012-05-08 23:03:59 UTC (rev 125739)
+++ zope.exceptions/trunk/tox.ini	2012-05-09 03:14:34 UTC (rev 125740)
@@ -29,3 +29,14 @@
     nose
     coverage
     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 =
+    zope.interface
+    Sphinx
+    repoze.sphinx.autointerface



More information about the checkins mailing list