From fccf5323d2b203d380d1e6ba0bb659ce5f9cd523 Mon Sep 17 00:00:00 2001 From: Fabian Date: Wed, 6 Oct 2021 12:16:12 +0200 Subject: [PATCH] doc: fix css theme --- doc/conf.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index afb23271..01dd6bc8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -157,16 +157,12 @@ html_theme_options = { # pixels large. #html_favicon = None -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# These folders are copied to the documentation's HTML output +html_static_path = ["_static"] -html_context = { - 'css_files': [ - '_static/theme_overrides.css', # override wide tables in RTD theme - ], -} +# These paths are either relative to html_static_path +# or fully qualified paths (eg. https://...) +html_css_files = ["theme_overrides.css"] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied