mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
refactor: remove all fumadocs references, rebrand to Hanzo Docs
- 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
This commit is contained in:
@@ -9,5 +9,5 @@ Welcome to the docs! You can start writing documents in `/content/docs`.
|
||||
|
||||
<Cards>
|
||||
<Card title="Learn more about Next.js" href="https://nextjs.org/docs" />
|
||||
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
|
||||
<Card title="Learn more about Hanzo Docs" href="https://hanzo-docs.dev" />
|
||||
</Cards>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { docs } from '@hanzo/docs/mdx:collections/server';
|
||||
import { loader } from '@hanzo/docs/core/source';
|
||||
|
||||
// See https://fumadocs.dev/docs/headless/source-api for more info
|
||||
// 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.toFumadocsSource(),
|
||||
source: docs.toHanzo DocsSource(),
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig, defineDocs } from '@hanzo/docs/mdx/config';
|
||||
|
||||
// Options: https://fumadocs.dev/docs/mdx/collections#define-docs
|
||||
// Options: https://hanzo-docs.dev/docs/mdx/collections#define-docs
|
||||
export const docs = defineDocs({
|
||||
dir: 'content/docs',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user