Unless I'm missing something, Sphinx's automodule
will only document the members of a module, and not the attributes of classes defined in that module.
Is there a way automatically get the behavior of automodule
and autoclass
combined in such a way that I can automatically get documentation of a modules members and the attributes of any classes found in that module?
I realize I can script all this, but it gets very messy and verbose very quickly. If anyone has a neat, elegant way of doing this, I'd be happy to hear about that too.
.. automodule:: whatever
:members:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With