8
import CustomSearchDialog from '@/components/custom-search-dialog';
9
import { ScrollReset } from '@/components/scroll-reset';
10
import { source, referenceSource } from '@/lib/source';
11
+import { TOOLKIT_COUNT_LABEL } from '@/lib/toolkit-count';
12
13
const defaultLinkSlugs: { slug: string[]; source: typeof source }[] = [
14
{ slug: ['quickstart'], source },
25
return [{ title: page.data.title, description: page.data.description ?? '', href: page.url }];
26
});
27
28
+const SITE_DESCRIPTION = `Build AI agents with ${TOOLKIT_COUNT_LABEL} tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.`;
29
+
30
export const metadata: Metadata = {
31
title: {
32
default: 'Composio Docs',
33
template: '%s | Composio',
34
},
32
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
35
+ description: SITE_DESCRIPTION,
36
metadataBase: new URL('https://docs.composio.dev'),
37
openGraph: {
38
title: 'Composio Docs',
36
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
39
+ description: SITE_DESCRIPTION,
40
siteName: 'Composio Docs',
41
type: 'website',
42
images: ['https://og.composio.dev/api/og?title=Composio%20Docs'],
44
twitter: {
45
card: 'summary_large_image',
46
title: 'Composio Docs',
44
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
47
+ description: SITE_DESCRIPTION,
48
images: ['https://og.composio.dev/api/og?title=Composio%20Docs'],
49
},
50
};
86
'@id': 'https://docs.composio.dev/#website',
87
url: 'https://docs.composio.dev',
88
name: 'Composio Docs',
86
- description: 'Build AI agents with 1000+ tools. Connect LLMs to external services like GitHub, Slack, Gmail, and more.',
89
+ description: SITE_DESCRIPTION,
90
publisher: { '@id': 'https://composio.dev/#organization' },
91
},
92
{