Skip to content

Commit 4b0d155

Browse files
authored
[Docs Site] Enable last updated times on docs pages (#19026)
1 parent d6c105d commit 4b0d155

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

astro.config.ts

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -177,27 +177,27 @@ export default defineConfig({
177177
plugins: [
178178
...(runLinkCheck
179179
? [
180-
starlightLinksValidator({
181-
errorOnInvalidHashes: false,
182-
errorOnLocalLinks: false,
183-
exclude: [
184-
"/api/",
185-
"/api/**",
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-
]
180+
starlightLinksValidator({
181+
errorOnInvalidHashes: false,
182+
errorOnLocalLinks: false,
183+
exclude: [
184+
"/api/",
185+
"/api/**",
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+
]
201201
: []),
202202
starlightDocSearch({
203203
appId: "D32WIYFTUF",
@@ -207,6 +207,7 @@ export default defineConfig({
207207
}),
208208
starlightImageZoom(),
209209
],
210+
lastUpdated: true,
210211
}),
211212
tailwind({
212213
applyBaseStyles: false,

0 commit comments

Comments
 (0)