[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup -
handlers.py:1.6.2.9 zopeschema.xml:1.7.2.11
Christian 'Tiran' Heimes
heimes at faho.rwth-aachen.de
Thu May 13 12:20:20 EDT 2004
Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv4939/lib/python/Zope/Startup
Modified Files:
Tag: Zope-2_7-branch
handlers.py zopeschema.xml
Log Message:
Merge from tiran-restfixing-branch
=== Zope/lib/python/Zope/Startup/handlers.py 1.6.2.8 => 1.6.2.9 ===
--- Zope/lib/python/Zope/Startup/handlers.py:1.6.2.8 Thu Jan 8 18:34:05 2004
+++ Zope/lib/python/Zope/Startup/handlers.py Thu May 13 12:19:49 2004
@@ -89,6 +89,10 @@
value and _setenv('REST_OUTPUT_ENCODING' , value)
return value
+def rest_header_level(value):
+ value and _setenv('REST_DEFAULT_LEVEL' , value)
+ return value
+
def publisher_profile_file(value):
value is not None and _setenv('PROFILE_PUBLISHER', value)
from ZPublisher.Publish import install_profiling
=== Zope/lib/python/Zope/Startup/zopeschema.xml 1.7.2.10 => 1.7.2.11 ===
--- Zope/lib/python/Zope/Startup/zopeschema.xml:1.7.2.10 Thu Jan 8 18:34:05 2004
+++ Zope/lib/python/Zope/Startup/zopeschema.xml Thu May 13 12:19:49 2004
@@ -448,6 +448,16 @@
<metadefault>unset</metadefault>
</key>
+ <key name="rest-header-level" datatype="integer" default="3"
+ handler="rest_header_level">
+ <description>
+ Set the default starting HTML header level for restructured text
+ documents. The default is 3, which implies that top-level headers
+ will be created with an H3 HTML tag.
+ </description>
+ <metadefault>3</metadefault>
+ </key>
+
<key name="publisher-profile-file" handler="publisher_profile_file">
<description>
Causing this directive to point to a file on the filesystem will
More information about the Zope-Checkins
mailing list