On Thu, Nov 27, 2008 at 11:06 PM, werner <[EMAIL PROTECTED]> wrote:
>
> Hi limodou,
>
> It seems that all which is needed to make "publish_string" in
> mRestFileType.py work correctly is to change:
>
>        return publish_string(content, writer_name = 'html')
> to
>        return publish_string(content, writer_name = 'html',
> source_path=provideFileSourcePathincluding file )
> EG
>        return publish_string(content, writer_name = 'html',
> source_path=r'C:\Dev\twcb-doc\en\source\hs10.rst' )
>
> Couldn't figure out how to get this, so I tested it by hard coding the
> path to the file in question (i.e. the file containing an include
> instruction).
>
> Is this enough for you to change it?
>
> Best regards
> Werner

I think I've fixed it, so you can try it from latest svn version.

-- 
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
UliWeb <<simple web framework>>: http://uliwebproject.appspot.com
My Blog: (new)http://http://hi.baidu.com/limodou
(old)http://www.donews.net/limodou

Reply via email to