File: 0011-Fix-privacy-breaches-in-documentation.patch

package info (click to toggle)
scikit-learn 1.7.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,752 kB
  • sloc: python: 219,120; cpp: 5,790; ansic: 846; makefile: 191; javascript: 110
file content (44 lines) | stat: -rw-r--r-- 1,821 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 13 Oct 2025 15:02:56 +0200
Subject: Fix privacy breaches in documentation

---
 doc/conf.py                     | 4 ----
 doc/developers/contributing.rst | 9 ---------
 2 files changed, 13 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index d597377..d04aa8c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -371,10 +371,6 @@ def add_js_css_files(app, pagename, templatename, context, doctree):
     if pagename == "api/index":
         # External: jQuery and DataTables
         app.add_js_file("file:///usr/share/javascript/jquery/jquery.min.js")
-        app.add_js_file("https://cdn.datatables.net/2.0.0/js/dataTables.min.js")
-        app.add_css_file(
-            "https://cdn.datatables.net/2.0.0/css/dataTables.dataTables.min.css"
-        )
         # Internal: API search initialization and styling
         app.add_js_file("scripts/api-search.js")
         app.add_css_file("styles/api-search.css")
diff --git a/doc/developers/contributing.rst b/doc/developers/contributing.rst
index bebeb93..024766f 100644
--- a/doc/developers/contributing.rst
+++ b/doc/developers/contributing.rst
@@ -65,15 +65,6 @@ up" on issues that others reported and that are relevant to you.  It also helps
 us if you spread the word: reference the project from your blog and articles,
 link to it from your website, or simply star to say "I use it":
 
-.. raw:: html
-
-  <p>
-    <object
-      data="https://img.shields.io/github/stars/scikit-learn/scikit-learn?style=for-the-badge&logo=github"
-      type="image/svg+xml">
-    </object>
-  </p>
-
 In case a contribution/issue involves changes to the API principles
 or changes to dependencies or supported versions, it must be backed by a
 :ref:`slep`, where a SLEP must be submitted as a pull-request to