Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

639 B
Raw Blame
import type { ReactNode } from 'react';
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import { KbArticleShell } from '@/components/kb/kb-article-shell';
import { knowledgeBaseSource } from '@/lib/source';

export default function KnowledgeBaseGuideLayout({ children }: { children: ReactNode }) {
  return (
    <DocsLayout
      tree={knowledgeBaseSource.pageTree}
      nav={{ enabled: true, title: null }}
      searchToggle={{ enabled: false }}
      sidebar={{ enabled: false, tabs: false, footer: null }}
      themeSwitch={{ enabled: false }}
    >
      <KbArticleShell>{children}</KbArticleShell>
    </DocsLayout>
  );
}