File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
themes/scikit-learn-modern Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8888# The short X.Y version.
8989import sklearn
9090version = parse (sklearn .__version__ ).base_version
91+ version = "." .join (version .split ("." )[:2 ])
9192# The full version, including alpha/beta/rc tags.
9293release = sklearn .__version__
9394
Original file line number Diff line number Diff line change 88 < h1 class ="sk-landing-header text-white text-monospace "> scikit-learn</ h1 >
99 < h4 class ="sk-landing-subheader text-white font-italic mb-3 "> Machine Learning in Python</ h4 >
1010 < a class ="btn sk-landing-btn mb-1 " href ="{{ pathto('getting_started') }} " role ="button "> Getting Started</ a >
11- < a class ="btn sk-landing-btn mb-1 " href ="whats_new/v{{ version }}.html " role ="button "> What's New in {{ version }}</ a >
11+ < a class ="btn sk-landing-btn mb-1 " href ="whats_new/v{{ version }}.html " role ="button "> What's New in {{ release }}</ a >
1212 < a class ="btn sk-landing-btn mb-1 " href ="https://github.com/scikit-learn/scikit-learn " role ="button "> GitHub</ a >
1313 </ div >
1414 < div class ="col-md-6 d-flex ">
@@ -156,6 +156,7 @@ <h4 class="sk-landing-call-header">News</h4>
156156 < li > < strong > On-going development:</ strong >
157157 < a href ="https://scikit-learn.org/dev/whats_new.html "> < strong > What's new</ strong > (Changelog)</ a >
158158 </ li >
159+ < li > < strong > January 2020.</ strong > scikit-learn 0.22.1 is available for download (< a href ="whats_new/v0.22.html#version-0-22-1 "> Changelog</ a > ).
159160 < li > < strong > December 2019.</ strong > scikit-learn 0.22 is available for download (< a href ="whats_new/v0.22.html#version-0-22-0 "> Changelog</ a > ).
160161 </ li >
161162 < li > < strong > Scikit-learn from 0.21 requires Python 3.5 or greater.</ strong >
Original file line number Diff line number Diff line change 7777 {%- if pagename != "install" %}
7878 < div class ="alert alert-danger p-1 mb-2 " role ="alert ">
7979 < p class ="text-center mb-0 ">
80- < strong > scikit-learn {{ version }}</ strong > < br />
80+ < strong > scikit-learn {{ release }}</ strong > < br />
8181 < a href ="http://scikit-learn.org/dev/versions.html "> Other versions</ a >
8282 </ p >
8383 </ div >
You can’t perform that action at this time.
0 commit comments