[Docs] Add analytics (#546)

This commit is contained in:
William FH
2024-05-29 05:07:33 -07:00
committed by GitHub
parent 4c4839ca65
commit 7fdc849fa8
4 changed files with 29 additions and 3 deletions
+24 -1
View File
@@ -1,11 +1,14 @@
site_name: LangGraph
site_description: Build language agents as graphs
site_url: https://langchain-ai.github.io/langgraph/
repo_url: https://github.com/langchain-ai/langgraph
theme:
name: material
custom_dir: overrides
logo: static/wordmark.png
favicon: static/favicon.png
icon:
repo: fontawesome/brands/git-alt
features:
- announce.dismiss
- content.action.edit
@@ -78,6 +81,10 @@ plugins:
execute: false
include_source: True
include_requirejs: true
- git-committers:
repository: langchain-ai/langgraph
branch: main
token: !ENV ["MKDOCS_GIT_COMMITTERS_APIKEY"]
# TODO: Add minify plugin once it works alright with code block copying
# - minify:
# minify_html: true
@@ -209,4 +216,20 @@ extra:
- icon: fontawesome/brands/github
link: https://github.com/langchain-ai/langgraph
- icon: fontawesome/brands/twitter
link: https://twitter.com/LangChainAI
link: https://twitter.com/LangChainAI
analytics:
- provider: google
- script: "G-G8X6ELZYE0"
- feedback:
title: Was this page helpful?
ratings:
- icon: material/emoticon-happy-outline
name: This page was helpful
data: 1
note: >-
Thanks for your feedback!
- icon: material/emoticon-sad-outline
name: This page could be improved
data: 0
note: >-
Thanks for your feedback! Please help us improve this page by adding to the discussion below.