From c191d16d008f7e86b09ff80b9dc48fc1ef81067b Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 3 Feb 2022 23:56:16 -0500 Subject: [PATCH] Fix docs builds (#10216) 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. - https://github.com/pydata/pydata-sphinx-theme/commit/579d7ce695cb5c2611aa7b8ab76fbc3efc5fab26 Authors: - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - https://github.com/jakirkham - GALI PREM SAGAR (https://github.com/galipremsagar) URL: https://github.com/rapidsai/cudf/pull/10216 --- docs/cudf/source/conf.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/cudf/source/conf.py b/docs/cudf/source/conf.py index 186fc252402..60704f3e6ae 100644 --- a/docs/cudf/source/conf.py +++ b/docs/cudf/source/conf.py @@ -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