On Aug 5, 5:52 pm, "Edward K. Ream" <[email protected]> wrote:
> LeoDocs.leo is now merely a container for @thin files, plus a few
> other things that are not likely to change.
>
> The typical chapter in the Users Guide has this structure:
>
> - Chapter X (just a placeholder)
> - @thin x.txt (contains top-level Leo declarations and rst-options
> doc part)
> - @rst html/x.html
I just added a call_docutils option to leoRst.py. As usual, it can be
set two ways:
1. As a setting: @bool rst3_call_docutils or
2. In a options doc part:
@ @rst-options
call_docutils=False
I was wondering why docutils was complaining about .. index:: markup
while the markup was in fact working. Then I though, Doh, we aren't
using docutils at all! The rst3 command is being used only for the
side effect of generating the intermediate file, like x.html.txt. It
is *that* file that sphinx uses.
Not only does the new option cut the processing time in half, it
clarifies what is going on.
The new code is on bzr. I'll document it tomorrow on Leo's web site.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.