Fix deprecated sphinx html_context usage in conf.py

We were using the old html_context which has been deprecated
for a while. This PR switches to html_css_files instead.
See sphinx-doc/sphinx#8885 for more information.
This commit is contained in:
Philipp Wagner 2021-02-18 11:31:46 +00:00 committed by Philipp Wagner
parent 7cee76bf05
commit 65287f7d7b

View file

@ -105,11 +105,9 @@ html_logo = 'images/logo.svg'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_context = {
'css_files' : [
'_static/theme_overrides.css', # Fix wide tables in RTD theme
],
}
html_css_files = [
'_static/theme_overrides.css', # Fix wide tables in RTD theme
]
# -- Options for LaTeX output ---------------------------------------------