From 184f69059840c6ab672c2ac4dd7931ccfd94035f Mon Sep 17 00:00:00 2001 From: JoblersTune Date: Mon, 20 Jan 2025 08:34:00 +0200 Subject: [PATCH 1/2] chore: docs dependency bumps --- README.md | 2 +- package.json | 8 ++++---- src/{content/config.ts => content.config.ts} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename src/{content/config.ts => content.config.ts} (100%) 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 100% rename from src/content/config.ts rename to src/content.config.ts From 429deb543723ccf205e1112799986a88e812d2e8 Mon Sep 17 00:00:00 2001 From: JoblersTune Date: Tue, 21 Jan 2025 08:57:16 +0200 Subject: [PATCH 2/2] deps: update starlight part of config file --- src/content.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content.config.ts b/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() }), };