summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2015-09-17 23:13:39 +0000
committerelie <elie>2015-09-17 23:13:39 +0000
commit62b266dd97302f0a9febae19e5b34af8459f319e (patch)
tree05506c82fd95dda1e612127b37794acbd1f2d019
parentb8f5951dd74f7857322854d1a633cb88d4b4ca07 (diff)
downloadpysnmp-62b266dd97302f0a9febae19e5b34af8459f319e.tar.gz
make Sphinx performing source order method sorting
-rw-r--r--docs/source/conf.py2
1 files changed, 2 insertions, 0 deletions
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