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
Disable mobile TOC popover on all docs pages
Sushmithamallesh398d20de070f
diff --git a/fumadocs/app/(home)/docs/[[...slug]]/page.tsx b/fumadocs/app/(home)/docs/[[...slug]]/page.tsxindex 1988658e5..4cced317c 100644--- a/fumadocs/app/(home)/docs/[[...slug]]/page.tsx+++ b/fumadocs/app/(home)/docs/[[...slug]]/page.tsx@@ -18,7 +18,7 @@ export default async function Page(props: PageProps<'/docs/[[...slug]]'>) {const MDX = page.data.body;return (- <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }}>+ <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}><DocsTitle>{page.data.title}</DocsTitle><DocsDescription className="mb-4">{page.data.description}</DocsDescription><DocsBody>diff --git a/fumadocs/app/(home)/docs/changelog/[...slug]/page.tsx b/fumadocs/app/(home)/docs/changelog/[...slug]/page.tsxindex e2ed43141..911632db4 100644--- a/fumadocs/app/(home)/docs/changelog/[...slug]/page.tsx+++ b/fumadocs/app/(home)/docs/changelog/[...slug]/page.tsx@@ -35,7 +35,7 @@ export default async function ChangelogEntryPage({ params }: PageProps) {// If there are multiple entries for the same date, show all of themreturn (- <DocsPage toc={[]} footer={{ enabled: false }}>+ <DocsPage toc={[]} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}><Linkhref="/docs/changelog"className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mb-4 transition-colors"diff --git a/fumadocs/app/(home)/reference/[[...slug]]/page.tsx b/fumadocs/app/(home)/reference/[[...slug]]/page.tsxindex aca448b2f..06e3c9767 100644--- a/fumadocs/app/(home)/reference/[[...slug]]/page.tsx+++ b/fumadocs/app/(home)/reference/[[...slug]]/page.tsx@@ -32,7 +32,7 @@ export default async function Page({if ('getAPIPageProps' in page.data) {const pageData = page.data as OpenAPIPageData;return (- <DocsPage full>+ <DocsPage full tableOfContentPopover={{ enabled: false }}><h1 className="text-2xl font-semibold mb-4">{pageData.title}</h1><DocsBody><APIPage {...pageData.getAPIPageProps()} />@@ -47,7 +47,7 @@ export default async function Page({const MDX = mdxData.body;return (- <DocsPage toc={mdxData.toc} full={mdxData.full} footer={{ enabled: false }}>+ <DocsPage toc={mdxData.toc} full={mdxData.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}><DocsTitle>{mdxData.title}</DocsTitle><DocsDescription>{mdxData.description}</DocsDescription><DocsBody>diff --git a/fumadocs/lib/create-docs-page.tsx b/fumadocs/lib/create-docs-page.tsxindex 8e8a28447..a0836742a 100644--- a/fumadocs/lib/create-docs-page.tsx+++ b/fumadocs/lib/create-docs-page.tsx@@ -21,7 +21,7 @@ export function createDocsPage(source: Source) {const MDX = page.data.body;return (- <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }}>+ <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}><DocsTitle>{page.data.title}</DocsTitle><DocsDescription>{page.data.description}</DocsDescription><DocsBody>