diff --git a/docs/source/conf.py b/docs/source/conf.py index 10f665e0560a364251934478d70f7c1b1b244a20..ccc406344654b7cd51554b92176e0e0c84e0d6e2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -39,7 +39,14 @@ extensions = [ 'sphinx.ext.viewcode', 'myst_parser' ] - +autodoc_default_options = { + 'member-order': 'bysource', # Keep the order of members as they appear in the source code + 'undoc-members': True, # Do not show undocumented members + 'private-members': True, # Do not show private members + 'special-members': '__init__', # Document __init__ method + 'show-inheritance': False, # Do not show base classes +} +add_module_names = False # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']