On Sat, Nov 2, 2019 at 4:11 PM Chris George <[email protected]> wrote:

But sphinx does add markup that is not supported by docutils.
>
> For example, I clipped the first toctree from Leo's documentation and put
> it into its very own node with the @language rest at the top.
>
> @language rest
>
>
> .. toctree::
>
> :maxdepth: 2
>
> preliminaries
>
> Which netted me:
>
> System Message: ERROR/3 (<string>, line 1)
>
> Unknown directive type "toctree".
>
Yes, that's expected.  The VR plugin calls docutils to format the body
text, and docutils doesn't understand the extra sphinx directives.

There is nothing that can be done about this exact issue.  However, I have
just reopened #1388 <https://github.com/leo-editor/leo-editor/issues/1388>
and assigned it to 6.2.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2UDVDJuMXGVn%2Bsd1qScu%2BS74p84Fi8hF7gYJY23kvVQw%40mail.gmail.com.

Reply via email to