Skip to content

Commit

Permalink
Fix docs builds (#10216)
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:
  - https://github.com/jakirkham
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #10216
  • Loading branch information
ajschmidt8 authored Feb 4, 2022
1 parent b72c79d commit c191d16
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/cudf/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,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
Expand Down

0 comments on commit c191d16

Please sign in to comment.