- Add Fumadocs-based docs site (docs-site/) - Document all features: tabs, notifications, splits, socket API, CLI - Add Claude Code hooks guide with cmuxterm detection - Update README with native macOS emphasis and brew install - Add homebrew-cmuxterm to .gitignore (has its own repo)
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
|
|
import type { ReactNode } from 'react';
|
|
import { source } from '@/lib/source';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<DocsLayout
|
|
tree={source.pageTree}
|
|
nav={{
|
|
title: 'cmuxterm',
|
|
url: '/',
|
|
}}
|
|
sidebar={{
|
|
defaultOpenLevel: 1,
|
|
}}
|
|
>
|
|
{children}
|
|
</DocsLayout>
|
|
);
|
|
}
|