added changelog and version dropdown
This commit is contained in:
parent
9af300bb35
commit
d1e1d3c529
9 changed files with 134 additions and 27 deletions
|
@ -8,5 +8,12 @@ const guide = defineCollection({
|
|||
index: z.number(),
|
||||
}),
|
||||
});
|
||||
const version = defineCollection({
|
||||
loader: glob({ pattern: "**/*", base: "src/docs" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
index: z.number(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { guide };
|
||||
export const collections = { guide, version };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue