Skip to content

Commit

Permalink
Remove the loading of unused CSS files in the docs (#3668)
Browse files Browse the repository at this point in the history
* Remove the loading of unused CSS files

Signed-off-by: Tynan DeBold <thdebold@gmail.com>
  • Loading branch information
tynandebold committed Mar 7, 2024
1 parent a22bc32 commit f56e4cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions docs/source/conf.py
Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions kedro/framework/cli/utils.py
Expand Up @@ -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(
Expand Down

0 comments on commit f56e4cc

Please sign in to comment.