8000 [MRG+1] DOC Cleaning up what's new for 0.20 (#11734) · scikit-learn/scikit-learn@fc2503f · GitHub
[go: up one dir, main page]

Skip to content

Commit fc2503f

Browse files
jnothmanrth
authored andcommitted
[MRG+1] DOC Cleaning up what's new for 0.20 (#11734)
* DOC WIP Cleaning up what's new * Group entries by module, and minor copy editing * Sort changed models * Put Multiple Modules before Miscellaneous * Use substitution references without trailing _ * ReST formatting quirks * Missing :user: * Fix markup for what's new labels * Make module headings clearer * Highlight sections clearer * Move dict_learning and insert missing heading * Reinstate some missing headings
1 parent 5533deb commit fc2503f

File tree

4 files changed

+689
-687
lines changed

4 files changed

+689
-687
lines changed

doc/themes/scikit-learn/static/css/bootstrap.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,11 @@ a.badge:focus {
909909
.badge-warning[href] {
910910
background-color: #c67605;
911911
}
912+
.label-danger,
913+
.badge-danger {
914+
/* XXX: backported from later bootstrap */
915+
background-color: #d9534f;
916+
}
912917
.label-success,
913918
.badge-success {
914919
background-color: #468847;

doc/themes/scikit-learn/static/css/bootstrap.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/whats_new/_contributors.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@
44
for core contributors, and occasionally for contributors who do not want
55
their github page to be their URL target. Historically it was used to
66
hyperlink all contributors' names, and ``:user:`` should now be preferred.
7+
It also defines other ReST substitutions.
8+
9+
.. role:: raw-html(raw)
10+
:format: html
11+
12+
.. role:: raw-latex(raw)
13+
:format: latex
14+
15+
.. |MajorFeature| replace:: :raw-html:`<span class="label label-success">Major Feature</span>` :raw-latex:`{\small\sc [Major Feature]}`
16+
.. |Feature| replace:: :raw-html:`<span class="label label-success">Feature</span>` :raw-latex:`{\small\sc [Feature]}`
17+
.. |Efficiency| replace:: :raw-html:`<span class="label label-info">Efficiency</span>` :raw-latex:`{\small\sc [Efficiency]}`
18+
.. |Enhancement| replace:: :raw-html:`<span class="label label-info">Enhancement</span>` :raw-latex:`{\small\sc [Enhancement]}`
19+
.. |Fix| replace:: :raw-html:`<span class="label label-danger">Fix</span>` :raw-latex:`{\small\sc [Fix]}`
20+
.. |API| replace:: :raw-html:`<span class="label label-warning">API Change</span>` :raw-latex:`{\small\sc [API Change]}`
721

822

923
.. _Olivier Grisel: https://twitter.com/ogrisel

0 commit comments

Comments
 (0)
0