[Checkins] SVN: zope.configuration/branches/tseaver-test_cleanup/ Automate build of Sphinx HTML docs and running doctest snippets via tox.

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


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

Changed:
  U   zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt
  U   zope.configuration/branches/tseaver-test_cleanup/tox.ini

-=-
Modified: zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt	2012-05-09 05:51:04 UTC (rev 125754)
+++ zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt	2012-05-09 05:51:08 UTC (rev 125755)
@@ -5,6 +5,8 @@
 4.0.0 (unreleased)
 ------------------
 
+- Automated build of Sphinx HTML docs and running doctest snippets via tox.
+
 - Dropped hard testing dependency on ``zope.testing``.
 
 - Added explicit support for PyPy.

Modified: zope.configuration/branches/tseaver-test_cleanup/tox.ini
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/tox.ini	2012-05-09 05:51:04 UTC (rev 125754)
+++ zope.configuration/branches/tseaver-test_cleanup/tox.ini	2012-05-09 05:51:08 UTC (rev 125755)
@@ -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 =
@@ -39,3 +39,15 @@
     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
+    zope.event
+    Sphinx
+    repoze.sphinx.autointerface



More information about the checkins mailing list