Skip to content

Commit

Permalink
remove get_html_theme_path because it's deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Nov 5, 2024
1 parent d51305b commit b067f05
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,7 @@ def jupyter_notebook(script_blocks, gallery_conf, target_dir, real_func):
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
# only import rtd theme and set it if want to build docs locally
if not on_rtd and html_theme == "rtd":
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit b067f05

Please sign in to comment.