On 2015-02-27 18:14, Takayuki Shimizukawa wrote: > On Sat Feb 28 2015 at 4:37:57 Matthew Woehlke wrote: >> [long-winded story about how I want to parse both reST and another >> format when generating documentation with sphinx] >> >> Can anyone shed some light on this? (Bonus points for a complete example >> that causes sphinx to also process all *.txt files by turning each line >> of the file into a text node.) > > For now, sphinx is hard-wired to reST format. > Current implementation doesn't have any reasonable API to tell sphinx > another file format parser. > There is a related ticket https://github.com/sphinx-doc/sphinx/issues/825 > that contains a possibility for Markdown or other format capability gist > link: https://gist.github.com/tk0miya/31b553b4bd4bf987731e
Ugh. Well... I'm already rolling my own sphinx-build equivalent. I'll try to take a look at some of this stuff and figure out what parts of sphinx I need to additionally override or whatnot to get this to work. (I *might* even see about coming up with a proper patch for this...) -- Matthew -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
