Skip to content

Commit 6b42088

Browse files
committed
better documentation
1 parent eb3a70a commit 6b42088

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ rdoc :
6262
pandoc --from=markdown --to=rst --output=docs/source/releases.rst RELEASES.md
6363
sed -i 's,https://pot.readthedocs.io/en/latest/,,g' docs/source/releases.rst
6464
sed -i 's,https://github.com/rflamary/POT/blob/master/notebooks/,auto_examples/,g' docs/source/releases.rst
65-
sed -i 's,.ipynb,.html/,g' docs/source/releases.rst
65+
sed -i 's,.ipynb,.html,g' docs/source/releases.rst
66+
sed -i 's,https://pythonot.github.io/auto_examples/,auto_examples/,g' docs/source/releases.rst
67+
6668
notebook :
6769
ipython notebook --matplotlib=inline --notebook-dir=notebooks/
6870

docs/source/all.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

3-
Python modules
4-
==============
3+
API and modules
4+
===============
55

66
ot
77
--

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __getattr__(cls, name):
8888

8989
# General information about the project.
9090
project = u'POT Python Optimal Transport'
91-
copyright = u'2016-2019, Rémi Flamary, Nicolas Courty'
91+
copyright = u'2016-2020, Rémi Flamary, Nicolas Courty'
9292
author = u'Rémi Flamary, Nicolas Courty'
9393

9494
# The version info for the project you're documenting, acts as replacement for
@@ -297,7 +297,7 @@ def __getattr__(cls, name):
297297
# One entry per manual page. List of tuples
298298
# (source start file, name, description, authors, manual section).
299299
man_pages = [
300-
(master_doc, 'pot', u'POT Python Optimal Transport library Documentation',
300+
(master_doc, 'pot', u'POT Python Optimal Transport',
301301
[author], 1)
302302
]
303303

@@ -312,7 +312,7 @@ def __getattr__(cls, name):
312312
# dir menu entry, description, category)
313313
texinfo_documents = [
314314
(master_doc, 'POT', u'POT Python Optimal Transport library Documentation',
315-
author, 'POT', 'Python Optimal Transport librar.',
315+
author, 'POT', 'Python Optimal Transport library',
316316
'Miscellaneous'),
317317
]
318318

docs/source/releases.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
POT Releases
2-
============
1+
Releases
2+
========
33

44
0.6 Year 3
55
----------
@@ -28,15 +28,15 @@ divergence <all.html#ot.bregman.empirical_sinkhorn_divergence>`__
2828
corresponding `Wasserstein
2929
1D <all.html#ot.lp.wasserstein_1d>`__.
3030
We now also have implementations for `Unbalanced
31-
OT <auto_examples/plot_UOT_1D.html/>`__
31+
OT <auto_examples/plot_UOT_1D.html>`__
3232
and a solver for `Unbalanced OT
33-
barycenters <auto_examples/plot_UOT_barycenter_1D.html/>`__.
33+
barycenters <auto_examples/plot_UOT_barycenter_1D.html>`__.
3434
A new variant of Gromov-Wasserstein divergence called `Fused
3535
Gromov-Wasserstein <all.html?highlight=fused_#ot.gromov.fused_gromov_wasserstein>`__
3636
has been also contributed with exemples of use on `structured
37-
data <auto_examples/plot_fgw.html/>`__
37+
data <auto_examples/plot_fgw.html>`__
3838
and computing `barycenters of labeld
39-
graphs <auto_examples/plot_barycenter_fgw.html/>`__.
39+
graphs <auto_examples/plot_barycenter_fgw.html>`__.
4040

4141
A lot of work has been done on the documentation with several new
4242
examples corresponding to the new features and a lot of corrections for
@@ -88,16 +88,16 @@ toolbox as listed below but also several bug correction.
8888

8989
| Among the new features, we can highlight a `non-regularized
9090
Gromov-Wasserstein
91-
solver <auto_examples/plot_gromov.html/>`__,
91+
solver <auto_examples/plot_gromov.html>`__,
9292
a new `greedy variant of
9393
sinkhorn <all.html#ot.bregman.greenkhorn>`__,
9494
| `non-regularized <all.html#ot.lp.barycenter>`__,
9595
`convolutional
96-
(2D) <auto_examples/plot_convolutional_barycenter.html/>`__
96+
(2D) <auto_examples/plot_convolutional_barycenter.html>`__
9797
and `free
98-
support <auto_examples/plot_free_support_barycenter.html/>`__
98+
support <auto_examples/plot_free_support_barycenter.html>`__
9999
Wasserstein barycenters and
100-
`smooth <https://github.com/rflamary/POT/blob/prV0.5/notebooks/plot_OT_1D_smooth.html/>`__
100+
`smooth <https://github.com/rflamary/POT/blob/prV0.5/notebooks/plot_OT_1D_smooth.html>`__
101101
and
102102
`stochastic <all.html#ot.stochastic.sgd_entropic_regularization>`__
103103
implementation of entropic OT.

0 commit comments

Comments
 (0)