[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/classmodule -
configure.zcml:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Mar 28 18:39:57 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/apidoc/classmodule
In directory cvs.zope.org:/tmp/cvs-serv22238/src/zope/app/apidoc/classmodule
Modified Files:
configure.zcml
Log Message:
Adjust directives to use new template files.
Views moved to module and class objects directly.
=== Zope3/src/zope/app/apidoc/classmodule/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/apidoc/classmodule/configure.zcml:1.1 Thu Feb 19 15:46:40 2004
+++ Zope3/src/zope/app/apidoc/classmodule/configure.zcml Sun Mar 28 18:39:56 2004
@@ -2,8 +2,17 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
+ <class class=".Module">
+ <allow interface=".IModuleDocumentation" />
+ </class>
+
+ <class class=".Class">
+ <allow interface=".IClassDocumentation" />
+ </class>
+
<class class=".ClassModule">
<allow interface="zope.app.apidoc.interfaces.IDocumentationModule" />
+ <allow interface=".IModuleDocumentation" />
<allow attributes="rootModules" />
</class>
@@ -15,21 +24,22 @@
<browser:page
for=".ClassModule"
permission="zope.View"
+ class=".browser.Menu"
name="menu.html"
template="menu.pt" />
<browser:page
- for=".ClassModule"
+ for=".Class"
permission="zope.View"
class=".browser.ClassDetails"
name="index.html"
- template="index.pt" />
+ template="class_index.pt" />
<browser:page
- for=".ClassModule"
+ for=".Module"
permission="zope.View"
class=".browser.ModuleDetails"
- name="browser.html"
- template="browser.pt" />
+ name="index.html"
+ template="module_index.pt" />
</configure>
More information about the Zope3-Checkins
mailing list