[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/onlinehelp/ Added topic Samples in onlinehelp

Roger Ineichen roger at projekt01.ch
Sun Feb 27 18:50:22 EST 2005


Log message for revision 29332:
  Added topic Samples in onlinehelp

Changed:
  U   Zope3/trunk/src/zope/app/onlinehelp/help/configure.zcml
  A   Zope3/trunk/src/zope/app/onlinehelp/help/samples.txt
  U   Zope3/trunk/src/zope/app/onlinehelp/meta.zcml
  U   Zope3/trunk/src/zope/app/onlinehelp/onlinehelp.py

-=-
Modified: Zope3/trunk/src/zope/app/onlinehelp/help/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/help/configure.zcml	2005-02-27 23:49:31 UTC (rev 29331)
+++ Zope3/trunk/src/zope/app/onlinehelp/help/configure.zcml	2005-02-27 23:50:22 UTC (rev 29332)
@@ -32,4 +32,11 @@
       resources="mgmt-main-1.png"
       />
 
+  <help:register
+      id="samples"
+      title="Samples"
+      doc_path="samples.txt"
+      class="zope.app.onlinehelp.onlinehelptopic.RESTOnlineHelpTopic"
+      />
+
 </configure>

Added: Zope3/trunk/src/zope/app/onlinehelp/help/samples.txt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/help/samples.txt	2005-02-27 23:49:31 UTC (rev 29331)
+++ Zope3/trunk/src/zope/app/onlinehelp/help/samples.txt	2005-02-27 23:50:22 UTC (rev 29332)
@@ -0,0 +1,5 @@
+=======
+Samples
+=======
+
+This topic contains different samples.


Property changes on: Zope3/trunk/src/zope/app/onlinehelp/help/samples.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/onlinehelp/meta.zcml
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/meta.zcml	2005-02-27 23:49:31 UTC (rev 29331)
+++ Zope3/trunk/src/zope/app/onlinehelp/meta.zcml	2005-02-27 23:50:22 UTC (rev 29332)
@@ -12,4 +12,6 @@
 
   </meta:directives>
 
+  <meta:provides feature="onlinehelp" />
+
 </configure>

Modified: Zope3/trunk/src/zope/app/onlinehelp/onlinehelp.py
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/onlinehelp.py	2005-02-27 23:49:31 UTC (rev 29331)
+++ Zope3/trunk/src/zope/app/onlinehelp/onlinehelp.py	2005-02-27 23:50:22 UTC (rev 29332)
@@ -23,9 +23,10 @@
 import os
 
 from zope.interface import implements
+from zope.configuration.exceptions import ConfigurationError
+
 from zope.app import zapi
 from zope.app.traversing.interfaces import IContainmentRoot
-
 from zope.app.onlinehelp.interfaces import IOnlineHelp, IOnlineHelpTopic
 from zope.app.onlinehelp.onlinehelptopic import OnlineHelpTopic
 



More information about the Zope3-Checkins mailing list