Skip to content

Commit

Permalink
add cookie consent and option to manage cookies (#1997)
Browse files Browse the repository at this point in the history
* add cookie consent and option to manage cookies

* added cookie svg

---------

Co-authored-by: Roman Dodin <dodin.roman@gmail.com>
  • Loading branch information
ankudinov and hellt committed Apr 15, 2024
1 parent be59f0f commit 2328c98
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,25 @@ extra:
link: https://twitter.com/ntdvps
- icon: fontawesome/brands/discord
link: https://discord.gg/vAyddtaEV9
consent:
title: Cookie consent
consent:
actions:
- accept
- manage
- reject
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.
analytics:
provider: google
property: G-368XR9X5MG

copyright: >
<span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.87 9.5C20.6 9 20 9 20 9h-2V8c0-1-1-1-1-1h-2V6c0-1-1-1-1-1h-1V3c0-1-1-1-1-1a9 9 0 1 0 9 9c0-.5-.04-1-.13-1.5M6.5 12c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12M8 6.5C8 5.67 8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8 8 7.33 8 6.5M11 18c-.83 0-1.5-.67-1.5-1.5S10.17 15 11 15s1.5.67 1.5 1.5S11.83 18 11 18m.5-5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M7 22h2v2H7v-2m4 0h2v2h-2v-2m4 0h2v2h-2v-2Z"></path></svg></span> <a href="#__consent">Cookie settings</a>
extra_css:
- stylesheets/extra.css

Expand Down

0 comments on commit 2328c98

Please sign in to comment.