mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Merge 67 upstream commits including: - packages/ui deleted, replaced by base-ui + radix-ui - New packages: story, tailwind, shared, stf - Build system: tsup → tsdown migration - New flux layout support - Various bug fixes and improvements All upstream fumadocs-* and @fumadocs/* package names remapped to @hanzo/docs-* namespace.
24 lines
538 B
TypeScript
24 lines
538 B
TypeScript
import { defineConfig, defineDocs } from '@hanzo/docs-mdx/config';
|
|
import { metaSchema, pageSchema } from '@hanzo/docs-core/source/schema';
|
|
|
|
// You can customise Zod schemas for frontmatter and `meta.json` here
|
|
// see https://docs.hanzo.ai/docs/mdx/collections
|
|
export const docs = defineDocs({
|
|
dir: 'content/docs',
|
|
docs: {
|
|
schema: pageSchema,
|
|
postprocess: {
|
|
includeProcessedMarkdown: true,
|
|
},
|
|
},
|
|
meta: {
|
|
schema: metaSchema,
|
|
},
|
|
});
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
// MDX options
|
|
},
|
|
});
|