|
From: Richard J. <rj...@ek...> - 2002-08-14 05:30:27
|
On Wed, 14 Aug 2002 3:18 pm, Richard Jones wrote:
> On Tue, 13 Aug 2002 6:26 pm, Peter Funk wrote:
> > I would like to put docutils into my Zope.
> > Has anybody already done this?
> > Or can someone give me some hints and pointers, where to start?
>
> Sure, start with the stuff I just threw into the sandbox. Needed something
> to break the monotony of the day job ;)
>
> Anyway, it works, mostly. It doesn't:
>
> 1. have any control over options
> 2. have any capturing of Reporter output
>
> .. because I spent the better part of an hour trying to figure how I could
> sanely control both, and gave up ;)
Oh, if anyone wants to play with it:
1. I've already hooked in PropertyManager to prepare for the options, and
2. The "here" code at the top of the __init__.py will figure the product's
installed directory, so you can find a config file. I don't believe it's
necessary any more.
There's probably some way of faking an options object, but I just couldn't get
it to fly...
The Reporter stuff seemed far too hard-coded for my brain to cope with at
present :) [I delved down into the readers code, and tried hacking together
my own publisher, but I need to do some paying work :)]
Richard
|