@@ -65,7 +65,7 @@ const config = {
65
65
} ,
66
66
{
67
67
test : / \. y a ? m l $ / ,
68
- use : ' yaml-loader'
68
+ use : " yaml-loader" ,
69
69
} ,
70
70
{
71
71
test : / \. i p y n b $ / ,
@@ -86,7 +86,8 @@ const config = {
86
86
/** @type {import('@docusaurus/preset-classic').Options } */
87
87
( {
88
88
docs : {
89
- editUrl : "https://github.com/langchain-ai/langchain/edit/master/docs/" ,
89
+ editUrl :
90
+ "https://github.com/langchain-ai/langchain/edit/master/docs/" ,
90
91
sidebarPath : require . resolve ( "./sidebars.js" ) ,
91
92
remarkPlugins : [
92
93
[ require ( "@docusaurus/remark-plugin-npm2yarn" ) , { sync : true } ] ,
@@ -120,6 +121,9 @@ const config = {
120
121
theme : {
121
122
customCss : require . resolve ( "./src/css/custom.css" ) ,
122
123
} ,
124
+ googleTagManager : {
125
+ containerId : "GTM-MH4VTX4V" ,
126
+ } ,
123
127
} ) ,
124
128
] ,
125
129
] ,
@@ -140,7 +144,7 @@ const config = {
140
144
announcementBar : {
141
145
content :
142
146
'<strong>Our <a href="https://academy.langchain.com/courses/ambient-agents/?utm_medium=internal&utm_source=docs&utm_campaign=q2-2025_ambient-agents_co" target="_blank">Building Ambient Agents with LangGraph</a> course is now available on LangChain Academy!</strong>' ,
143
- backgroundColor : ' #d0c9fe'
147
+ backgroundColor : " #d0c9fe" ,
144
148
} ,
145
149
prism : {
146
150
theme : {
@@ -160,7 +164,10 @@ const config = {
160
164
} ,
161
165
image : "img/brand/theme-image.png" ,
162
166
navbar : {
163
- logo : { src : "img/brand/wordmark.png" , srcDark : "img/brand/wordmark-dark.png" } ,
167
+ logo : {
168
+ src : "img/brand/wordmark.png" ,
169
+ srcDark : "img/brand/wordmark-dark.png" ,
170
+ } ,
164
171
items : [
165
172
{
166
173
type : "docSidebar" ,
@@ -193,8 +200,9 @@ const config = {
193
200
label : "Error reference" ,
194
201
} ,
195
202
{
196
- type : 'html' ,
197
- value : '<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">' ,
203
+ type : "html" ,
204
+ value :
205
+ '<hr class="dropdown-separator" style="margin-top: 0.5rem; margin-bottom: 0.5rem">' ,
198
206
} ,
199
207
{
200
208
href : "https://docs.smith.langchain.com" ,
@@ -212,7 +220,7 @@ const config = {
212
220
href : "https://js.langchain.com" ,
213
221
label : "LangChain JS/TS" ,
214
222
} ,
215
- ]
223
+ ] ,
216
224
} ,
217
225
{
218
226
type : "dropdown" ,
@@ -221,17 +229,17 @@ const config = {
221
229
items : [
222
230
{
223
231
label : "v0.3" ,
224
- href : "/docs/introduction"
232
+ href : "/docs/introduction" ,
225
233
} ,
226
234
{
227
235
label : "v0.2" ,
228
- href : "https://python.langchain.com/v0.2/docs/introduction"
236
+ href : "https://python.langchain.com/v0.2/docs/introduction" ,
229
237
} ,
230
238
{
231
239
label : "v0.1" ,
232
- href : "https://python.langchain.com/v0.1/docs/get_started/introduction"
233
- }
234
- ]
240
+ href : "https://python.langchain.com/v0.1/docs/get_started/introduction" ,
241
+ } ,
242
+ ] ,
235
243
} ,
236
244
{
237
245
to : "https://chat.langchain.com" ,
@@ -313,15 +321,6 @@ const config = {
313
321
contextualSearch : false ,
314
322
} ,
315
323
} ) ,
316
-
317
- scripts : [
318
- baseUrl + "js/google_analytics.js" ,
319
- {
320
- src : "https://www.googletagmanager.com/gtag/js?id=G-9B66JQQH2F" ,
321
- async : true ,
322
- } ,
323
- ] ,
324
-
325
324
customFields : {
326
325
supabasePublicKey : process . env . NEXT_PUBLIC_SUPABASE_PUBLIC_KEY ,
327
326
supabaseUrl : process . env . NEXT_PUBLIC_SUPABASE_URL ,
0 commit comments