[Checkins] SVN: bluebream/website/docs/v1.0/manual/schema.rst show line number

Baiju M baiju.m.mail at gmail.com
Wed Apr 28 01:01:18 EDT 2010


Log message for revision 111514:
  show line number
  

Changed:
  U   bluebream/website/docs/v1.0/manual/schema.rst

-=-
Modified: bluebream/website/docs/v1.0/manual/schema.rst
===================================================================
--- bluebream/website/docs/v1.0/manual/schema.rst	2010-04-28 04:42:59 UTC (rev 111513)
+++ bluebream/website/docs/v1.0/manual/schema.rst	2010-04-28 05:01:18 UTC (rev 111514)
@@ -7,6 +7,8 @@
    Status <http://wiki.zope.org/bluebream/DocumentationStatus>`_ page
    in wiki for the current status and timeline.
 
+.. highlight:: python
+   :linenothreshold: 5
 
 Introduction
 ------------
@@ -42,8 +44,10 @@
 while the schema's fields represent the state.
 
 It is thus not necessary to develop a new syntax for writing schemas
-and we simply reuse the interface declaration::
+so, schema simply reuse the interface declaration.
 
+::
+
   from zope.interface import Interface
   from zope.schema import Text
 
@@ -54,7 +58,8 @@
           description=u"The text of the example.",
           required=True)
 
-- Line 2: All default fields can be simply imported from zope.schema.
+- Line 2: All default fields can be simply imported from
+  ``zope.schema``.
 
 - Line 7-8: The title and description are used as human-readable text
   for the form generation. Of course, they also serve as



More information about the checkins mailing list