From 62b266dd97302f0a9febae19e5b34af8459f319e Mon Sep 17 00:00:00 2001 From: elie Date: Thu, 17 Sep 2015 23:13:39 +0000 Subject: make Sphinx performing source order method sorting --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index ecabef1..165cdfa 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -300,6 +300,8 @@ intersphinx_mapping = { 'python': ('https://docs.python.org/', None), # this merges constructor docstring with class docstring autoclass_content = 'both' +# Sort members by type +autodoc_member_order = 'bysource' # Napoleon settings napoleon_google_docstring = False -- cgit v1.2.1