Hi,

I have a large number of classes that look like:

class MyClass(object):
    """
    A docstring
    """
    name = 'a string'

Is it possible somehow to include automatically the contents of the 'name' class attribute into the documentation of the class?

There can be many such classes in several modulel, which in turn are documented using

.. automodule:: my.module
    :members:
    :undoc-members:

- so the classes are collected automatically by autodoc.

I have found autodoc-process-docstring which looks like it might be of some help, but do not know how to use it.

thanks,
Robert Cimrman

--
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.

Reply via email to