Files
FastGPT/document/source.config.ts
Archer c390eb186c Fix document action and content (#5308)
* fix: action

* remove cache

* update action

* doc (#102)

* doc (#101)

* do

* add redirect

* doc

* fix: action

* action

* doc

* fix: action

* fix: action

* action
2025-07-24 14:23:04 +08:00

22 lines
549 B
TypeScript

import { defineConfig, defineDocs, frontmatterSchema, metaSchema } from 'fumadocs-mdx/config';
import { z } from 'zod';
// You can customise Zod schemas for frontmatter and `meta.json` here
// see https://fumadocs.vercel.app/docs/mdx/collections#define-docs
export const docs = defineDocs({
docs: {
schema: frontmatterSchema.extend({
title: z.string().optional().default('Untitled')
})
},
meta: {
schema: metaSchema
}
});
export default defineConfig({
lastModifiedTime: 'git',
mdxOptions: {
// MDX options
}
});