Hey Mark, Can you post some examples of both your .rst and a class + docstring?
I'm using sphinx for a few projects as well, and will use a mixture of both the autodoc features, and the manual stuff. The autodoc module/class features have properties that can control what it documents. In one of my projects many of the functions are decorated, but I am actually using autofunction on each one. Maybe this link is relevant? http://stackoverflow.com/questions/3687046/python-sphinx-autodoc-and-decorated-members -- justin On Wed, Jan 29, 2014 at 9:29 AM, Mark Jackson <[email protected]> wrote: > > I'm finally getting Sphinx hooked up to the Red9 api and had a few > questions to those of you running it in terms of formatting. > > Firstly any code I have that's decorated doesn't get documented other than > it's name, is there a trick or setting to get Sphinx to pass over the > decorator into the code itself? > > Secondly and I'm assuming there must be a way. In my function I'm doing > the standard :param name: etc which generates a big pink block of params > for the function, great, but these params are twice as bold as the > functions and class names themselves, how can I make sure that the class > header is boldest, and the function bold. Seems odd that the params come > out bolder and more obvious than the function they're describing. > > I'm assuming I'm missing a few things, only got this stuff running on > Saturday. > > thanks > > Mark > > > > ------------------------------------- > Mark Jackson > Technical Animation Director > http://markj3d.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAGQH2FHmUKZG08EO_Vpyus73Rze%3DibNKnUd05ndS1ps%2BPSdmMQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2Vow22SaX9S%3DZ0onRk6d9EyAdBFHxCphR4aW%2B65n39kQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
