mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-30 14:41:16 +00:00
- Merged latest changes from fuma-nama/fumadocs upstream - Rebranded all documentation content from Fumadocs to Hanzo Docs - Updated package references to @hanzo/docs-* namespace - Renamed what-is-fumadocs.mdx to what-is-hanzo-docs.mdx - Kept Hanzo package versions and changelogs Upstream changes include: - Python: fix bundle size - Core: Support <auto-files /> syntax - OpenAPI: Fix Parameter Serialization - Obsidian: fix slugification - UI: improve details - Docs: introduce type-safe slugs option
13 lines
378 B
TypeScript
13 lines
378 B
TypeScript
import { DocsLayout } from '@hanzo/docs/ui/layouts/docs';
|
|
import type { ReactNode } from 'react';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
import { source } from '@/lib/source';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<DocsLayout tree={source.getPageTree()} {...baseOptions()}>
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|