Something like this perhaps? http://stackoverflow.com/questions/21637384/conditionally-compile-document-sections-in-sphinx
On 2 July 2014 21:26, Deborah Rezanka <[email protected]> wrote: > Hi, > I am working on documentation for a program that is written in c++, c#, > python and java and I would like to use my .rst documents to create > documentation for all four languages. Is there a way to have sphinx create > four separate html files from one .rst file with the python file only > including references to python and the java file only including references > to java etc.? > > I have several cases where I have separate example code files (example.py, > example.cs, example.java, and example.cpp) and I would like to list all > four in my one .rst file and have sphinx put only the relevant examples in > each html file. > > I know this is a really broad question but if anyone can point me in the > right direction I would really appreciate it. > D. Rezanka > > -- > 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. > -- 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.
