mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
Model components: - Add ModelTable, ZenEnso, ZenLoader components (thin wrappers over @hanzo/ui/models) - Register ModelTable in client-components.tsx and page.tsx components map - Rewrite /docs/models.mdx — replace broken DynamicModelTable (dead API) with ModelTable using static @hanzo/zen-models data - Add individual model detail pages (zen3, zen4, zen5 variants) zen-models: - Fix zen3 family name: "Zen 3 Multimodal" → "Zen 3" - Update zen3 description: "Previous generation API models..." Blog: - Add blog route (app/blog/, content/blog/) - Add 30+ zen/hanzo-branded technical blog posts - Brand-clean: excludes upstream-named posts Home: - Update ModelLibrary, layout, page, DownloadSection - Add not-found page
30 lines
615 B
TypeScript
30 lines
615 B
TypeScript
import { defineCollections, defineConfig, defineDocs, frontmatterSchema, metaSchema } from '@hanzo/docs-mdx/config';
|
|
import { z } from 'zod';
|
|
|
|
export const docs = defineDocs({
|
|
dir: 'content/docs',
|
|
docs: {
|
|
schema: frontmatterSchema,
|
|
},
|
|
meta: {
|
|
schema: metaSchema,
|
|
},
|
|
});
|
|
|
|
export const blog = defineCollections({
|
|
type: 'doc',
|
|
dir: 'content/blog',
|
|
schema: frontmatterSchema.extend({
|
|
author: z.string().default('Zen LM Team'),
|
|
date: z.string(),
|
|
tags: z.array(z.string()).optional(),
|
|
}),
|
|
async: true,
|
|
});
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
// MDX options
|
|
},
|
|
});
|