Skip to content

Commit

Permalink
[Fix] Add version number back to the doc (#696)
Browse files Browse the repository at this point in the history
* add version nuber ack

* update release fike
  • Loading branch information
rflamary authored Nov 26, 2024
1 parent db28f4b commit 05341bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#### Closed issues
- Fixed `ot.mapping` solvers which depended on deprecated `cvxpy` `ECOS` solver (PR #692, Issue #668)
- Fixed numerical errors in `ot.gmm` (PR #690, Issue #689)

- Add version number to the documentation (PR #696)

## 0.9.5

Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- add shift_up to the class for force viewing ,
data-toggle="rst-current-version" -->
<span class="rst-current-version" style="margin-bottom:1mm;">
<span class="fa fa-book"> Python Optimal Transport</span>
<span class="fa fa-book"> Python Optimal Transport</span> {{ version }}
<hr style="margin-bottom:1.5mm;margin-top:5mm;">
<!-- versions
<span class="fa fa-caret-down"></span>-->
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __getattr__(cls, name):
# further. For a list of options available for each theme, see the
# documentation.

html_theme_options = {}
html_theme_options = {"version_selector": True}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand Down

0 comments on commit 05341bb

Please sign in to comment.