Skip to content

Commit 284374e

Browse files
committed
Workaound for slider showing up in sidebar
1 parent 6dc281c commit 284374e

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

_static/js/custom.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
window.onload=function(){
3+
var elem = document.getElementById("rtd-footer-container");
4+
elem.parentNode.removeChild(elem);
5+
}

conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ def tagged_commit():
301301
# pixels large.
302302
html_favicon = "_static/favicon.ico"
303303

304+
html_js_files = [
305+
'js/custom.js',
306+
]
307+
308+
304309
# Add any paths that contain custom static files (such as style sheets) here,
305310
# relative to this directory. They are copied after the builtin static files,
306311
# so a file named "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)