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

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


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

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

-=-
Modified: zope.i18nmessageid/trunk/CHANGES.txt
===================================================================
--- zope.i18nmessageid/trunk/CHANGES.txt	2012-05-09 03:25:48 UTC (rev 125745)
+++ zope.i18nmessageid/trunk/CHANGES.txt	2012-05-09 03:29:48 UTC (rev 125746)
@@ -5,6 +5,8 @@
 4.0.0 (unreleased)
 ------------------
 
+- Automated build of Sphinx HTML docs and running doctest snippets via tox.
+
 - Removed use of '2to3' and associated fixers when installing under Py3k.
   The code is now in a "compatible subset" which supports Python 2.6, 2.7,
   and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language

Modified: zope.i18nmessageid/trunk/tox.ini
===================================================================
--- zope.i18nmessageid/trunk/tox.ini	2012-05-09 03:25:48 UTC (rev 125745)
+++ zope.i18nmessageid/trunk/tox.ini	2012-05-09 03:29:48 UTC (rev 125746)
@@ -3,7 +3,7 @@
 # Jython support pending 2.7 support, due 2012-07-15 or so.  See:
 # http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
 #   py26,py27,py32,jython,pypy,coverage
-    py26,py27,py32,pypy,coverage
+    py26,py27,py32,pypy,coverage,docs
 
 [testenv]
 commands = 
@@ -27,3 +27,12 @@
     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 =
+    Sphinx



More information about the checkins mailing list