mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
New templates: - +next+hanzo-docs-mdx+org: Project docs with org-aware layout, project switcher dropdown, and auto-configured branding from org presets - +next+hanzo-docs-mdx+hub: Org landing page with card grid linking to all project docs, no sidebar/docs layout New plugin: - org-docs: Generates docs.config.ts with org preset and project slug Updates constants and orama-cloud plugin to support new template types.
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
|
|
},
|
|
});
|