Skip to content

Commit 903eccd

Browse files
authored
Merge branch 'production' into max/gw/dns-api
2 parents 6e8ae36 + 7074db6 commit 903eccd

File tree

91 files changed

+2264
-814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2264
-814
lines changed

astro.config.ts

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)