summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2020-04-24 15:51:20 +0200
committerRémi Flamary <remi.flamary@gmail.com>2020-04-24 15:51:20 +0200
commitfe704c348e2f1fc69c0ecd801e8fefd6888a215d (patch)
treec3adf98ef055e3d3af5d9000df84df43c4892cfc /docs
parent99e6d91dcb51f05f1048c1c6ce68c1d62c5fa88f (diff)
test autosummary
Diffstat (limited to 'docs')
-rw-r--r--docs/source/all.rst5
-rw-r--r--docs/source/conf.py1
2 files changed, 6 insertions, 0 deletions
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',