fix(apps/docs): resolve build errors after fumadocs rebrand

- Remove Accordions type="single" and collapsible props (Base UI API change)
- Fix import paths: @hanzo-docs/* → @hanzo/docs/*
- Fix registry dependencies: hanzo-docs-core → @hanzo/docs-core
- Fix mangled function name writeHanzo DocsRegistry → writeDocsRegistry
- Fix blog loader: wrap blogPosts array with createSource()
- Fix static.json route: use for...of loop with NextResponse
- Update GitHub config: owner=hanzoai, repo=docs
- Handle sponsors API gracefully for organization accounts
- Update MDX documentation to remove twoslash examples with old imports

Build verified: 441 pages generated successfully
This commit is contained in:
Fuma Nama
2025-12-31 16:39:02 -08:00
parent 6e742d90d2
commit 4c04bbfb61
80 changed files with 361 additions and 303 deletions
+3 -3
View File
@@ -5,8 +5,8 @@ import {
Collapsible,
CollapsibleContent,
CollapsibleTrigger,
} from '@hanzo/docs-ui/components/ui/collapsible';
import { buttonVariants } from '@hanzo/docs-ui/components/ui/button';
} from '@hanzo/docs-base-ui/components/ui/collapsible';
import { buttonVariants } from '@hanzo/docs-base-ui/components/ui/button';
import { ChevronRight } from 'lucide-react';
import { highlight } from '@hanzo/docs-core/highlight';
@@ -148,4 +148,4 @@ async function InlineCode({
});
}
export { Tab, Tabs } from '@hanzo/docs-ui/components/tabs';
export { Tab, Tabs } from '@hanzo/docs-base-ui/components/tabs';