diff --git a/docs/conf.py b/docs/conf.py index 4c494ca..f65d848 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -452,4 +452,7 @@ def remove_hbox(filepath): # texinfo_no_detailmenu = False def setup(app): - app.add_stylesheet('style.css') + try: + app.add_stylesheet('style.css') + except: + app.add_css_file('style.css')