Skip to content

Commit 06da033

Browse files
committed
CLN Address comments
1 parent 664c221 commit 06da033

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

doc/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,6 @@ def make_carousel_thumbs(app, exception):
309309

310310
def setup(app):
311311
# to hide/show the prompt in code examples:
312-
# app.add_javascript('js/copybutton.js')
313-
# app.add_javascript('js/extra.js')
314312
app.connect('build-finished', make_carousel_thumbs)
315313

316314

doc/templates/documentation.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "layout.html" %}
2-
{% set title = 'Documentation scikit-learn: machine learning in Python' %}
2+
{% set title = 'Documentation of scikit-learn: machine learning in Python' %}
33
{%- block extrahead %}
44
<script>
55
VERSION_SUBDIR = (function(groups) {
@@ -15,7 +15,7 @@ <h1 class="sk-documentation-index-header">Documentation of scikit-learn {{ versi
1515
<div class="card h-100 sk-documentation-index-card mx-md-2">
1616
<a href="{{ pathto('tutorial/basic/tutorial') }}" class="stretched-link sk-documentation-index-anchor"></a><h4 class="card-header">Quick Start</h4>
1717
<div class="card-body p-3">
18-
<p class="card-text">A very short introduction into machine learning problems and how to solve them using scikit-learn. Presents basic concepts and conventions.</p>
18+
<p class="card-text">A very short introduction to machine learning problems and how to solve them using scikit-learn. Presents basic concepts and conventions.</p>
1919
</div>
2020
</div>
2121
</div>
@@ -62,7 +62,7 @@ <h4 class="card-header">Other Versions</h4>
6262
<div class="card h-100 sk-documentation-index-card mx-md-2">
6363
<a href="{{ pathto('modules/classes') }}" class="stretched-link sk-documentation-index-anchor"></a><h4 class="card-header">API</h4>
6464
<div class="card-body p-3">
65-
<p class="card-text">The exact API of all functions and classes, as given by the docstrings. The API documents expected types and allowed features for all functions, and all parameters available for the algorithms.</p>
65+
<p class="card-text">The exact API of all functions and classes, as given by the docstrings. The API describes expected types and allowed features for all functions, and all parameters available for the algorithms.</p>
6666
</div>
6767
</div>
6868
</div>

doc/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h4 class="sk-landing-subheader text-white font-italic mb-3">Machine Learning in
2929
<div class="card h-100">
3030
<div class="card-body">
3131
<a href="supervised_learning.html#supervised-learning"><h4 class="sk-card-title card-title">Classification</h4></a>
32-
<p class="card-text">Identifying to which category an object belongs to.</p>
32+
<p class="card-text">Identifying which category an object belongs to.</p>
3333
<p class="card-text"><strong>Applications:</strong> Spam detection, image recognition.</br>
3434
<strong>Algorithms:</strong>
3535
<a href="modules/svm.html#svm-classification">SVM</a>,
@@ -39,7 +39,7 @@ <h4 class="sk-landing-subheader text-white font-italic mb-3">Machine Learning in
3939
</div>
4040
<div class="overflow-hidden mx-2 text-center flex-fill">
4141
<a href="auto_examples/classification/plot_classifier_comparison.html" aria-label="Classification">
42-
<img src="_images/sphx_glr_plot_classifier_comparison_001_carousel.png" class="sk-index-img" style="width: unset;" alt="Classifier comparison">
42+
<img src="_images/sphx_glr_plot_classifier_comparison_001_carousel.png" class="sk-index-img" style="width:initial;max-width:initial" alt="Classifier comparison">
4343
</a>
4444
</div>
4545
<a href="auto_examples/index.html#classification" class="sk-btn-primary btn text-white btn-block" role="button">Examples</a>

doc/themes/scikit-learn-modern/javascript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
});
7373

7474
{%- if pagename != 'index' and pagename != 'documentation' %}
75-
/*** Had navbar when scrolling down ***/
75+
/*** Hide navbar when scrolling down ***/
7676
// Returns true when headerlink target matches hash in url
7777
(function() {
7878
hashTargetOnTop = function() {

doc/themes/scikit-learn-modern/static/css/theme.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ a code {
7373
padding: 0;
7474
}
7575

76+
img {
77+
max-width: 100%;
78+
}
79+
7680
div.highlight {
7781
padding: 0.2rem 0.5rem;
7882
border: 1px solid #ddd;

doc/themes/scikit-learn-modern/theme.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ pygments_style = default
44
stylesheet = css/theme.css
55

66
[options]
7-
google_analytics = false
7+
google_analytics = true
88
mathjax_path =

0 commit comments

Comments
 (0)