From 8b36391560e2ac9b57b8f32c66a60df47273a237 Mon Sep 17 00:00:00 2001 From: Rachel Hagerman <110480692+rlhagerm@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:29:47 -0600 Subject: [PATCH 1/3] Adding s_code script to the page template. --- docs/source/_templates/page.html | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/_templates/page.html b/docs/source/_templates/page.html index 68cc2615d4..3d3e732fd2 100644 --- a/docs/source/_templates/page.html +++ b/docs/source/_templates/page.html @@ -12,6 +12,7 @@ {%- extends "!page.html" %} {% block body -%} + From e285e12311b8000ab7c08b2da8a59eb2e08c9368 Mon Sep 17 00:00:00 2001 From: Rachel Hagerman <110480692+rlhagerm@users.noreply.github.com> Date: Fri, 6 Dec 2024 08:15:05 -0600 Subject: [PATCH 2/3] Adding analytics script to
. --- docs/source/_templates/page.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/_templates/page.html b/docs/source/_templates/page.html index 3d3e732fd2..a690f329a5 100644 --- a/docs/source/_templates/page.html +++ b/docs/source/_templates/page.html @@ -11,8 +11,11 @@ {%- extends "!page.html" %} -{% block body -%} +{%- block extrahead %} +{% endblock %} + +{% block body -%} From 4cfca3a873e28d23cb59d1103f3ca5ecb50f42e3 Mon Sep 17 00:00:00 2001 From: Rachel Hagerman <110480692+rlhagerm@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:17:13 -0500 Subject: [PATCH 3/3] Updates to domain and script loading to match botocore. --- docs/source/_static/js/custom.js | 4 ++-- docs/source/_templates/page.html | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index ace62d96dc..1776560c6f 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -208,8 +208,8 @@ function setupKeyboardFriendlyNavigation() { function loadShortbread() { if (typeof AWSCShortbread !== "undefined") { const shortbread = AWSCShortbread({ - // If you're testing in your dev environment, use ".cloudfront.net" for domain, else ".amazonaws.com" - domain: ".amazonaws.com", + // If you're testing in your dev environment, use ".cloudfront.net" for domain, else "boto3.amazonaws.com" + domain: "boto3.amazonaws.com", }); // Check for cookie consent diff --git a/docs/source/_templates/page.html b/docs/source/_templates/page.html index 2a9a4e61eb..834f0654e7 100644 --- a/docs/source/_templates/page.html +++ b/docs/source/_templates/page.html @@ -12,15 +12,11 @@ {% extends "!page.html" %} {%- block extrahead %} + {% endblock %} - -{%- block extrahead %} - -{% endblock %} - {% block body -%} {% include 'partials/icons.html' %}