Skip to content

Commit

Permalink
Fixed Sphinx doc theme (#160)
Browse files Browse the repository at this point in the history
* Fixed Sphinx doc theme

* Forcing RTD theme
  • Loading branch information
paulocheque authored Sep 5, 2023
1 parent bfe2daf commit 4ae7970
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@
html_theme = 'default'

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
if (not on_rtd) or True: # 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()]
Expand Down

0 comments on commit 4ae7970

Please sign in to comment.