How to document class attributes with NaturalDocs

Posted by HWende on Stack Overflow See other posts from Stack Overflow or by HWende
Published on 2012-04-04T11:26:57Z Indexed on 2012/04/04 11:28 UTC
Read the original article Hit count: 235

Via

"""
  Function: myfunc
  Parameters:
    a : First parameter
    b : First parameter
"""

I can document a function and it gets listed in the class summary. How can I do something similar with attributes? Since I don't declare them in python I was hoping something like

""" ----------------------------------------------------------------------------
  Attributes:
  first - First attribute of the class
  second - Second one
"""

That is not working at all...

© Stack Overflow or respective owner

Related posts about python

Related posts about documentation-generation