From fe704c348e2f1fc69c0ecd801e8fefd6888a215d Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 24 Apr 2020 15:51:20 +0200 Subject: test autosummary --- docs/source/all.rst | 5 +++++ docs/source/conf.py | 1 + 2 files changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/source/all.rst b/docs/source/all.rst index f4ba559..fb6f218 100644 --- a/docs/source/all.rst +++ b/docs/source/all.rst @@ -1,4 +1,5 @@ +.. _sphx_glr_api_reference: API and modules =============== @@ -92,3 +93,7 @@ ot.partial .. automodule:: ot.partial :members: + +.. autosummary:: + :toctree: gen_modules/ + :template: module.rst \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 546eb5d..c693a02 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,6 +59,7 @@ sys.path.insert(0, os.path.abspath("../..")) # ones. extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', -- cgit v1.2.3