diff -r 7225c844bdc5 -r dc48952c383d docs/conf.py --- a/docs/conf.py Tue Feb 27 18:41:06 2018 +0200 +++ b/docs/conf.py Wed Feb 28 12:04:10 2018 +0200 @@ -35,7 +35,11 @@ MOCK_MODULES = ['netCDF4', 'numpy', 'scipy', 'matplotlib', 'matplotlib.ticker'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) -# -- General configuration ------------------------------------------------ +# NumpyDoc options, to work with autosummary +numpydoc_show_class_members = False +# class_members_toctree = False + +# -- General `onfiguration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # @@ -45,10 +49,13 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.intersphinx', - 'sphinx.ext.todo', - 'sphinx.ext.mathjax', - 'sphinx.ext.viewcode'] + 'sphinx.ext.autosummary', + 'sphinx.ext.intersphinx', + 'sphinx.ext.todo', + 'sphinx.ext.mathjax', + 'sphinx.ext.viewcode', + 'numpydoc', + ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']