File: 0009-Use-local-jQuery.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 (21 lines) | stat: -rw-r--r-- 811 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
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Sun, 12 Oct 2025 22:24:40 +0200
Subject: Use local jQuery

---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index 5ba8926..d597377 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -370,7 +370,7 @@ def add_js_css_files(app, pagename, templatename, context, doctree):
     """
     if pagename == "api/index":
         # External: jQuery and DataTables
-        app.add_js_file("https://code.jquery.com/jquery-3.7.0.js")
+        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"