Skip to content Skip to sidebar Skip to footer

Group Method Docstrings In Sphinx

Is it possible to group several method docstrings with sphinx using it's autodoc capabilities, so that they are listed together? class Test(object): def a(self): '''A m

Solution 1:

Group the methods in the source module and configure Sphinx to output them in that order, using autodoc_member_order = 'bysource'.

I am not aware of any other way to group members.

Post a Comment for "Group Method Docstrings In Sphinx"