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

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


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

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

-=-
Modified: zope.schema/trunk/CHANGES.txt
===================================================================
--- zope.schema/trunk/CHANGES.txt	2012-05-09 03:29:48 UTC (rev 125746)
+++ zope.schema/trunk/CHANGES.txt	2012-05-09 03:35:51 UTC (rev 125747)
@@ -5,6 +5,8 @@
 4.2.0 (unreleased)
 ------------------
 
+- Automated build of Sphinx HTML docs and running doctest snippets via tox.
+
 - Dropped explicit support for Python 3.1.
 
 - Introduce NativeString and NativeStringLine which are equal to Bytes and

Modified: zope.schema/trunk/tox.ini
===================================================================
--- zope.schema/trunk/tox.ini	2012-05-09 03:29:48 UTC (rev 125746)
+++ zope.schema/trunk/tox.ini	2012-05-09 03:35:51 UTC (rev 125747)
@@ -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]
 deps =
@@ -33,3 +33,13 @@
     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>=3.6.0
+    Sphinx



More information about the checkins mailing list