[Zope3-checkins] CVS: Zope3/utilities - makezcmldocs.py:1.7
Jim Fulton
jim@zope.com
Fri, 21 Mar 2003 15:54:04 -0500
Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv17651/utilities
Modified Files:
makezcmldocs.py
Log Message:
Commented out documentation of the handler function because the
location of the function wasn't given.
=== Zope3/utilities/makezcmldocs.py 1.6 => 1.7 ===
--- Zope3/utilities/makezcmldocs.py:1.6 Fri Dec 27 18:31:06 2002
+++ Zope3/utilities/makezcmldocs.py Fri Mar 21 15:54:02 2003
@@ -105,7 +105,8 @@
path, handlerstring = handlerData(handler,md)
if path:
curpath = path
- outfile.write("%s%s (%s)\n\n" % (' '*level, name, handlerstring))
+ outfile.write("%sZCML %s directive\n\n" % (' '*level, name))
+
initial = ' '*(level+2)
initial4 = ' '*(level+4)
@@ -142,6 +143,10 @@
if subdir==_metadataKey: continue
subs, handler = registry[subdir]
printdirective(outfile, subdir, handler, subs, level+4)
+
+# The function without a module name is useless.
+## outfile.write("%s (This directive is handled by by %s. %s)\n\n"
+## % (' '*level, handlerstring, curpath))
def run(argv=sys.argv):