Skip to content

Commit

Permalink
conf: Fix RTD theme.
Browse files Browse the repository at this point in the history
Fixes #150
  • Loading branch information
laurensvalk committed Oct 23, 2023
1 parent 6bbdccb commit b97eef8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doc/common/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,10 @@

# -- Options for HTML output ----------------------------------------------

if ON_RTD:
html_theme = "default"
else:
import sphinx_rtd_theme
import sphinx_rtd_theme

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

html_context = {
"disclaimer": _DISCLAIMER,
Expand Down

0 comments on commit b97eef8

Please sign in to comment.