From 30c2243d92c09550d849b836fd98eb6caa349781 Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Mon, 13 Nov 2023 13:40:40 +0100 Subject: [PATCH 1/2] small fix to hide scroll bar on sidebar navigation --- docs/_static/custom.css | 8 ++++++++ docs/conf.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docs/_static/custom.css diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 00000000..42aef425 --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,8 @@ + +/** + * This rule is here to avoid the scrollbar appearing this + * is not hosted on ReadTheDocs + */ +#rtd-footer-container { + display: none; +} diff --git a/docs/conf.py b/docs/conf.py index d7d28276..30c19406 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,7 +57,7 @@ html_static_path = ["_static"] html_css_files = [ - "css/custom.css", + "custom.css", ] # Serving the robots.txt since we want to point to the sitemap.xml file From 5da02b08162dff3372af5cbe21b89ccc21306de3 Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Mon, 13 Nov 2023 13:42:39 +0100 Subject: [PATCH 2/2] Update docs/_static/custom.css --- docs/_static/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 42aef425..24d865e8 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -1,6 +1,6 @@ /** - * This rule is here to avoid the scrollbar appearing this + * This rule is here to avoid the scrollbar appearing when this * is not hosted on ReadTheDocs */ #rtd-footer-container {