[Zope3-checkins] SVN: Zope3/trunk/ Split up the API book module chapters to be declared in the package they

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 21 22:24:49 EDT 2005


Log message for revision 30099:
  Split up the API book module chapters to be declared in the package they 
  belong. Only some base chapters remain in the original file. This is 
  necessary, since not all packages in SVN are part of the distribution. And 
  now that we have zcml:condition, it is no problem either.
  
  

Changed:
  A   Zope3/trunk/package-includes/wfmc-configure.zcml
  U   Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml
  U   Zope3/trunk/src/zope/app/authentication/configure.zcml
  U   Zope3/trunk/src/zope/app/authentication/groupfolder.zcml
  U   Zope3/trunk/src/zope/app/authentication/principalfolder.zcml
  U   Zope3/trunk/src/zope/app/catalog/configure.zcml
  U   Zope3/trunk/src/zope/app/generations/configure.zcml
  U   Zope3/trunk/src/zope/app/homefolder/configure.zcml
  U   Zope3/trunk/src/zope/app/keyreference/configure.zcml
  U   Zope3/trunk/src/zope/app/locking/configure.zcml
  U   Zope3/trunk/src/zope/app/module/configure.zcml
  U   Zope3/trunk/src/zope/app/securitypolicy/configure.zcml
  U   Zope3/trunk/src/zope/app/session/configure.zcml
  U   Zope3/trunk/src/zope/app/tree/configure.zcml
  U   Zope3/trunk/src/zope/app/versioncontrol/configure.zcml
  A   Zope3/trunk/src/zope/app/wfmc/configure.zcml
  U   Zope3/trunk/src/zope/app/zapi/configure.zcml

-=-
Added: Zope3/trunk/package-includes/wfmc-configure.zcml
===================================================================
--- Zope3/trunk/package-includes/wfmc-configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/package-includes/wfmc-configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -0,0 +1 @@
+<include package="zope.app.wfmc" />
\ No newline at end of file


Property changes on: Zope3/trunk/package-includes/wfmc-configure.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -52,6 +52,7 @@
       id="ca"
       title="Component Architecture"
       />
+  
   <configure package="zope.component">
     <bookchapter 
         id="global"
@@ -72,7 +73,7 @@
         doc_path="factory.txt"
         />
   </configure>
-
+  
   <configure package="zope.app.component">
     <bookchapter
         id="local"
@@ -100,8 +101,17 @@
         />
   </configure>
 
+  <!-- Events -->
+  <configure package="zope.event">
+    <bookchapter
+        id="event"
+        title="Events"
+        doc_path="README.txt"
+        />
+  </configure>
+
   <!-- Security -->
-  <configure package="zope.security">
+ <configure package="zope.security">
     <bookchapter
         id="security"
         title="Security"
@@ -132,14 +142,6 @@
         parent="security/untrusted"
         />
   </configure>
-  <configure package="zope.app.securitypolicy">
-    <bookchapter
-        id="zopepolicy"
-        title="Default Security Policy"
-        doc_path="zopepolicy.txt"
-        parent="security"
-        />
-  </configure>
   <configure package="zope.app.security">
     <bookchapter
         id="globalprincipals"
@@ -148,44 +150,7 @@
         parent="security"
         />
   </configure>
-  <configure package="zope.app.authentication">
-    <bookchapter
-        id="authentication"
-        title="Pluggable Authentication"
-        doc_path="README.txt"
-        parent="security"
-        />
-    <bookchapter
-        id="principalfolder"
-        title="Principal Folder"
-        doc_path="principalfolder.txt"
-        parent="security/authentication"
-        />
-    <bookchapter
-        id="groupfolder"
-        title="Group Folders"
-        doc_path="groupfolder.txt"
-        parent="security/authentication"
-        />
-  </configure>
-  <configure package="zope.app.homefolder">
-    <bookchapter
-        id="homefolder"
-        title="Principal Home Folder"
-        doc_path="README.txt"
-        parent="security"
-        />
-  </configure>
 
-  <!-- Events -->
-  <configure package="zope.event">
-    <bookchapter
-        id="event"
-        title="Events"
-        doc_path="README.txt"
-        />
-  </configure>
-
   <!-- Testing -->
   <bookchapter
       id="test"
@@ -216,81 +181,6 @@
         />
   </configure>
 
-  <!-- ZAPI -->
-  <configure package="zope.app.zapi">
-    <bookchapter
-        id="zapi"
-        title="ZAPI"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Workflow -->
-  <configure package="zope.wfmc">
-    <bookchapter
-        id="wfmc"
-        title="WfMC Workflows"
-        doc_path="README.txt"
-        />
-    <bookchapter
-        id="xpdl"
-        title="Workflows using XPDL"
-        doc_path="README.txt"
-        parent="wfmc"
-        />
-  </configure>
-  <configure package="zope.app.wfmc">
-    <bookchapter
-        id="zcml"
-        title="Registering XPDL using ZCML"
-        doc_path="zcml.txt"
-        parent="wfmc"
-        />
-  </configure>
-
-  <!-- Indexes and Catalogs -->
-  <bookchapter
-      id="indexcatalog"
-      title="Indexes and Catalogs"
-      />
-  <configure package="zope.index">
-    <bookchapter
-        id="fieldindex"
-        title="Field Indexes"
-        doc_path="field/README.txt"
-        parent="indexcatalog"
-        />
-    <bookchapter
-        id="testindex"
-        title="Text Indexes"
-        doc_path="text/textindex.txt"
-        parent="indexcatalog"
-        />
-  </configure>
-  <configure package="zope.app.catalog">
-    <bookchapter
-        id="catalog"
-        title="Catalog"
-        doc_path="README.txt"
-        parent="indexcatalog"
-        />
-  </configure>
-
-  <!-- Sessions -->
-  <configure package="zope.app.session">
-    <bookchapter
-        id="session"
-        title="Sessions"
-        doc_path="design.txt"
-        />
-    <bookchapter
-        id="api"
-        title="API"
-        doc_path="api.txt"
-        parent="session"
-        />
-  </configure>
-
   <!-- Cached Properties -->
   <bookchapter
       id="i18nl10n"
@@ -314,60 +204,6 @@
         />
   </configure>
 
-  <!-- Generations -->
-  <configure package="zope.app.generations">
-    <bookchapter
-        id="generations"
-        title="Generations"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Locking -->
-  <configure package="zope.app.locking">
-    <bookchapter
-        id="locking"
-        title="Object Locking"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Version Control -->
-  <configure package="zope.app.versioncontrol">
-    <bookchapter
-        id="versioncontrol"
-        title="Version Control"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Persistent Modules -->
-  <configure package="zope.app.module">
-    <bookchapter
-        id="module"
-        title="Persistent Modules"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Zope Tree -->
-  <configure package="zope.app.tree">
-    <bookchapter
-        id="tree"
-        title="Zope Tree"
-        doc_path="README.txt"
-        />
-  </configure>
-
-  <!-- Persistent Key References -->
-  <configure package="zope.app.keyreference">
-    <bookchapter
-        id="keyref"
-        title="Persistent Key References"
-        doc_path="persistent.txt"
-        />
-  </configure>
-
   <!-- BForest -->
   <configure package="zope.bforest">
     <bookchapter

Modified: Zope3/trunk/src/zope/app/authentication/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/authentication/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -40,6 +40,21 @@
       provides=".interfaces.ICredentialsPlugin"
       />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="authentication"
+        title="Pluggable Authentication"
+        doc_path="README.txt"
+        parent="security"
+        />
+
+  </configure>
+
   <include file="session.zcml" />
   <include file="httpplugins.zcml" />
   <include file="principalfolder.zcml" />

Modified: Zope3/trunk/src/zope/app/authentication/groupfolder.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/groupfolder.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/authentication/groupfolder.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -44,4 +44,19 @@
 
   <include package=".browser" file="groupfolder.zcml" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="groupfolder"
+        title="Group Folders"
+        doc_path="groupfolder.txt"
+        parent="security/authentication"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/authentication/principalfolder.zcml
===================================================================
--- Zope3/trunk/src/zope/app/authentication/principalfolder.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/authentication/principalfolder.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -36,4 +36,19 @@
 
   <include package=".browser" file="principalfolder.zcml" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="principalfolder"
+        title="Principal Folder"
+        doc_path="principalfolder.txt"
+        parent="security/authentication"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/catalog/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/catalog/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/catalog/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -1,76 +1,109 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
+    i18n_domain="zope"
     >
 
-<localUtility class=".catalog.Catalog">
-  <factory
-      id="zope.app.catalog"
+  <localUtility class=".catalog.Catalog">
+    <factory
+        id="zope.app.catalog"
+        />
+    <require
+        interface="zope.app.catalog.interfaces.ICatalogQuery"
+        permission="zope.Public"
+        />
+    <require
+        interface="zope.app.catalog.interfaces.ICatalogEdit"
+        permission="zope.ManageServices"
+        />
+    <require
+        interface="zope.app.container.interfaces.IContainer"
+        permission="zope.ManageServices"
+        />
+  </localUtility>
+  
+  <content class=".catalog.ResultSet">
+    <require
+        attributes="__iter__ __len__"
+        permission="zope.Public"/>
+  </content>
+  
+  <subscriber
+      handler=".catalog.indexAdded"
+      for=".interfaces.ICatalogIndex
+           zope.app.container.interfaces.IObjectAddedEvent"
       />
-  <require
-      interface="zope.app.catalog.interfaces.ICatalogQuery"
-      permission="zope.Public"
+  
+  <subscriber
+      handler=".catalog.indexDocSubscriber"
+      for="zope.app.intid.interfaces.IIntIdAddedEvent"
       />
-  <require
-      interface="zope.app.catalog.interfaces.ICatalogEdit"
-      permission="zope.ManageServices"
+  
+  <subscriber
+      handler=".catalog.reindexDocSubscriber"
+      for="zope.app.event.objectevent.IObjectModifiedEvent"
       />
-  <require
-      interface="zope.app.container.interfaces.IContainer"
-      permission="zope.ManageServices"
+  
+  <subscriber
+      handler=".catalog.unindexDocSubscriber"
+      for="zope.app.intid.interfaces.IIntIdRemovedEvent"
       />
-</localUtility>
+  
+  
+  <content class=".field.FieldIndex">
+    <require
+        permission="zope.ManageServices"
+        interface=".interfaces.IAttributeIndex
+                   zope.index.interfaces.IStatistics
+                  "
+        set_schema=".interfaces.IAttributeIndex"
+        />
+  </content>
+  
+  <content class=".text.TextIndex">
+    <require
+        permission="zope.ManageServices"
+        interface=".interfaces.IAttributeIndex
+                   zope.index.interfaces.IStatistics
+                  "
+        set_schema=".interfaces.IAttributeIndex"
+        />
+  </content>
+  
+  <include package=".browser" />
 
-<content class=".catalog.ResultSet">
-  <require
-      attributes="__iter__ __len__"
-      permission="zope.Public"/>
-</content>
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
 
-<subscriber
-    handler=".catalog.indexAdded"
-    for=".interfaces.ICatalogIndex
-         zope.app.container.interfaces.IObjectAddedEvent"
-    />
+    <apidoc:bookchapter
+        id="indexcatalog"
+        title="Indexes and Catalogs"
+        />
+    <apidoc:bookchapter
+        id="catalog"
+        title="Catalog"
+        doc_path="README.txt"
+        parent="indexcatalog"
+        />
 
-<subscriber
-    handler=".catalog.indexDocSubscriber"
-    for="zope.app.intid.interfaces.IIntIdAddedEvent"
-    />
+    <configure package="zope.index">
+      <apidoc:bookchapter
+          id="fieldindex"
+          title="Field Indexes"
+          doc_path="field/README.txt"
+          parent="indexcatalog"
+          />
+      <apidoc:bookchapter
+          id="testindex"
+          title="Text Indexes"
+          doc_path="text/textindex.txt"
+          parent="indexcatalog"
+          />
+    </configure>
 
-<subscriber
-    handler=".catalog.reindexDocSubscriber"
-    for="zope.app.event.objectevent.IObjectModifiedEvent"
-    />
+  </configure>
 
-<subscriber
-    handler=".catalog.unindexDocSubscriber"
-    for="zope.app.intid.interfaces.IIntIdRemovedEvent"
-    />
-
-
-<content class=".field.FieldIndex">
-  <require
-      permission="zope.ManageServices"
-      interface=".interfaces.IAttributeIndex
-                 zope.index.interfaces.IStatistics
-                "
-      set_schema=".interfaces.IAttributeIndex"
-      />
-</content>
-
-<content class=".text.TextIndex">
-  <require
-      permission="zope.ManageServices"
-      interface=".interfaces.IAttributeIndex
-                 zope.index.interfaces.IStatistics
-                "
-      set_schema=".interfaces.IAttributeIndex"
-      />
-</content>
-
-
-
-<include package=".browser" />
-
 </configure>

Modified: Zope3/trunk/src/zope/app/generations/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/generations/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/generations/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -1,22 +1,36 @@
 <configure xmlns="http://namespaces.zope.org/zope">
 
-<!--
-<utility
-    name="zope.app" 
-    provides=".interfaces.ISchemaManager"
-    factory=".generations.SchemaManager"
-    >
+  <!--
+  <utility
+      name="zope.app" 
+      provides=".interfaces.ISchemaManager"
+      factory=".generations.SchemaManager"
+      >
+  
+      Provide an *initial* schema manager for zope.
+  
+      We can use a factory here, because the generation is 0.
+  
+      When we get to generation 1, we'll have to actually create
+      a manager instance with the necessary parameters and a package of
+      evolution scripts.
+  </utility>
+  -->
+  
+  <include package=".browser" />
 
-    Provide an *initial* schema manager for zope.
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
 
-    We can use a factory here, because the generation is 0.
+    <apidoc:bookchapter
+        id="generations"
+        title="Generations"
+        doc_path="README.txt"
+        />
 
-    When we get to generation 1, we'll have to actually create
-    a manager instance with the necessary parameters and a package of
-    evolution scripts.
-</utility>
--->
+  </configure>
 
-<include package=".browser" />
-
 </configure>

Modified: Zope3/trunk/src/zope/app/homefolder/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/homefolder/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -77,5 +77,20 @@
       description="A Principal Home Folder Manager"
       />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
 
+    <apidoc:bookchapter
+        id="homefolder"
+        title="Principal Home Folder"
+        doc_path="README.txt"
+        parent="security"
+        />
+
+  </configure>
+
+
 </configure>

Modified: Zope3/trunk/src/zope/app/keyreference/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/keyreference/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/keyreference/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -17,4 +17,18 @@
       factory=".persistent.connectionOfPersistent"
       />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="keyref"
+        title="Persistent Key References"
+        doc_path="persistent.txt"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/locking/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/locking/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/locking/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -3,4 +3,18 @@
 
   <permission id="zope.app.locking.UseLocking" title="Use locking" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="locking"
+        title="Object Locking"
+        doc_path="README.txt"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/module/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/module/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/module/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -34,4 +34,18 @@
 
   <include package=".browser" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="module"
+        title="Persistent Modules"
+        doc_path="README.txt"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/securitypolicy/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/securitypolicy/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -87,4 +87,20 @@
       name="Role Ids"
       factory=".vocabulary.RoleIdsVocabulary" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="zopepolicy"
+        title="Default Security Policy"
+        doc_path="zopepolicy.txt"
+        parent="security"
+        />
+
+  </configure>
+
+
 </configure>

Modified: Zope3/trunk/src/zope/app/session/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/session/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/session/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -1,7 +1,9 @@
 <configure 
     xmlns="http://namespaces.zope.org/zope"
-    xmlns:browser="http://namespaces.zope.org/browser">
-
+    xmlns:browser="http://namespaces.zope.org/browser"
+    i18n_domain="zope"
+    >
+    
   <adapter
       for="zope.publisher.interfaces.IRequest"
       provides=".interfaces.IClientId"
@@ -71,4 +73,24 @@
 
   <include file="browser.zcml" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="session"
+        title="Sessions"
+        doc_path="design.txt"
+        />
+    <apidoc:bookchapter
+        id="api"
+        title="API"
+        doc_path="api.txt"
+        parent="session"
+        />
+
+  </configure>
+
 </configure>

Modified: Zope3/trunk/src/zope/app/tree/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/tree/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/tree/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -48,5 +48,19 @@
 
   <include package=".browser" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="tree"
+        title="Zope Tree"
+        doc_path="README.txt"
+        />
+
+  </configure>
+
 </configure>
 

Modified: Zope3/trunk/src/zope/app/versioncontrol/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/versioncontrol/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/versioncontrol/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -4,4 +4,18 @@
   <permission id="zope.app.versioncontrol.UseVersionControl"
               title="Use version control" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="versioncontrol"
+        title="Version Control"
+        doc_path="README.txt"
+        />
+
+  </configure>
+
 </configure>

Added: Zope3/trunk/src/zope/app/wfmc/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/wfmc/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/wfmc/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -0,0 +1,35 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    i18n_domain="zope"
+    >
+
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <configure package="zope.wfmc">
+      <apidoc:bookchapter
+          id="wfmc"
+          title="WfMC Workflows"
+          doc_path="README.txt"
+          />
+      <apidoc:bookchapter
+          id="xpdl"
+          title="Workflows using XPDL"
+          doc_path="README.txt"
+          parent="wfmc"
+          />
+    </configure>
+
+    <apidoc:bookchapter
+        id="zcml"
+        title="Registering XPDL using ZCML"
+        doc_path="zcml.txt"
+        parent="wfmc"
+        />
+
+  </configure>
+
+</configure>


Property changes on: Zope3/trunk/src/zope/app/wfmc/configure.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/zapi/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/zapi/configure.zcml	2005-04-21 22:49:22 UTC (rev 30098)
+++ Zope3/trunk/src/zope/app/zapi/configure.zcml	2005-04-22 02:24:43 UTC (rev 30099)
@@ -4,6 +4,20 @@
   <interface
       interface=".interfaces.IZAPI" />
 
+  <!-- Registering documentation with API doc -->
+  <configure
+      xmlns:apidoc="http://namespaces.zope.org/apidoc"
+      xmlns:zcml="http://namespaces.zope.org/zcml"
+      zcml:condition="have apidoc">
+
+    <apidoc:bookchapter
+        id="zapi"
+        title="ZAPI"
+        doc_path="README.txt"
+        />
+
+  </configure>
+
 </configure>
 
 



More information about the Zope3-Checkins mailing list