You've already forked AstralRinth
forked from didirus/AstralRinth
chore: update docs deps/pkgs (#3326)
* chore: run astro upgrade cli cmd * chore: move content config & add content loader * chore: update pkgs * fix: bump starlight-openapi * fix: bump sharp * fix: update pnpm-lock
This commit is contained in:
7
apps/docs/src/content.config.ts
Normal file
7
apps/docs/src/content.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineCollection } from 'astro:content';
|
||||
import { docsLoader } from '@astrojs/starlight/loaders';
|
||||
import { docsSchema } from '@astrojs/starlight/schema';
|
||||
|
||||
export const collections = {
|
||||
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
import { defineCollection } from 'astro:content'
|
||||
import { docsSchema } from '@astrojs/starlight/schema'
|
||||
|
||||
export const collections = {
|
||||
docs: defineCollection({ schema: docsSchema() }),
|
||||
}
|
||||
Reference in New Issue
Block a user