|
From: Richard J. <rj...@ek...> - 2002-10-12 02:12:40
|
On Sat, 12 Oct 2002 11:01 am, David Goodger wrote: > > On Sat, 12 Oct 2002 10:37 am, David Goodger wrote: > >> I don't know how this will work yet. Perhaps the Writer and/or I/O > >> object will handle forests (multiple trees). Perhaps the doctree will > >> remain monolithic, and a transform will insert "split here" indicators. > >> It's all up in the air. > > Richard Jones wrote: > > The "split here" part worries me - that then implies the HTML Writer > > knows how to output multiple files, which I don't believe it should. It > > should be the job of the pysource "framework" (the bit that drives the > > parse -> transform -> writer mechanisms) to decide what files need to be > > written and how they should be written. > > Problem is, PySource is a *Reader*, which doesn't know and shouldn't care > about final output. HappyDoc may have already tackled this issue; > analyzing its code is on my to-do. But also on my to-do are window trim, > painting, grouting, baseboard mouldings, winterizing the garage, and on and > on... I don't think pysource is going to be able to get away with being *just* a Reader. The one-source-to-many issue kinda throws a huge spanner in the works. > > Then this is definitely an issue that must be resolved now ;) > > I hope you're volunteering :-) Heh, sure. It can go on my TODO along with Roundup 0.5.1, weeding and generally attacking the garden, finish the bedside tables, hallstand, bookcases, checking the roof after our recent strong winds, ... :) Richard |