From f647ae5d899d592e3ad85d6902320e2702edc8a2 Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Fri, 12 Apr 2024 14:27:56 +0100 Subject: [PATCH] docs: fix configuration --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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')