Hi,

Your idea of live code and @rst was also what I intended. In fact I recently wrote a mail about the use of <<nodes>> markup to get live documentation (inspired by the experience of Smalltalk). I don't know why this feature was disabled (of if it was enabled at some point), but this way of live docs would be a really helpful feature rooted on leo's background and definitely would improve reading a lot.

Cheers,

Offray

On Tue Oct 11 10:57:59 2011, wgw wrote:
I think I am using @rst in an awkward way, and would appreciate a few
pointers.

To document live code with rst2, I used subheading in the code like
<<subroutine>>  and then cloned that node and put it into the rst doc
tree.

That doesn't work anymore:<<nodes>>  are not recognized by rst3, so
I'm converting those clones to "@rst-no-head label". In the the live
code I have to replace<<subroutine>>  with @others. That's awkward at
times.

All this requires a bit of fiddling. Am I missing the point of rst3?
There must be a better way...

Any suggestions?

Thanks!



--
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.

Reply via email to