[Checkins]
SVN: Sandbox/ulif/grok-reference-with-rest2/doc/reference/components.rst
Fixed markup.
Uli Fouquet
uli at gnufix.de
Fri Jan 11 09:01:18 EST 2008
Log message for revision 82806:
Fixed markup.
Changed:
U Sandbox/ulif/grok-reference-with-rest2/doc/reference/components.rst
-=-
Modified: Sandbox/ulif/grok-reference-with-rest2/doc/reference/components.rst
===================================================================
--- Sandbox/ulif/grok-reference-with-rest2/doc/reference/components.rst 2008-01-11 13:56:52 UTC (rev 82805)
+++ Sandbox/ulif/grok-reference-with-rest2/doc/reference/components.rst 2008-01-11 14:01:17 UTC (rev 82806)
@@ -40,8 +40,8 @@
.. class:: grok.Adapter
- Base class to define an adapter. Adapters are automatically registered when a
- module is "grokked".
+ Base class to define an adapter. Adapters are automatically
+ registered when a module is "grokked".
.. attribute:: grok.Adapter.context
@@ -50,36 +50,37 @@
**Directives:**
:func:`grok.context(context_obj_or_interface)`
- Maybe required. Identifies the type of objects or interface for the adaptation.
+ Maybe required. Identifies the type of objects or interface for
+ the adaptation.
.. seealso::
- :function:`grok.context`
+ :func:`grok.context`
:func:`grok.implements(\*interfaces)`
Required. Identifies the interface(s) the adapter implements.
.. seealso::
- :function:`grok.implements`
+ :func:`grok.implements`
:func:`grok.name(name)`
- Optional. Identifies the name used for the adapter registration. If ommitted, no
- name will be used.
+ Optional. Identifies the name used for the adapter
+ registration. If ommitted, no name will be used.
When a name is used for the adapter registration, the adapter can only be
retrieved by explicitely using its name.
.. seealso::
- :function:`grok.name`
+ :func:`grok.name`
:func:`grok.provides(name)`
Maybe required.
.. seealso::
- :function:`grok.provides`
+ :func:`grok.provides`
**Example 1:** ::
@@ -228,9 +229,11 @@
.. seealso::
- Local utilities need to be registered in the context of :class:`grok.Site`
- or :class:`grok.Application` using the :func:`grok.local_utility` directive.
+ Local utilities need to be registered in the context of
+ :class:`grok.Site` or :class:`grok.Application` using the
+ :func:`grok.local_utility` directive.
+
:class:`grok.Site`
==================
@@ -240,7 +243,7 @@
:class:`grok.View`
==================
-:class:`grok.JSON
+:class:`grok.JSON`
==================
:class:`grok.XMLRPC`
@@ -302,6 +305,7 @@
:func:`grok.require`, :class:`grok.Permission`, :class:`grok.Role`
.. versionchanged:: 0.11
+
replaced by :class:`grok.Permission`.
:class:`Role`
More information about the Checkins
mailing list