mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-24 13:58:11 +00:00
Adds Vercel analytics to Docusaurus
This commit is contained in:
@@ -239,6 +239,14 @@ const config = {
|
||||
copyright: `Copyright © ${new Date().getFullYear()} LangChain, Inc.`,
|
||||
},
|
||||
}),
|
||||
|
||||
scripts: [
|
||||
"/js/vercel_analytics.js",
|
||||
{
|
||||
src: "/_vercel/insights/script.js",
|
||||
defer: true,
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
1
docs/docs_skeleton/static/js/vercel_analytics.js
Normal file
1
docs/docs_skeleton/static/js/vercel_analytics.js
Normal file
@@ -0,0 +1 @@
|
||||
(function(){window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };})()
|
||||
Reference in New Issue
Block a user