[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/viewmodule - configure.zcml:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 15 09:24:43 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/viewmodule
In directory cvs.zope.org:/tmp/cvs-serv9493/src/zope/app/apidoc/viewmodule

Modified Files:
	configure.zcml 
Log Message:


Register latest adapters from registrations objects to documentation ones.



Remove traces of usage.




=== Zope3/src/zope/app/apidoc/viewmodule/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/apidoc/viewmodule/configure.zcml:1.2	Sun Mar 28 18:42:07 2004
+++ Zope3/src/zope/app/apidoc/viewmodule/configure.zcml	Thu Apr 15 09:24:43 2004
@@ -1,37 +1,56 @@
 <configure
-  xmlns="http://namespaces.zope.org/zope"
-  xmlns:browser="http://namespaces.zope.org/browser">
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser">
 
   <class class=".ViewModule">
     <allow interface="zope.app.apidoc.interfaces.IDocumentationModule" />
-    <allow attributes="getSkins getLayersForSkin getSkinLayerMapping 
-                       getUsages"/>
+    <allow attributes="getSkins"/>
   </class>
 
   <utility
-    provides="zope.app.apidoc.interfaces.IDocumentationModule"
-    factory=".ViewModule"
-    name="Views" />
+      provides="..interfaces.IDocumentationModule"
+      factory=".ViewModule"
+      name="Views" />
+
+  <class class=".SkinDocumentation">
+    <allow interface=".ISkinDocumentation" />
+    <allow attributes="getLayers isDefault getDoc"/>
+  </class>
+
+  <adapter
+      for=".ISkinRegistration"
+      provides=".ISkinDocumentation"
+      factory=".SkinDocumentation" />
+
+  <class class=".LayerDocumentation">
+    <allow interface=".ILayerDocumentation" />
+    <allow attributes="getDoc"/>
+  </class>
+
+  <adapter
+      for=".ILayerRegistration"
+      provides=".ILayerDocumentation"
+      factory=".LayerDocumentation" />
 
   <browser:page
-    for=".ViewModule"
-    permission="zope.View"
-    class=".browser.Menu"
-    name="menu.html"
-    template="menu.pt" />
+      for=".ViewModule"
+      permission="zope.View"
+      class=".browser.Menu"
+      name="menu.html"
+      template="menu.pt" />
 
   <browser:page
-    for=".ViewModule"
-    permission="zope.View"
-    class=".browser.SkinLayer"
-    name="skin_layer.html"
-    template="skin_layer.pt" />
+      for=".ViewModule"
+      permission="zope.View"
+      class=".browser.SkinLayer"
+      name="skin_layer.html"
+      template="skin_layer.pt" />
 
   <browser:page
-    for=".ViewModule"
-    permission="zope.View"
-    class=".browser.ViewsDetails"
-    name="index.html"
-    template="index.pt" />
+      for=".ViewModule"
+      permission="zope.View"
+      class=".browser.ViewsDetails"
+      name="index.html"
+      template="index.pt" />
 
 </configure>




More information about the Zope3-Checkins mailing list