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):
110
110
if embed_url :
111
111
app .add_js_file (embed_url )
112
112
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
-
120
113
121
114
def build_finished (app , env ):
122
115
if app .builder .format != "html" :
@@ -288,4 +281,9 @@ def setup(app):
288
281
app .connect ("builder-inited" , builder_inited )
289
282
app .connect ("build-finished" , build_finished )
290
283
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
+
291
289
return {"version" : __version__ , "parallel_read_safe" : True }
You can’t perform that action at this time.
0 commit comments