mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- Renamed fumaMatter → parseFrontmatter - Renamed fuma-matter.ts → frontmatter.ts - Removed deprecated toFumadocsSource() method, keeping only toSource() - Updated all type names: FumadocsDataMap → DocsDataMap, etc. - Updated FumapressConfig → PressConfig, fumapress → hanzoPress - Updated useFumadocsLoader → useDocsLoader - Updated writeFumadocsRegistry → writeDocsRegistry - Updated all README files with Hanzo Docs branding - Updated create-app templates to use hanzoai/docs GitHub repo - Updated all example files and documentation content - Updated robots.txt, GitHub workflows, and issue templates - Updated test fixtures with hanzo-docs.dev URLs - Published updated packages to npm BREAKING CHANGE: All fumadocs imports must be updated to use new names: - fumaMatter → parseFrontmatter - toFumadocsSource → toSource - useFumadocsLoader → useDocsLoader
10 lines
307 B
TypeScript
10 lines
307 B
TypeScript
import { docs } from '@hanzo/docs/mdx:collections/server';
|
|
import { loader } from '@hanzo/docs/core/source';
|
|
|
|
// See https://hanzo-docs.dev/docs/headless/source-api for more info
|
|
export const source = loader({
|
|
// it assigns a URL to your pages
|
|
baseUrl: '/docs',
|
|
source: docs.toHanzo DocsSource(),
|
|
});
|