On Nov 12, 7:28 pm, Joshua Bronson <[email protected]> wrote: > Of course, I should have figured that out! Works now, thanks :) > > On Wed, Nov 11, 2009 at 4:35 AM, Christophe de VIENNE > <[email protected]>wrote: > > > My mistake, it's : > > > .. attribute:: bar > > your doc > > > 2009/11/11 Joshua Bronson <[email protected]> > > >> Thanks for the replies. I'll be following > >>http://bitbucket.org/birkenfeld/sphinx/issue/280/ > >> :) > > >> I'd prefer Christophe's method to Edward's because it doesn't require > >> changing (obscuring?) your code to add your documentation, but I > >> couldn't get Christophe's method to work. No warnings generated or > >> anything, just nothing rendered for that attribute. Can anyone else > >> confirm whether .. attribute bar:: works?
Is the ".. attribute:: foo" directive supposed to work within docstrings ? It doesn't work for me. For now I'm using ":ivar foo:". By the way, is there a difference among var, ivar, cvar ? In Epydoc they're different but in Sphinx they all show up as "Variable". George -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. 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.
