-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm using several appengine models and autodoc. However I can't find any way of getting my documentation for attributes to apply.
https://developers.google.com/appengine/docs/python/ndb/ For example with their model: class Greeting(ndb.Model): """Models an individual Guestbook entry with content and date.""" content = ndb.StringProperty() date = ndb.DateTimeProperty(auto_now_add=True) The resulting autodoc for content will be "An indexed Property whose value is a text string of limited length". I have tried the following approaches: "The content" content = ndb.StringProperty() content = ndb.StringProperty() "The content" #: the content content = ndb.StringProperty() content = ndb.StringProperty() content.__doc__="The content" content = ndb.StringProperty(__doc__="the content") content = ndb.StringProperty(doc="the content") None of them work - I always get "An indexed Property ...". I'm surprised explicitly setting __doc__ had no effect. Any idea how to get my own docstring used? Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlHYdjoACgkQmOOfHg372QRRQwCgu/w20A0c/PVgpzcDeXZzF4k1 +EEAn2RKPlcvRqK9vHW7ftbGIGCAcJR3 =tieA -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
