Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ theme:
- "search.suggest"
- "content.code.copy"
- "content.tabs.link"
- "navigation.instant"
- "navigation.path"
extra_css:
- "stylesheets/fonts.css"
Expand Down
6 changes: 6 additions & 0 deletions theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<link rel="preload" href="{{ 'assets/fonts/inter-latin.woff2' | url }}" as="font" type="font/woff2" crossorigin>
{% 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 %}
Expand Down
7 changes: 7 additions & 0 deletions theme/partials/integrations/cookieyes.html
Original file line number Diff line number Diff line change
@@ -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. #}
<!-- Start cookieyes banner -->
<script id="cookieyes" type="text/javascript" src="ttps://cdn-cookieyes.com/client_data/c5874f8d39a04e1ffb9c4b1c8b3074e9/script.js"></script>
<!-- End cookieyes banner -->
Loading