[Checkins]
SVN: grok/branches/neanderthal-reference-documentation/doc/reference/core.rst
Moved the grok.grok function to functions.rst,
which made this file redundant
Luciano Ramalho
luciano at ramalho.org
Tue Oct 2 10:49:06 EDT 2007
Log message for revision 80493:
Moved the grok.grok function to functions.rst, which made this file redundant
Changed:
D grok/branches/neanderthal-reference-documentation/doc/reference/core.rst
-=-
Deleted: grok/branches/neanderthal-reference-documentation/doc/reference/core.rst
===================================================================
--- grok/branches/neanderthal-reference-documentation/doc/reference/core.rst 2007-10-02 13:49:50 UTC (rev 80492)
+++ grok/branches/neanderthal-reference-documentation/doc/reference/core.rst 2007-10-02 14:49:06 UTC (rev 80493)
@@ -1,45 +0,0 @@
-
-****
-Core
-****
-
-The :mod:`grok` module defines a few functions to interact with grok itself.
-
-
-:func:`grok.grok` -- Grok a package or module
-=============================================
-
-
-.. function:: grok(dotted_name)
-
- Grokking a package or module activates the contained components (like models,
- views, adapters, templates, etc.) and registers them with Zope 3's component
- architecture.
-
- The `dotted_name` must specify either a Python module or package that is
- available from the current PYTHONPATH.
-
- Grokking a module:
-
-#. Scan the module for known components: models, adapters, utilities, views,
- traversers, templates and subscribers.
-
-#. Check whether a directory with file system templates exists
- (:file:`<modulename>_templates`). If it exists, load the file system templates
- into the template registry for this module.
-
-#. Determine the module context.
-
-#. Register all components with the Zope 3 component architecture.
-
-#. Initialize schemata for registered models
-
- Grokking a package:
-
-#. Grok the package as a module.
-
-#. Check for a static resource directory (:file:`static`) and register it if it
- exists.
-
-#. Recursively grok all sub-modules and sub-packages.
-
More information about the Checkins
mailing list