Skip to content

Commit

Permalink
same behaviour as gh-pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvanderschelling committed Nov 10, 2023
1 parent c4631fd commit 942a6ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@
# Source: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme_path
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
html_theme = 'shpinx_rtd_theme'
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
else:
# Source: https://sphinx-rtd-theme.readthedocs.io/en/stable/index.html
# Requires installation of Python package 'sphinx_rtd_theme'
Expand Down

0 comments on commit 942a6ec

Please sign in to comment.