diff options
| author | kotfu <kotfu@kotfu.net> | 2020-02-08 00:04:50 -0700 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2020-02-08 00:04:50 -0700 |
| commit | f08f7d2a6d03d4654903d2d5bea33bf24f661a00 (patch) | |
| tree | 5b0ab3f63ad02d29089a69a10bc9885dd7d32858 /docs | |
| parent | 74dc1b8dbea7324bbe4846a8ff65539b5865d817 (diff) | |
| download | cmd2-git-f08f7d2a6d03d4654903d2d5bea33bf24f661a00.tar.gz | |
Show autodoc members in the same order as the source code
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 5 |
1 files changed, 5 insertions, 0 deletions
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' +} |
