Skip to content

Commit

Permalink
docs broke?
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Sep 29, 2023
1 parent 962b05a commit c6ec9d9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,10 @@

# use RTFD theme locally
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
import os

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
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(), "."]


def setup(app):
Expand Down

0 comments on commit c6ec9d9

Please sign in to comment.