File: jupyter-sphinx-Use-packaged-require.min.js.patch

package info (click to toggle)
jupyter-sphinx 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 300 kB
  • sloc: python: 1,576; makefile: 32; javascript: 18; sh: 13
file content (25 lines) | stat: -rw-r--r-- 883 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
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 8 Jul 2025 14:38:17 +0200
Subject: jupyter-sphinx: Use packaged require.min.js

We have this JS library packaged within Debian, no need for a side
loading.

Forwarded: not-needed
---
 jupyter_sphinx/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jupyter_sphinx/__init__.py b/jupyter_sphinx/__init__.py
index 34af884..1645f32 100644
--- a/jupyter_sphinx/__init__.py
+++ b/jupyter_sphinx/__init__.py
@@ -29,7 +29,7 @@ from .execute import ExecuteJupyterCells, JupyterKernel
 from .thebelab import ThebeButton, ThebeButtonNode, ThebeOutputNode, ThebeSourceNode
 
 REQUIRE_URL_DEFAULT = (
-    "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"
+    "file:///usr/share/javascript/requirejs/require.min.js"
 )
 THEBELAB_URL_DEFAULT = "https://unpkg.com/thebelab@^0.4.0"