Skip to content

Commit 05341bb

Browse files
authoredNov 26, 2024
[Fix] Add version number back to the doc (#696)
* add version nuber ack * update release fike
1 parent db28f4b commit 05341bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

Diff for: ‎RELEASES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#### Closed issues
1010
- Fixed `ot.mapping` solvers which depended on deprecated `cvxpy` `ECOS` solver (PR #692, Issue #668)
1111
- Fixed numerical errors in `ot.gmm` (PR #690, Issue #689)
12-
12+
- Add version number to the documentation (PR #696)
1313

1414
## 0.9.5
1515

Diff for: ‎docs/source/_templates/versions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- add shift_up to the class for force viewing ,
44
data-toggle="rst-current-version" -->
55
<span class="rst-current-version" style="margin-bottom:1mm;">
6-
<span class="fa fa-book"> Python Optimal Transport</span>
6+
<span class="fa fa-book"> Python Optimal Transport</span> {{ version }}
77
<hr style="margin-bottom:1.5mm;margin-top:5mm;">
88
<!-- versions
99
<span class="fa fa-caret-down"></span>-->

Diff for: ‎docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def __getattr__(cls, name):
162162
# further. For a list of options available for each theme, see the
163163
# documentation.
164164

165-
html_theme_options = {}
165+
html_theme_options = {"version_selector": True}
166166

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

0 commit comments

Comments
 (0)
Please sign in to comment.