Skip to content

Commit

Permalink
Fix sphinx config for sphinx 3.5.0 (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Feb 15, 2021
1 parent df5bbe9 commit 492c552
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 492c552

Please sign in to comment.