refactor(changelog): remove title and description fields from changelog entries and update schema

This commit is contained in:
Anish Sarkar 2026-06-09 10:13:27 +05:30
parent 1c6227eef3
commit c9351c421e
18 changed files with 6 additions and 38 deletions

View file

@ -9,7 +9,7 @@ export const docs = defineDocs({
export const changelog = defineDocs({
dir: "changelog/content",
docs: {
schema: frontmatterSchema.extend({
schema: frontmatterSchema.omit({ title: true, description: true }).extend({
date: z.string(),
version: z.string().optional(),
}),