@@ -174,43 +174,39 @@ export default defineConfig({
174174 "./src/tooltips.css" ,
175175 ] ,
176176 pagination : false ,
177- plugins : runLinkCheck
178- ? [
179- starlightLinksValidator ( {
180- errorOnInvalidHashes : false ,
181- errorOnLocalLinks : false ,
182- exclude : [
183- "/api/" ,
184- "/api/operations/**" ,
185- "/changelog/" ,
186- "/http/resources/**" ,
187- "{props.*}" ,
188- "/" ,
189- "**/glossary/?term=**" ,
190- "/products/?product-group=*" ,
191- "/products/" ,
192- "/rules/snippets/examples/?operation=*" ,
193- "/rules/transform/examples/?operation=*" ,
194- "/workers/examples/?languages=*" ,
195- "/workers/examples/?tags=*" ,
196- "/workers-ai/models/**" ,
197- ] ,
198- } ) ,
199- starlightDocSearch ( {
200- appId : "8MU1G3QO9P" ,
201- apiKey : "4edb0a6cef3338ff4bcfbc6b3d2db56b" ,
202- indexName : "TEST - Re-dev docs" ,
203- } ) ,
204- starlightImageZoom ( ) ,
205- ]
206- : [
207- starlightDocSearch ( {
208- appId : "8MU1G3QO9P" ,
209- apiKey : "4edb0a6cef3338ff4bcfbc6b3d2db56b" ,
210- indexName : "TEST - Re-dev docs" ,
211- } ) ,
212- starlightImageZoom ( ) ,
213- ] ,
177+ plugins : [
178+ ...( runLinkCheck
179+ ? [
180+ starlightLinksValidator ( {
181+ errorOnInvalidHashes : false ,
182+ errorOnLocalLinks : false ,
183+ exclude : [
184+ "/api/" ,
185+ "/api/operations/**" ,
186+ "/changelog/" ,
187+ "/http/resources/**" ,
188+ "{props.*}" ,
189+ "/" ,
190+ "**/glossary/?term=**" ,
191+ "/products/?product-group=*" ,
192+ "/products/" ,
193+ "/rules/snippets/examples/?operation=*" ,
194+ "/rules/transform/examples/?operation=*" ,
195+ "/workers/examples/?languages=*" ,
196+ "/workers/examples/?tags=*" ,
197+ "/workers-ai/models/**" ,
198+ ] ,
199+ } ) ,
200+ ]
201+ : [ ] ) ,
202+ starlightDocSearch ( {
203+ appId : "D32WIYFTUF" ,
204+ apiKey : "5cec275adc19dd3bc17617f7d9cf312a" ,
205+ indexName : "prod_devdocs" ,
206+ insights : true ,
207+ } ) ,
208+ starlightImageZoom ( ) ,
209+ ] ,
214210 } ) ,
215211 tailwind ( {
216212 applyBaseStyles : false ,
0 commit comments