Skip to content

Commit e18d1bf

Browse files
authored
PIN: thebe v0.5.1 (#31)
1 parent a45d1bc commit e18d1bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sphinx_thebe/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
logger = logging.getLogger(__name__)
1414

15+
THEBE_VERSION = "0.5.1"
16+
1517

1618
def st_static_path(app):
1719
static_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "_static"))
@@ -51,7 +53,7 @@ def init_thebe_core(app, pagename, templatename, context, doctree):
5153

5254
# Add core libraries
5355
opts = {"async": "async"}
54-
app.add_js_file(filename="https://unpkg.com/thebe@latest/lib/index.js", **opts)
56+
app.add_js_file(filename=f"https://unpkg.com/thebe@{THEBE_VERSION}/lib/index.js", **opts)
5557

5658
# Add configuration variables
5759
thebe_config = f"""

0 commit comments

Comments
 (0)