Skip to content

Commit 6b39a1a

Browse files
committed
add version nuber ack
1 parent db28f4b commit 6b39a1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/_templates/versions.html

Lines changed: 1 addition & 1 deletion
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>-->

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
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)