Skip to content

Commit

Permalink
replace deprecated extra_css_file option with html_css_files
Browse files Browse the repository at this point in the history
By that, the html_static_path is automatically prepended.

This fixes:
 WARNING: The extra_css_file option is deprecated, use the
 html_css_files option from Sphinx instead.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
fmoessbauer authored and jan-kiszka committed Jan 3, 2025
1 parent af56de4 commit 6030732
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,9 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'kasdoc'

html_context = {
'extra_css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
],
}
html_css_files = [
'theme_overrides.css', # override wide tables in RTD theme
]

# -- Options for LaTeX output ---------------------------------------------

Expand Down

0 comments on commit 6030732

Please sign in to comment.