
No suggestion?
1. Here is a link to a rst example page. https://www.southampton.ac.uk/~fangohr/computing/rst/rst.txt2. Paste into a body node and use @language rest at the top.
1. Here is a link to a rst example page. https://www.southampton.ac.uk/~fangohr/computing/rst/rst.txt2. Paste into a body node and use @language rest at the top.Viewrendered does its thing.
Leo's documentation is in Sphinx markup.
1. Here is a link to a rst example page. https://www.southampton.ac.uk/~fangohr/computing/rst/rst.txt2. Paste into a body node and use @language rest at the top.Viewrendered does its thing.
Sphinx is a tool, not a markup language. Sphinx use restructured text as its markup language, as explained on the very first sphinx page. I'm pretty sure I've said this before. Please, let's not spread confusion on this topic.
The screenshot I posted is straight out of LeoDocs.leo; so I supposed that there shouldn't be any errors.
On Sat, Nov 2, 2019 at 12:36 AM rengel <reinhar...@gmail.com> wrote:The screenshot I posted is straight out of LeoDocs.leo; so I supposed that there shouldn't be any errors.That's not necessarily true. The @rst tree may contain markup in previous nodes that is required for the particular node you are viewing.In practice, I don't use the VR pane when editing Leo's docs. I just run the rst3 command, then let sphinx tell me if there are errors.
@language rest
.. toctree::
:maxdepth: 2
preliminaries
System Message: ERROR/3 (<string>, line 1)
Unknown directive type "toctree".
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".