Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb69069

Browse files
committed
Keep source member order in docs
1 parent add9fb8 commit bb69069

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
autodoc_default_options = {
5252
'members': True,
5353
'undoc-members': True,
54-
'show-inheritance': True
54+
'show-inheritance': True,
55+
'member-order': 'bysource'
5556
}
5657

5758
# -- Options for HTML output -------------------------------------------------

0 commit comments

Comments
 (0)