Commit 83717e9f authored by Michel Pelletier's avatar Michel Pelletier

Hooked PythonScript API documentation into help system. Ready for release.

parent cc3b4b3c
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
# #
############################################################################## ##############################################################################
__doc__='''Python Scripts Product Initialization __doc__='''Python Scripts Product Initialization
$Id: __init__.py,v 1.2 2000/12/05 21:41:16 evan Exp $''' $Id: __init__.py,v 1.3 2000/12/07 22:35:12 michel Exp $'''
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import PythonScript import PythonScript
import standard import standard
...@@ -98,3 +98,6 @@ def initialize(context): ...@@ -98,3 +98,6 @@ def initialize(context):
constructors=(PythonScript.manage_addPythonScriptForm, constructors=(PythonScript.manage_addPythonScriptForm,
PythonScript.manage_addPythonScript), PythonScript.manage_addPythonScript),
icon='www/pyscript.gif') icon='www/pyscript.gif')
context.registerHelp()
context.registerHelpTitle('Zope Help')
...@@ -83,6 +83,10 @@ ...@@ -83,6 +83,10 @@
# #
############################################################################## ##############################################################################
def manage_addPythonScript(self, id, REQUEST=None):
"""Add a Python script to a folder.
"""
class PythonScript: class PythonScript:
""" """
...@@ -176,6 +180,13 @@ class PythonScript: ...@@ -176,6 +180,13 @@ class PythonScript:
""" """
__constructor__ = manage_addPythonScript
__extends__=(
'PythonScripts.Script.Script',
)
def ZPythonScriptHTML_editAction(REQUEST, title, params, body): def ZPythonScriptHTML_editAction(REQUEST, title, params, body):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment