Skip to content

Commit 1a3249d

Browse files
committed
awesome mini gallery
1 parent fe704c3 commit 1a3249d

File tree

2 files changed

+27
-87
lines changed

2 files changed

+27
-87
lines changed

docs/source/all.rst

Lines changed: 24 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -4,96 +4,33 @@
44
API and modules
55
===============
66

7-
ot
8-
--
7+
.. currentmodule:: ot
98

10-
.. automodule:: ot
11-
:members:
12-
13-
ot.lp
14-
-----
15-
.. automodule:: ot.lp
16-
:members:
17-
18-
ot.bregman
19-
----------
20-
21-
.. automodule:: ot.bregman
22-
:members:
23-
24-
ot.smooth
25-
-----
26-
.. automodule:: ot.smooth
27-
:members:
28-
29-
ot.gromov
30-
----------
31-
32-
.. automodule:: ot.gromov
33-
:members:
34-
35-
36-
ot.optim
37-
--------
38-
39-
.. automodule:: ot.optim
40-
:members:
41-
42-
ot.da
43-
--------
44-
45-
.. automodule:: ot.da
46-
:members:
47-
48-
ot.gpu
49-
--------
50-
51-
.. automodule:: ot.gpu
52-
:members:
539

54-
ot.dr
55-
--------
10+
:py:mod:`ot`:
5611

57-
.. automodule:: ot.dr
58-
:members:
59-
60-
61-
ot.utils
62-
--------
63-
64-
.. automodule:: ot.utils
65-
:members:
66-
67-
ot.datasets
68-
-----------
69-
70-
.. automodule:: ot.datasets
71-
:members:
72-
73-
ot.plot
74-
-------
75-
76-
.. automodule:: ot.plot
77-
:members:
12+
.. autosummary::
13+
:toctree: gen_modules/
14+
:template: module.rst
15+
16+
lp
17+
bregman
18+
smooth
19+
gromov
20+
optim
21+
da
22+
gpu
23+
dr
24+
utils
25+
datasets
26+
plot
27+
stochastic
28+
unbalanced
29+
partial
7830

79-
ot.stochastic
80-
-------------
31+
.. autosummary::
32+
:toctree: ../modules/generated/
33+
:template: module.rst
8134

82-
.. automodule:: ot.stochastic
35+
.. automodule:: ot
8336
:members:
84-
85-
ot.unbalanced
86-
-------------
87-
88-
.. automodule:: ot.unbalanced
89-
:members:
90-
91-
ot.partial
92-
-------------
93-
94-
.. automodule:: ot.partial
95-
:members:
96-
97-
.. autosummary::
98-
:toctree: gen_modules/
99-
:template: module.rst

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ def __getattr__(cls, name):
7171
'sphinx_gallery.gen_gallery',
7272
]
7373

74+
autosummary_generate = True
75+
76+
7477
napoleon_numpy_docstring = True
7578

7679
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)