Skip to content

Commit

Permalink
Stick with sphinx_rtd_theme (patroni#2873)
Browse files Browse the repository at this point in the history
by default they are using something else
  • Loading branch information
CyberDem0n authored Sep 20, 2023
1 parent 66bdb1a commit 18d9cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
# a list of builtin themes.
#

html_theme = 'sphinx_rtd_theme'
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Theme options are theme-specific and customize the look and feel of a theme
Expand Down

0 comments on commit 18d9cb1

Please sign in to comment.