Merge upstream fumadocs dev (27 commits)

- Synced with upstream fumadocs changes
- Accepted upstream changes for all conflicts
- Deleted files that no longer exist upstream
- Maintains @hanzo package namespace
This commit is contained in:
2025-12-30 17:54:34 -08:00
796 changed files with 27102 additions and 14412 deletions
+1 -4
View File
@@ -6,10 +6,7 @@ export default function HomePage() {
<h1 className="mb-4 text-2xl font-bold">Hello World</h1>
<p className="text-fd-muted-foreground">
You can open{' '}
<Link
href="/docs"
className="text-fd-foreground font-semibold underline"
>
<Link href="/docs" className="text-fd-foreground font-semibold underline">
/docs
</Link>{' '}
and see the documentation.
+3 -12
View File
@@ -1,17 +1,10 @@
import { source } from '@/lib/source';
import {
DocsPage,
DocsBody,
DocsDescription,
DocsTitle,
} from '@hanzo/docs/ui/layouts/docs/page';
import { DocsPage, DocsBody, DocsDescription, DocsTitle } from 'fumadocs-ui/layouts/docs/page';
import { notFound } from 'next/navigation';
import { createRelativeLink } from '@hanzo/docs/ui/mdx';
import { getMDXComponents } from '@/mdx-components';
export default async function Page(props: {
params: Promise<{ slug?: string[] }>;
}) {
export default async function Page(props: { params: Promise<{ slug?: string[] }> }) {
const params = await props.params;
const page = source.getPage(params.slug);
if (!page) notFound();
@@ -38,9 +31,7 @@ export async function generateStaticParams() {
return source.generateParams();
}
export async function generateMetadata(props: {
params: Promise<{ slug?: string[] }>;
}) {
export async function generateMetadata(props: { params: Promise<{ slug?: string[] }> }) {
const params = await props.params;
const page = source.getPage(params.slug);
if (!page) notFound();