Files
memegoat/documentation/source.config.ts
Mathis HERRIOT 6074917bfb
All checks were successful
Lint / lint (push) Successful in 9m37s
chore(docs): reorder imports across documentation files for consistency
2026-01-05 16:30:02 +01:00

32 lines
605 B
TypeScript

import { remarkMdxMermaid } from "fumadocs-core/mdx-plugins";
import {
defineConfig,
defineDocs,
frontmatterSchema,
metaSchema,
} from "fumadocs-mdx/config";
// You can customise Zod schemas for frontmatter and `meta.json` here
// see https://fumadocs.dev/docs/mdx/collections
export const docs = defineDocs({
dir: "content/docs",
docs: {
schema: frontmatterSchema,
postprocess: {
includeProcessedMarkdown: true,
},
mdxOptions: {
remarkPlugins: [remarkMdxMermaid],
},
},
meta: {
schema: metaSchema,
},
});
export default defineConfig({
mdxOptions: {
// MDX options
},
});