[Zope-Coders] Re: [Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.28.20.1
Jeffrey P Shell
jeffrey@cuemedia.com
Tue, 19 Nov 2002 15:01:29 -0700
On Tuesday, November 19, 2002, at 10:46 AM, Andreas Jung wrote:
>
>
> --On Dienstag, 19. November 2002 12:27 -0500 Shane Hathaway
> <shane@zope.com> wrote:
>
>> Andreas Jung wrote:
>>> The integration of reST into Zope with support inside ZPT, PyScripts
>>> and DTML makes it necessary to make it part of Zope. I think the
>>> integration is a good thing (there were only +1 votes). A standalone
>>> product would require monkeypatching and that sux like hell;-)
>>
>> As far as I know, you only have to integrate into the Python script
>> standard namespace, making it accessible everywhere. That wouldn't
>> be a
>> monkey patch.
>>
>> The integration is good, but if you depend on the Zope release
>> schedule,
>> you have to wait for the Zope release schedule. I believe you'll be
>> able
>> to improve your product much faster if you disentangle it from the
>> Zope
>> schedule.
>
> I don't know exactly what your point is. The integration consists
> of the docutils package and a very tiny wrapper that makes a HTML()
> available (similiar to STXNG). It also extends the formatters
> in DT_Var.py and makes the restrcutred_text() method available
> in the standard namespace. So there is no real difference between
> the integration of STXNG and reST. Since there is no additional
> work to be done on the integration I do not depend on a special Zope
> version or special features. I don't except any major improvments
> in the integration of reST except syncing the docutils package with
> the current docutils version from time to time.
There is also the support I added to Andreas' branch to use ReST files
as Zope Help files, which adds a new class to a module in the HelpSys
package and adds some logic to the App.ProductContext code to detect
files with '.rst' in the registerHelp() functionality and instantiate
those as ReSTTopic help topic classes.
Maybe I'm just eager to *never* have to type StructuredText again.
There are too many surprises.