Skip to content

Commit 8a506c8

Browse files
committed
chore(deps): upgrade docs dependencies for Astro 6 (DOCSDEV-60)
- astro 5.x -> 6.x, starlight 0.37 -> 0.38, markdown-remark 6.x -> 7.x - docs-design-system 0.11 -> 0.12, starlight-versions 0.6 -> 0.8 - starlight-links-validator 0.19 -> 0.23, mermaid 11.12 -> 11.14 - Migrate i18n collection to use i18nLoader (Astro 6 requirement) - Pass explicit sidebar options to starlightFullViewMode for Zod compat
1 parent f5a1f0f commit 8a506c8

4 files changed

Lines changed: 2043 additions & 1229 deletions

File tree

packages/documentation/astro.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,10 @@ export default defineConfig({
388388
errorOnFallbackPages: false,
389389
errorOnInvalidHashes: false
390390
}),
391-
starlightFullViewMode()
391+
starlightFullViewMode({
392+
leftSidebarEnabled: true,
393+
rightSidebarEnabled: true
394+
})
392395
]
393396
})
394397
],

packages/documentation/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
"lint": "prettier --check '**/*.{js,mjs,ts,tsx,json,md,mdx,astro}' && eslint --max-warnings=0 ."
1313
},
1414
"dependencies": {
15-
"@astrojs/markdown-remark": "^6.3.10",
16-
"@astrojs/starlight": "^0.37.5",
17-
"@interledger/docs-design-system": "^0.11.0",
18-
"astro": "^5.17.1",
19-
"mermaid": "^11.12.2",
15+
"@astrojs/markdown-remark": "^7.1.0",
16+
"@astrojs/starlight": "^0.38.3",
17+
"@interledger/docs-design-system": "^0.12.0",
18+
"astro": "^6.1.8",
19+
"mermaid": "^11.14.0",
2020
"rehype-autolink-headings": "^7.1.0",
2121
"rehype-mathjax": "^7.1.0",
2222
"remark-math": "^6.0.0",
2323
"starlight-fullview-mode": "^0.2.6",
24-
"starlight-links-validator": "^0.19.2",
25-
"starlight-versions": "^0.6.0"
24+
"starlight-links-validator": "^0.23.0",
25+
"starlight-versions": "^0.8.1"
2626
},
2727
"devDependencies": {
2828
"@eslint/js": "^9.39.2",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defineCollection } from 'astro:content'
2-
import { docsLoader } from '@astrojs/starlight/loaders'
2+
import { docsLoader, i18nLoader } from '@astrojs/starlight/loaders'
33
import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'
44
import { docsVersionsLoader } from 'starlight-versions/loader'
55

66
export const collections = {
77
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
8-
i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
8+
i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
99
versions: defineCollection({ loader: docsVersionsLoader() })
1010
}

0 commit comments

Comments
 (0)