Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 13:30 UTC
fix(docs): remove landing page from sidebar
Brendan O'Leary committed
Sep 2, 2026 at 10:24 UTC
fd52bbccc2bd6eaf7552a1412080b16f474cae84
2 files changed
+5
-3
docs/lib/home-navigation.ts
-1
@@ -36,7 +36,6 @@ interface DocsProductConfig {
36
}
37
38
const SHARED_SIDEBAR_ITEMS = [
39
- { type: 'page', url: '/docs', label: 'Choose a product' },
39
{ type: 'folder', path: 'security', label: 'Security and data' },
40
] as const satisfies readonly ProductSidebarItem[];
41
docs/tests/static/product-navigation.test.ts
+5
-2
@@ -90,7 +90,7 @@ describe('Docs product navigation', () => {
90
expect(globalCss).toContain('@keyframes docs-product-fade-out');
91
});
92
93
- test('builds audience-specific trees and keeps shared pages in both', () => {
93
+ test('builds audience-specific trees and keeps shared resources in both', () => {
94
const forYouTree = buildProductPageTree(source.pageTree, 'for-you');
95
const platformTree = buildProductPageTree(source.pageTree, 'platform');
96
const forYouUrls = pageTreeUrls(forYouTree);
@@ -115,7 +115,10 @@ describe('Docs product navigation', () => {
115
}
116
expect(platformUrls).not.toContain('/docs/agent-plugins');
117
118
- for (const sharedUrl of ['/docs', '/docs/security/overview', '/docs/security/data-retention']) {
118
+ expect(forYouUrls).not.toContain('/docs');
119
+ expect(platformUrls).not.toContain('/docs');
120
+
121
+ for (const sharedUrl of ['/docs/security/overview', '/docs/security/data-retention']) {
122
expect(forYouUrls).toContain(sharedUrl);
123
expect(platformUrls).toContain(sharedUrl);
124
}