From 7f2bcede95ccf1c0f9ca713399142f8ed86529cb Mon Sep 17 00:00:00 2001 From: seanzhangkx8 <106214464+seanzhangkx8@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:43:02 -0500 Subject: [PATCH] Fix Automate Doc Build - Update conf.py (#242) --- docs/source/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 36e3f89d..d10829dd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,6 +19,7 @@ # import os import sys +import sphinx_rtd_theme _HERE = os.path.dirname(__file__) _DOCS_DIR = os.path.abspath(os.path.join(_HERE, "..")) @@ -126,6 +127,9 @@ # a list of builtin themes. # html_theme = "sphinx_rtd_theme" + +# Add theme path explicitly +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # html_context = {"css_files": ["_static/overrides.css"]} # 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 @@ -159,7 +163,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["static"] +html_static_path = ["_static"] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied