Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Sort doc members by source order
Browse files Browse the repository at this point in the history
This gives us more control. Rarely is alphabetical order the right sort
order.
  • Loading branch information
chadwhitacre committed Jun 28, 2016
1 parent 1eebfe7 commit 296e390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/autolib.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def rst_for_module(toc_path):
w(f, heading)
w(f, "=" * len(heading))
w(f, ".. automodule:: {}", dotted)
w(f, " :member-order: bysource")

return f

Expand Down

0 comments on commit 296e390

Please sign in to comment.