1
- From fa6e7b31ebd7f6dbf02e1e4c1056e4ef1389884e Mon Sep 17 00:00:00 2001
1
+ From 5bffbe38302c695123779f87300d84090b4bd118 Mon Sep 17 00:00:00 2001
2
2
From: Kwankyu Lee <
[email protected] >
3
3
Date: Mon, 28 Aug 2023 00:18:59 +0900
4
4
Subject: [PATCH] Patch for sage live doc
5
5
6
6
---
7
- jupyter_sphinx/__init__.py | 2 + -
7
+ jupyter_sphinx/__init__.py | 4 ++- -
8
8
jupyter_sphinx/execute.py | 11 +++++++++++
9
- 2 files changed, 12 insertions(+), 1 deletion (-)
9
+ 2 files changed, 13 insertions(+), 2 deletions (-)
10
10
11
11
diff --git a/jupyter_sphinx/__init__.py b/jupyter_sphinx/__init__.py
12
- index 34af884..f2e17e0 100644
12
+ index 34af884..b7ca8ee 100644
13
13
--- a/jupyter_sphinx/__init__.py
14
14
+++ b/jupyter_sphinx/__init__.py
15
15
@@ -31,7 +31,7 @@ from .thebelab import ThebeButton, ThebeButtonNode, ThebeOutputNode, ThebeSource
@@ -21,6 +21,15 @@ index 34af884..f2e17e0 100644
21
21
22
22
logger = logging.getLogger(__name__)
23
23
24
+ @@ -186,7 +186,7 @@ def setup(app):
25
+ app.add_config_value("jupyter_sphinx_embed_url", None, "html")
26
+
27
+ # thebelab config, can be either a filename or a dict
28
+ - app.add_config_value("jupyter_sphinx_thebelab_config", None, "html")
29
+ + app.add_config_value("jupyter_sphinx_thebelab_config", None, "env")
30
+ app.add_config_value("jupyter_sphinx_thebelab_url", THEBELAB_URL_DEFAULT, "html")
31
+
32
+ # linenos config
24
33
diff --git a/jupyter_sphinx/execute.py b/jupyter_sphinx/execute.py
25
34
index 558a26b..de44455 100644
26
35
--- a/jupyter_sphinx/execute.py
@@ -44,5 +53,5 @@ index 558a26b..de44455 100644
44
53
# and cells can be zipped and the provided input/output
45
54
# can be inserted later
46
55
- -
47
- 2.40.1
56
+ 2.42.0
48
57
0 commit comments