Skip to content

Commit

Permalink
set sphinx rtd theme
Browse files Browse the repository at this point in the history
  • Loading branch information
cccaballero authored Dec 19, 2023
1 parent 804210c commit 22de220
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import sys
sys.path.insert(0, os.path.abspath('../'))

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

# -- General configuration ------------------------------------------------

Expand All @@ -34,7 +34,8 @@
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx'
'sphinx.ext.intersphinx',
'sphinx_rtd_theme'
]

# intersphinx_mapping = {'python': ('https://docs.python.org/3.6', None)}
Expand Down Expand Up @@ -88,8 +89,10 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
if not on_rtd:
html_theme = 'alabaster'
#if not on_rtd:
# html_theme = 'alabaster'
html_theme = "sphinx_rtd_theme"



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

0 comments on commit 22de220

Please sign in to comment.