diff --git a/mkdocs.yml b/mkdocs.yml index ec74385e82..b17149ce15 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -38,6 +38,7 @@ theme: - "search.suggest" - "content.code.copy" - "content.tabs.link" + - "navigation.instant" - "navigation.path" extra_css: - "stylesheets/fonts.css" diff --git a/theme/main.html b/theme/main.html index 8011eabbb9..3bff75c54f 100644 --- a/theme/main.html +++ b/theme/main.html @@ -5,6 +5,12 @@ {% endblock %} +{% block extrahead %} + {{ super() }} + {# TEST-ONLY (do not merge): exercise CookieYes under navigation.instant #} + {% include "partials/integrations/cookieyes.html" %} +{% endblock %} + {% block site_meta %} {{ super() }} {% if page and page.meta and page.meta.git_revision_date_localized_raw_iso_datetime %} diff --git a/theme/partials/integrations/cookieyes.html b/theme/partials/integrations/cookieyes.html new file mode 100644 index 0000000000..044f71d539 --- /dev/null +++ b/theme/partials/integrations/cookieyes.html @@ -0,0 +1,7 @@ +{# TEST-ONLY: reproduce navigation.instant + CookieYes interaction on a Netlify + preview. Uses the CookieYes *staging site* key registered for this preview + host (banner enabled + auto-blocking), NOT the production key that GTM + injects on docs.codacy.com. Do NOT merge this to master. #} + + +