mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user