mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- New Fumadocs-based docs app at apps/dev-docs/ (port 3003) - Ported 16+ markdown docs from hanzoai/dev as MDX with navigation - Landing page with terminal preview, features grid, quick start - 28 docs pages: getting-started, usage, config, integrations, reference - Static export to out/ with shiki code highlighting - CI: add GITHUB_PAGES env, NODE_OPTIONS, SKIP_DTS for faster builds
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
import {
|
|
type InferMetaType,
|
|
type InferPageType,
|
|
loader,
|
|
} from '@hanzo/docs/core/source';
|
|
import { docs } from '@hanzo/mdx:collections/server';
|
|
import { lucideIconsPlugin } from '@hanzo/docs/core/source/lucide-icons';
|
|
|
|
export const source = loader({
|
|
source: docs.toSource(),
|
|
baseUrl: '/docs',
|
|
plugins: [lucideIconsPlugin()],
|
|
});
|
|
|
|
export type Page = InferPageType<typeof source>;
|
|
export type Meta = InferMetaType<typeof source>;
|