added changelog and version dropdown

This commit is contained in:
Xanazf 2025-07-13 09:16:09 +03:00
parent 9af300bb35
commit d1e1d3c529
Signed by: Xanazf
GPG key ID: 4E4A5AD1FB748427
9 changed files with 134 additions and 27 deletions

View file

@ -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 };