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
9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
import { allDocs, allMetas } from 'content-collections';
|
|
import { loader } from '@hanzo/docs/core/source';
|
|
import { createMDXSource } from '@hanzo-docs/content-collections';
|
|
|
|
export const source = loader({
|
|
baseUrl: '/docs',
|
|
source: createMDXSource(allDocs, allMetas),
|
|
});
|