From f56e4cc255456535fa2be7855467a891dd7dd184 Mon Sep 17 00:00:00 2001 From: Tynan DeBold Date: Thu, 7 Mar 2024 16:28:48 +0000 Subject: [PATCH] Remove the loading of unused CSS files in the docs (#3668) * Remove the loading of unused CSS files Signed-off-by: Tynan DeBold --- docs/source/conf.py | 2 -- kedro/framework/cli/utils.py | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 983bcd7d2d..69516ebbc8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -524,10 +524,8 @@ def setup(app): app.connect("builder-inited", _add_jinja_filters) app.connect("builder-inited", _override_permalinks_icon) app.connect("autodoc-process-docstring", autodoc_process_docstring) - app.add_css_file("css/qb1-sphinx-rtd.css") # fix a bug with table wraps in Read the Docs Sphinx theme: # https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html - app.add_css_file("css/theme-overrides.css") # (regex, restructuredText link replacement, object) list diff --git a/kedro/framework/cli/utils.py b/kedro/framework/cli/utils.py index d9403a9eb8..46fc5bdc62 100644 --- a/kedro/framework/cli/utils.py +++ b/kedro/framework/cli/utils.py @@ -66,11 +66,7 @@ def python_call( def find_stylesheets() -> Iterable[str]: # pragma: no cover """Fetch all stylesheets used in the official Kedro documentation""" css_path = Path(__file__).resolve().parents[1] / "html" / "_static" / "css" - return ( - str(css_path / "copybutton.css"), - str(css_path / "qb1-sphinx-rtd.css"), - str(css_path / "theme-overrides.css"), - ) + return (str(css_path / "copybutton.css"),) def forward_command(