From 296e390ab82d34732d8b8633235a09e63d718ce6 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Fri, 24 Jun 2016 16:16:17 -0400 Subject: [PATCH] Sort doc members by source order This gives us more control. Rarely is alphabetical order the right sort order. --- docs/autolib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/autolib.py b/docs/autolib.py index 7ecfc13a87..2f64690182 100755 --- a/docs/autolib.py +++ b/docs/autolib.py @@ -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