From 8b9354195a9fa213db08e06980b7c2a9ad8ecb48 Mon Sep 17 00:00:00 2001 From: Santiago Lizardo Date: Sat, 1 Mar 2025 21:42:13 +0000 Subject: [PATCH] Use consent plugin --- mkdocs.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 3148cb6f..c72a7003 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,7 +4,9 @@ site_url: https://ctoframework.com repo_url: https://github.com/ctoframework/static-website edit_uri: edit/main/docs/ -copyright: Copyright © 2025 +copyright: > + Copyright © 2025 – + Change cookie settings theme: name: material @@ -48,6 +50,7 @@ plugins: - search - social - awesome-nav + - privacy - i18n: docs_structure: suffix fallback_to_default: true @@ -112,6 +115,13 @@ extra: analytics: provider: google property: !ENV GOOGLE_ANALYTICS_KEY + consent: + title: Cookie consent + description: >- + We use cookies to recognize your repeated visits and preferences, as well + as to measure the effectiveness of our documentation and whether users + find what they're searching for. With your consent, you're helping us to + make our documentation better. hooks: - hooks/socialmedia.py