Skip to content

Commit

Permalink
Remove legacy code in docs/conf.py (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Aug 28, 2023
1 parent 8db7f19 commit 3f060be
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,7 @@ def setup(app):

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

on_rtd = os.environ.get("READTHEDOCS", None) == "True"
if on_rtd:
os.system("sphinx-apidoc --doc-project='Python Reference' -f -o . ../wiki")
if on_rtd:
html_theme = "default"
else:
html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_rtd_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit 3f060be

Please sign in to comment.