Skip to content

Commit

Permalink
Avoid confusing Sphinx about where to find css files
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Mar 30, 2024
1 parent 6b3ad97 commit d678111
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@
# https://www.sphinx-doc.org/en/master/usage/extensions/math.html#module-sphinx.ext.mathjax
# https://docs.mathjax.org/en/latest/input/tex/extensions/autoload.html#autoload-options
# https://docs.mathjax.org/en/latest/input/tex/eqnumbers.html
mathjax3_config = dict(
tex=dict(
tags='ams'
)
)
# mathjax3_config = dict(
# tex=dict(
# tags='ams'
# )
# )


# -- other extension configuration --------------------------------------------
Expand Down Expand Up @@ -295,12 +295,12 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

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

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down

0 comments on commit d678111

Please sign in to comment.