Skip to content

Commit

Permalink
Always set html_theme in readthedocs configuration (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano authored Aug 25, 2023
1 parent 06d6437 commit eea5223
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,9 @@
# -- Options for HTML output ---------------------------------------------------

# The theme to use for HTML and HTML Help pages
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_logo = '_images/openmc_logo.png'

Expand Down

0 comments on commit eea5223

Please sign in to comment.