File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,6 @@ def builder_inited(app):
110110 if embed_url :
111111 app .add_js_file (embed_url )
112112
113- # add jupyter-sphinx css
114- app .add_css_file ("jupyter-sphinx.css" )
115- # Check if a thebelab config was specified
116- if app .config .jupyter_sphinx_thebelab_config :
117- app .add_js_file ("thebelab-helper.js" )
118- app .add_css_file ("thebelab.css" )
119-
120113
121114def build_finished (app , env ):
122115 if app .builder .format != "html" :
@@ -288,4 +281,9 @@ def setup(app):
288281 app .connect ("builder-inited" , builder_inited )
289282 app .connect ("build-finished" , build_finished )
290283
284+ # add jupyter-sphinx and thebelab js and css
285+ app .add_css_file ("jupyter-sphinx.css" )
286+ app .add_js_file ("thebelab-helper.js" )
287+ app .add_css_file ("thebelab.css" )
288+
291289 return {"version" : __version__ , "parallel_read_safe" : True }
You can’t perform that action at this time.
0 commit comments