Browse code

remove css and js adding in conf.py

Bas Nijholt authored on 09/04/2020 09:30:42
Showing 1 changed files
... ...
@@ -142,23 +142,8 @@ intersphinx_mapping = {
142 142
 }
143 143
 
144 144
 
145
-def get_holoviews_js_css():
146
-    from holoviews.plotting import Renderer
147
-
148
-    dependencies = {**Renderer.core_dependencies, **Renderer.extra_dependencies}
149
-    required = ["jQueryUI"]  # require, jQuery, and underscore are added by sphinx
150
-    js = [url for name in required for url in dependencies[name].get("js", [])]
151
-    css = [url for name in required for url in dependencies[name].get("css", [])]
152
-    return js, css
153
-
154
-
155
-# js, css = get_holoviews_js_css()
156
-# html_context = {"holoviews_js_files": js}  # used in source/_templates/layout.html
157
-
158 145
 html_logo = "logo_docs.png"
159 146
 
160 147
 
161 148
 def setup(app):
162
-    # for url in css:
163
-    #     app.add_stylesheet(url)
164 149
     app.add_stylesheet("custom.css")  # For the `live_info` widget