From 56f0f6c719809564de44dbca18dff967d69930ac Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Wed, 13 Mar 2024 11:12:00 -0400 Subject: [PATCH] hide RTD flyout (#15580) * hide RTD flyout none of our documentation is versioned, and includes its own search. * correct the pathing * ??? --- docs/blog/stylesheets/extra.css | 2 ++ docs/dev/_static/css/extra.css | 1 + docs/dev/conf.py | 5 +++++ docs/user/stylesheets/extra.css | 2 ++ 4 files changed, 10 insertions(+) create mode 100644 docs/dev/_static/css/extra.css diff --git a/docs/blog/stylesheets/extra.css b/docs/blog/stylesheets/extra.css index 1e059db2a0e2..23b81b3090e7 100644 --- a/docs/blog/stylesheets/extra.css +++ b/docs/blog/stylesheets/extra.css @@ -12,3 +12,5 @@ white-space: nowrap; display: block; } + +readthedocs-flyout { display: none; } diff --git a/docs/dev/_static/css/extra.css b/docs/dev/_static/css/extra.css new file mode 100644 index 000000000000..bdc166e3f7ac --- /dev/null +++ b/docs/dev/_static/css/extra.css @@ -0,0 +1 @@ +readthedocs-flyout { display: none; } diff --git a/docs/dev/conf.py b/docs/dev/conf.py index ab303420112d..e69e57b2bf76 100644 --- a/docs/dev/conf.py +++ b/docs/dev/conf.py @@ -67,6 +67,11 @@ # a list of builtin themes. html_theme = "furo" +html_static_path = ["_static"] +html_css_files = [ + "css/extra.css", +] + # Output file base name for HTML help builder. htmlhelp_basename = "Warehousedoc" diff --git a/docs/user/stylesheets/extra.css b/docs/user/stylesheets/extra.css index ec1174249dc4..fd4a0fb3ea35 100644 --- a/docs/user/stylesheets/extra.css +++ b/docs/user/stylesheets/extra.css @@ -1,3 +1,5 @@ :root { --md-primary-fg-color: #0073b7; } + +readthedocs-flyout { display: none; }