[Checkins] SVN: zope.interface/trunk/ Automate build of Sphinx HTML docs and running doctest snippets via tox.
Tres Seaver
cvs-admin at zope.org
Wed May 9 03:22:50 UTC 2012
Log message for revision 125744:
Automate build of Sphinx HTML docs and running doctest snippets via tox.
Changed:
U zope.interface/trunk/CHANGES.txt
U zope.interface/trunk/tox.ini
-=-
Modified: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt 2012-05-09 03:19:10 UTC (rev 125743)
+++ zope.interface/trunk/CHANGES.txt 2012-05-09 03:22:47 UTC (rev 125744)
@@ -4,6 +4,8 @@
4.0.0a1 (unreleased)
--------------------
+- Automated build of Sphinx HTML docs and running doctest snippets via tox.
+
- Deprecated the "class advice" APIs from ``zope.interface.declarations``:
``implements``, ``implementsOnly``, and ``classProvides``. In their place,
prefer the equivalent class decorators: ``@implementer``,
Modified: zope.interface/trunk/tox.ini
===================================================================
--- zope.interface/trunk/tox.ini 2012-05-09 03:19:10 UTC (rev 125743)
+++ zope.interface/trunk/tox.ini 2012-05-09 03:22:47 UTC (rev 125744)
@@ -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 =
@@ -26,3 +26,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 =
+ Sphinx
+ repoze.sphinx.autointerface
More information about the checkins
mailing list