Skip to content

Commit 9d59bd7

Browse files
authored
Show member documentation in source order (#254)
Even if the order still ends up bad, this gives us the power to more easily change it in future, simply by reordering the source code.
1 parent 36afe45 commit 9d59bd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def add_source_parser(_old_add_source_parser, self, *args, **kwargs):
8989
# Make sure that any autodoc declarations show the right members
9090
"members": True,
9191
"inherited-members": True,
92+
"member-order": "bysource",
9293
# "undoc-members": True,
9394
# "special-members": True,
9495
# "private-members": True,

0 commit comments

Comments
 (0)