From 8aa74e2b058d7a6487dec6e3b577e8d97fea7160 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Mon, 6 Dec 2021 12:04:40 +0000 Subject: [PATCH] DOC: Fix custom css code - the previous approach seems to have caused something to break in a recent sphinx / sphinx-rtd-theme version [skip-ci] --- doc/conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index f4f918615..1e5e868f2 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -152,11 +152,9 @@ html_theme = 'sphinx_rtd_theme' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -html_context = { - 'css_files': [ - '_static/theme_overrides.css', # overrides for wide tables in RTD theme - ], - } +html_css_files = [ + 'theme_overrides.css', # overrides for wide tables in RTD theme +] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied -- GitLab