Writing Custom Directives, Expand Using Dynamic Data?

Kent Borg <[email protected]> Wed, 22 May 2019 15:10:45 -0400
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Hello,

I am looking at using reStructuredText in the following custom way:

  - Write documents using conventional rst for static data,

  - And define my own custom directives and roles for dynamic data,

  - Programmatically process my hybrid static/dynamic documents, 
substituting/expanding my custom directives into static data,

  - Likely write my own "writer"--or two or three--for custom output 
formats, though that will come later.

I don't see a lot of documentation on this kind of work. Looking about I 
made it as far as core.publish_programmatically() and that looks 
promising, plus the documentation there says that if I think I want to 
use this code I should ask on the list first.

So, two questions:

1) And I crazy?

2) How should I go about this?


Thanks,

-kb




_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.