[Zope3-checkins] CVS: Zope3/src/zope/configuration - README.txt:1.4
Jim Fulton
jim@zope.com
Thu, 31 Jul 2003 10:56:38 -0400
Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv10942/src/zope/configuration
Modified Files:
README.txt
Log Message:
Added a reference to zopeconfigure.py, which provides documentation on
writing a grouping configuration directive.
I still need to document writing nested directives.
=== Zope3/src/zope/configuration/README.txt 1.3 => 1.4 ===
--- Zope3/src/zope/configuration/README.txt:1.3 Wed Jul 30 10:43:07 2003
+++ Zope3/src/zope/configuration/README.txt Thu Jul 31 10:56:34 2003
@@ -48,7 +48,15 @@
directives. They are called with a context object which they adapt
to some interface that extends IConfigurationContext.
+ To learn how to create grouping directives, look at the
+ documentation in zopeconfigure.py, which provides the implementation
+ of the zope `configure` directive.
+
Other directives can be nested in grouping directives.
+
+ To learn how to implement nested directives, look at the
+ documentation in tests/test_nested.py (when it exists, which isn't
+ yet ;).
- Complex directives are directives that have subdirectives.
Subdirectives have handlers that are simply methods of complex