Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Fix docs builds (#455)
Browse files Browse the repository at this point in the history
This PR fixes an issue with the doc builds. `get_html_theme_path()` was removed in the commit below. After some local testing, it seems that the lines in this PR can be removed without any issues.

- pydata/pydata-sphinx-theme@579d7ce

Authors:
   - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
   - GALI PREM SAGAR (https://github.com/galipremsagar)
  • Loading branch information
ajschmidt8 authored Feb 16, 2022
1 parent b97f879 commit 5602a94
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,6 @@
html_theme = 'pydata_sphinx_theme'
html_logo = "_static/RAPIDS-logo-purple.png"

# on_rtd is whether we are on readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd:
# only import and set the theme if we're building docs locally
# otherwise, readthedocs.org uses their theme by default,
# so no need to specify it
import pydata_sphinx_theme
html_theme = 'pydata_sphinx_theme'
html_theme_path = pydata_sphinx_theme.get_html_theme_path()


# 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 5602a94

Please sign in to comment.