Hi, I'm currently working on a documentation generator from some custom format for C++ code, and I've successfully managed to provide my own directive so I can generate reST programmatically. However, I couldn't find documentation how to generate Sphix-Domain-Nodes using the API. In my case, I want to be able to create for instance a C++ class documentation, which is easy in reST using .. cpp:class:: However, I couldn't find a way to do the same when parsing code; in my case, I also need to capture the generated output so I can wrap it into an inline element for adding additional classes and ids. It seems that using CPPClassObject is the right way, but I'm not sure what exactly needs to be set and how I can get it to register in the global index etc.
Cheers, -t -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/ya7N5NieZjYJ. 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/sphinx-dev?hl=en.
