mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 15:11:13 +00:00

* fix: action * remove cache * update action * doc (#102) * doc (#101) * do * add redirect * doc * fix: action * action * doc * fix: action * fix: action * action
22 lines
549 B
TypeScript
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
|
|
}
|
|
}); |