I have to say that the doc is not very clear: ...'documentation can either be put into a special-formatted comment'... but the colon is not mentioned. It is easy to miss the colon after the hash in the example in that section
Rob Op 16 mrt 2012, om 11:46 heeft Sebastian Wiesner het volgende geschreven: > Am 16. März 2012 11:34 schrieb Andrea Crotti <andrea.crott...@gmail.com>: >> On 03/16/2012 10:31 AM, Daniel Neuhäuser wrote: >>> >>> A colon has to follow the hash like #: so in order for Sphinx to pick it >>> up as a doc string for that attribute. >>> >>> >> >> Ah great thanks, just to check, is it written anywhere? Because it's not >> really trivial unless one knows it already.. > > http://sphinx.pocoo.org/ext/autodoc.html#directive-autodata > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.