Files
zeekay ccb49690d1 feat(create-app): add org docs and hub templates for multi-org documentation
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.
2026-02-09 11:36:36 -08:00

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
},
});