Skip to content

Commit

Permalink
Fix sphinx config for sphinx 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Feb 15, 2021
1 parent df5bbe9 commit a7d6db9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions Docs/sphinx_documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,9 @@ def get_amrex_version():
# 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
]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
8 changes: 3 additions & 5 deletions Docs/sphinx_tutorials/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,9 @@ def get_amrex_version():
# 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
]

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

0 comments on commit a7d6db9

Please sign in to comment.