From 405da6d5070b94ec3d0fa35ecdd283ca564bd585 Mon Sep 17 00:00:00 2001 From: Ben Burns <803016+benjamincburns@users.noreply.github.com> Date: Sat, 15 Feb 2025 13:54:31 +1300 Subject: [PATCH] chore(docs): enable analytics, add consent banner & copyright notice (#3447) --- docs/mkdocs.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index b9427b80a..15b1c4e8e 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -468,6 +468,16 @@ markdown_extensions: hooks: - _scripts/notebook_hooks.py extra: + consent: + title: Cookie consent + actions: + - accept + - 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. Clicking "Accept" makes our + documentation better. Thank you! ❤️ social: - icon: fontawesome/brands/js link: https://langchain-ai.github.io/langgraphjs/ @@ -476,9 +486,9 @@ extra: - icon: fontawesome/brands/twitter link: https://twitter.com/LangChainAI analytics: - - provider: google - - property: G-G8X6ELZYE0 - - feedback: + provider: google + property: G-WR87FQLG9F + feedback: title: Was this page helpful? ratings: - icon: material/emoticon-happy-outline @@ -509,3 +519,5 @@ validation: anchors: info # this is needed to handle headers with anchors for nav not_found: info +copyright: > + Copyright © 2025 LangChain, Inc | Consent Preferences