Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
home layout added
Sushmithamallesh28de245fbb91
diff --git a/fumadocs/app/docs/[[...slug]]/page.tsx b/fumadocs/app/(home)/docs/[[...slug]]/page.tsxsimilarity index 100%rename from fumadocs/app/docs/[[...slug]]/page.tsxrename to fumadocs/app/(home)/docs/[[...slug]]/page.tsxdiff --git a/fumadocs/app/docs/layout.tsx b/fumadocs/app/(home)/docs/layout.tsxsimilarity index 50%rename from fumadocs/app/docs/layout.tsxrename to fumadocs/app/(home)/docs/layout.tsxindex 299d2e28d..aab4f98fa 100644--- a/fumadocs/app/docs/layout.tsx+++ b/fumadocs/app/(home)/docs/layout.tsx@@ -1,10 +1,15 @@import { source } from '@/lib/source';import { DocsLayout } from 'fumadocs-ui/layouts/docs';-import { baseOptions } from '@/lib/layout.shared';export default function Layout({ children }: LayoutProps<'/docs'>) {return (- <DocsLayout tree={source.pageTree} {...baseOptions()}>+ <DocsLayout+ tree={source.pageTree}+ nav={{ enabled: false }}+ searchToggle={{ enabled: false }}+ sidebar={{ collapsible: false, footer: null }}+ themeSwitch={{ enabled: false }}+ >{children}</DocsLayout>);diff --git a/fumadocs/app/global.css b/fumadocs/app/global.cssindex c7649438a..e61efedd8 100644--- a/fumadocs/app/global.css+++ b/fumadocs/app/global.css@@ -126,28 +126,31 @@ a:focus-visible {}/* ==========================================================================- Navigation+ Navigation - HomeLayout + DocsLayout nested structure========================================================================== */-#nd-sidebar,-#nd-sidebar-mobile {+#nd-home-layout {+ --fd-layout-width: 100%;+}++#nd-sidebar {+ position: sticky;+ top: 3.5rem;+ height: calc(100vh - 3.5rem);background-color: var(--composio-sidebar);}-html body [data-active="true"] {- color: var(--composio-orange);- background: transparent;+#nd-sidebar > div:first-child {+ padding-top: 0;}-/* ==========================================================================- Page Layout- ========================================================================== */+#nd-sidebar-mobile {+ background-color: var(--composio-sidebar);+}-/* Reduce excessive top padding on large screens */-@media (min-width: 1280px) {- #nd-page {- padding-top: 2rem;- }+[data-active="true"] {+ color: var(--composio-orange);+ background: transparent;}/* ==========================================================================diff --git a/fumadocs/lib/layout.shared.tsx b/fumadocs/lib/layout.shared.tsxindex ab90c0cdc..f56d214db 100644--- a/fumadocs/lib/layout.shared.tsx+++ b/fumadocs/lib/layout.shared.tsx@@ -33,5 +33,28 @@ export function baseOptions(): BaseLayoutProps {title: <ComposioLogo />,transparentMode: 'top',},+ links: [+ {+ text: 'Guide',+ url: '/docs',+ active: 'nested-url',+ },+ {+ text: 'Tool Router',+ url: '/tool-router',+ },+ {+ text: 'Reference',+ url: '/reference',+ },+ {+ text: 'Examples',+ url: '/examples',+ },+ {+ text: 'Playground',+ url: '/playground',+ },+ ],};}