mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Closes: - https://linear.app/vercel/issue/DOC-4841/setup-minimum-working-app-in-the-nextjs-repo - https://linear.app/vercel/issue/DOC-4845/add-community-readme --------- Co-authored-by: Joseph Chamochumbi <[email protected]>
23 lines
436 B
TypeScript
23 lines
436 B
TypeScript
import {
|
|
defineConfig,
|
|
defineDocs,
|
|
frontmatterSchema,
|
|
metaSchema,
|
|
} from 'fumadocs-mdx/config'
|
|
|
|
// 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,
|
|
},
|
|
meta: {
|
|
schema: metaSchema,
|
|
},
|
|
dir: '../../docs',
|
|
})
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {},
|
|
})
|