We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e93ee commit 62915bfCopy full SHA for 62915bf
jupyter_sphinx/execute.py
@@ -45,12 +45,12 @@ def builder_inited(app):
45
"""
46
require_url = app.config.jupyter_sphinx_require_url
47
if require_url:
48
- app.add_javascript(require_url)
+ app.add_js_file(require_url)
49
embed_url = app.config.jupyter_sphinx_embed_url or ipywidgets.embed.DEFAULT_EMBED_REQUIREJS_URL
50
else:
51
embed_url = app.config.jupyter_sphinx_embed_url or ipywidgets.embed.DEFAULT_EMBED_SCRIPT_URL
52
if embed_url:
53
- app.add_javascript(embed_url)
+ app.add_js_file(embed_url)
54
55
56
### Directives and their associated doctree nodes
0 commit comments