diff --git a/astro.config.ts b/astro.config.ts index 73608409e7b96ae..b8aaaedef382566 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -177,27 +177,27 @@ export default defineConfig({ plugins: [ ...(runLinkCheck ? [ - starlightLinksValidator({ - errorOnInvalidHashes: false, - errorOnLocalLinks: false, - exclude: [ - "/api/", - "/api/**", - "/changelog/", - "/http/resources/**", - "{props.*}", - "/", - "**/glossary/?term=**", - "/products/?product-group=*", - "/products/", - "/rules/snippets/examples/?operation=*", - "/rules/transform/examples/?operation=*", - "/workers/examples/?languages=*", - "/workers/examples/?tags=*", - "/workers-ai/models/**", - ], - }), - ] + starlightLinksValidator({ + errorOnInvalidHashes: false, + errorOnLocalLinks: false, + exclude: [ + "/api/", + "/api/**", + "/changelog/", + "/http/resources/**", + "{props.*}", + "/", + "**/glossary/?term=**", + "/products/?product-group=*", + "/products/", + "/rules/snippets/examples/?operation=*", + "/rules/transform/examples/?operation=*", + "/workers/examples/?languages=*", + "/workers/examples/?tags=*", + "/workers-ai/models/**", + ], + }), + ] : []), starlightDocSearch({ appId: "D32WIYFTUF", @@ -207,6 +207,7 @@ export default defineConfig({ }), starlightImageZoom(), ], + lastUpdated: true, }), tailwind({ applyBaseStyles: false,