Skip to content

Commit 747917b

Browse files
revert
1 parent 87da40f commit 747917b

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

docs/src/content.config.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
import { docsLoader } from "@astrojs/starlight/loaders";
22
import { docsSchema } from "@astrojs/starlight/schema";
3-
import { defineCollection, z } from "astro:content";
3+
import { defineCollection } from "astro:content";
44

55
export const collections = {
6-
docs: defineCollection({
7-
loader: docsLoader(),
8-
schema: docsSchema({
9-
extend: z.object({
10-
banner: z.object({ content: z.string() }).default({
11-
content:
12-
"This package is depricated. Please migrate your project following [this blog](https://blog.trueberryless.org/blog/starlight-customize-toc-overview-title/)",
13-
}),
14-
}),
15-
}),
16-
}),
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
177
};

0 commit comments

Comments
 (0)