[Checkins] SVN: z3c.formjs/trunk/ add sphinx doc buildout and fix ReST errors.

Paul Carduner paulcarduner at gmail.com
Sun May 11 14:11:03 EDT 2008


Log message for revision 86657:
  add sphinx doc buildout and fix ReST errors.

Changed:
  U   z3c.formjs/trunk/buildout.cfg
  U   z3c.formjs/trunk/setup.py
  U   z3c.formjs/trunk/src/z3c/formjs/ajax.txt
  U   z3c.formjs/trunk/src/z3c/formjs/index.txt

-=-
Modified: z3c.formjs/trunk/buildout.cfg
===================================================================
--- z3c.formjs/trunk/buildout.cfg	2008-05-11 18:06:53 UTC (rev 86656)
+++ z3c.formjs/trunk/buildout.cfg	2008-05-11 18:11:01 UTC (rev 86657)
@@ -1,6 +1,6 @@
 [buildout]
 develop = .
-parts = test coverage
+parts = test coverage docs
 
 [test]
 recipe = zc.recipe.testrunner
@@ -10,3 +10,6 @@
 recipe = zc.recipe.egg
 eggs = z3c.coverage
 
+[docs]
+recipe = z3c.recipe.sphinxdoc
+eggs = z3c.formjs [docs]

Modified: z3c.formjs/trunk/setup.py
===================================================================
--- z3c.formjs/trunk/setup.py	2008-05-11 18:06:53 UTC (rev 86656)
+++ z3c.formjs/trunk/setup.py	2008-05-11 18:11:01 UTC (rev 86657)
@@ -66,13 +66,14 @@
     namespace_packages = ['z3c'],
     extras_require = dict(
         test = ['zope.testing', 'zope.app.testing', 'z3c.coverage'],
+        docs = ['Sphinx', 'z3c.recipe.sphinxdoc'],
         ),
     install_requires = [
         'jquery.layer',
         'setuptools',
         'z3c.form',
         'z3c.formui',
-	'z3c.traverser',
+        'z3c.traverser',
         'zope.app.pagetemplate',
         'zope.component',
         'zope.interface',

Modified: z3c.formjs/trunk/src/z3c/formjs/ajax.txt
===================================================================
--- z3c.formjs/trunk/src/z3c/formjs/ajax.txt	2008-05-11 18:06:53 UTC (rev 86656)
+++ z3c.formjs/trunk/src/z3c/formjs/ajax.txt	2008-05-11 18:11:01 UTC (rev 86657)
@@ -115,12 +115,12 @@
 traverser.  But if you provide the pluggable traverser as a view on the form,
 then using the @@ symbols to force a view lookup rather than a publishTraverse
 call will bypass BrowserPage's publishTraverse method.  In ZCML, the pluggable
-traverser gets registered as a named adatper like so:
+traverser gets registered as a named adatper like so::
 
   <adapter
       trusted="True"
       for=".interfaces.IFormTraverser
-	   zope.publisher.interfaces.browser.IBrowserRequest"
+           zope.publisher.interfaces.browser.IBrowserRequest"
       provides="zope.publisher.interfaces.browser.IBrowserPublisher"
       factory="z3c.traverser.browser.PluggableBrowserTraverser"
       permission="zope.Public"

Modified: z3c.formjs/trunk/src/z3c/formjs/index.txt
===================================================================
--- z3c.formjs/trunk/src/z3c/formjs/index.txt	2008-05-11 18:06:53 UTC (rev 86656)
+++ z3c.formjs/trunk/src/z3c/formjs/index.txt	2008-05-11 18:11:01 UTC (rev 86657)
@@ -6,9 +6,15 @@
 .. toctree::
    :maxdepth: 2
 
+   README
    jsaction
+   jsevent
+   jsfunction
+   ajax
+   jsclientevent
+   jswidget
    jsvalidator
-   jsevent
+   jsswitch
    jqueryrenderer
 
 Indices and tables



More information about the Checkins mailing list