Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
83717e9f
Commit
83717e9f
authored
Dec 07, 2000
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hooked PythonScript API documentation into help system. Ready for release.
parent
cc3b4b3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
lib/python/Products/PythonScripts/__init__.py
lib/python/Products/PythonScripts/__init__.py
+5
-2
lib/python/Products/PythonScripts/help/PythonScript.py
lib/python/Products/PythonScripts/help/PythonScript.py
+11
-0
No files found.
lib/python/Products/PythonScripts/__init__.py
View file @
83717e9f
...
...
@@ -83,8 +83,8 @@
#
##############################################################################
__doc__
=
'''Python Scripts Product Initialization
$Id: __init__.py,v 1.
2 2000/12/05 21:41:16 evan
Exp $'''
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.
3 2000/12/07 22:35:12 michel
Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
import
PythonScript
import
standard
...
...
@@ -98,3 +98,6 @@ def initialize(context):
constructors
=
(
PythonScript
.
manage_addPythonScriptForm
,
PythonScript
.
manage_addPythonScript
),
icon
=
'www/pyscript.gif'
)
context
.
registerHelp
()
context
.
registerHelpTitle
(
'Zope Help'
)
lib/python/Products/PythonScripts/help/PythonScript.py
View file @
83717e9f
...
...
@@ -83,6 +83,10 @@
#
##############################################################################
def
manage_addPythonScript
(
self
,
id
,
REQUEST
=
None
):
"""Add a Python script to a folder.
"""
class
PythonScript
:
"""
...
...
@@ -176,6 +180,13 @@ class PythonScript:
"""
__constructor__
=
manage_addPythonScript
__extends__
=
(
'PythonScripts.Script.Script'
,
)
def
ZPythonScriptHTML_editAction
(
REQUEST
,
title
,
params
,
body
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment