From f08f7d2a6d03d4654903d2d5bea33bf24f661a00 Mon Sep 17 00:00:00 2001 From: kotfu Date: Sat, 8 Feb 2020 00:04:50 -0700 Subject: Show autodoc members in the same order as the source code --- docs/conf.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 02eb827f..cd320f52 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -164,3 +164,8 @@ texinfo_documents = [ # -- Options for Extensions ------------------------------------------- # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'http://docs.python.org/': None} + +# options for autodoc +autodoc_default_options = { + 'member-order': 'bysource' +} -- cgit v1.2.1