Hi David, On Sun, Apr 08, 2012 at 12:15:32PM -0700, David Roe wrote: > I assume there's no way to automatically add only those private functions > that are referred to within Sphinx?
There certainly is a way to do that, after all Sphinx is written in Python. Now, knowing the pain I had to make Sphinx aware to all.py to resolve its links, I'm not volunteering to do that. Maybe I did it the wrong way but I had to dive way too much in Docutils/Sphinx internals. So if someone come up with a solution, I gladly review it but I don't think this is easily doable, without hacking deep into the beasts. > If not, I think having "_included_private_doc_" class attribute as a list > of strings giving the private functions to include sounds like a fine > solution. This is much easier than the other solution you suggested. Waiting for more reaction. Cheers, Florent -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org