From db74cd87f817f07ea7d593e4f6b570f90cb62bbb Mon Sep 17 00:00:00 2001 From: Jo Stichbury Date: Fri, 20 Oct 2023 12:17:27 +0100 Subject: [PATCH] Add shared CSS and meganav Signed-off-by: Jo Stichbury --- .../docs/source/_templates/layout.html | 46 ++++++++++++++++++- kedro-datasets/docs/source/conf.py | 1 + 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/kedro-datasets/docs/source/_templates/layout.html b/kedro-datasets/docs/source/_templates/layout.html index ecdde06f1..e568723c2 100644 --- a/kedro-datasets/docs/source/_templates/layout.html +++ b/kedro-datasets/docs/source/_templates/layout.html @@ -1,8 +1,50 @@ -{% extends "!layout.html" %} +{% extends "!layout.html" %} {%- block extrabody %} + +
+ + + + + {%- include "searchbox.html" %} +
+ +{% endblock %} {%- block extrahead %} -{% endblock %} + + + + +{% endblock %} \ No newline at end of file diff --git a/kedro-datasets/docs/source/conf.py b/kedro-datasets/docs/source/conf.py index c5e84732c..5b865c2df 100644 --- a/kedro-datasets/docs/source/conf.py +++ b/kedro-datasets/docs/source/conf.py @@ -51,6 +51,7 @@ "sphinx_copybutton", "myst_parser", "notfound.extension", + "sphinxcontrib.jquery", ] # enable autosummary plugin (table of contents for modules/classes/class