diff --git a/README.md b/README.md index 06cb0fd..b667949 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Inside this project, you'll see the following folders and files: │ ├── components/ │ ├── content/ │ │ ├── docs/ -│ │ └── config.ts +│ └── content.config.ts │ └── env.d.ts ├── astro.config.mjs ├── package.json diff --git a/package.json b/package.json index a25bebf..36476b4 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.30.1", - "@interledger/docs-design-system": "^0.5.5", - "astro": "^5.0.5", + "@astrojs/starlight": "^0.31.1", + "@interledger/docs-design-system": "^0.6.1", + "astro": "^5.1.7", "sharp": "^0.33.5", - "starlight-links-validator": "^0.13.4" + "starlight-links-validator": "^0.14.1" } } diff --git a/src/content/config.ts b/src/content.config.ts similarity index 62% rename from src/content/config.ts rename to src/content.config.ts index 02ea2ac..4f8d4db 100644 --- a/src/content/config.ts +++ b/src/content.config.ts @@ -1,7 +1,8 @@ import { defineCollection } from 'astro:content'; +import { docsLoader } from '@astrojs/starlight/loaders'; import { docsSchema, i18nSchema } from '@astrojs/starlight/schema'; export const collections = { - docs: defineCollection({ schema: docsSchema() }), + docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), i18n: defineCollection({ type: 'data', schema: i18nSchema() }), };