[Grok-dev] Re: z3c.pt in Grok

Michael Haubenwallner michael at d2m.at
Wed Jul 30 06:20:14 EDT 2008


Martijn Faassen schrieb:
> Michael Haubenwallner wrote:
>> Not sure i understand correct, but the 'include' and 'raw' directives 
>> both work - includepaths must be absolute or relative to the folder 
>> the grok application ist started from.
> 
> This behavior I don't think is what you'd expect using restructured 
> text, though, right? You'd expect it to try to include from the same 
> directory the restructured text file is in. This is probably not a big 
> problem for typical restructured text usage, but, I think, a big problem 
> problem for something that really wants to include a file for reuse very 
> commonly.
> 

Thanks for the feedback.

The issue is fixed in 0.4 now, 'include/raw/csv-table' directives now 
work with paths relative to the base-template. Also added functional 
tests - http://pypi.python.org/pypi/d2m.rendersource

Regards
Michael

-- 
http://blog.d2m.at
http://planetzope.org


More information about the Grok-dev mailing list