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
fix(docs): Add redirects for old Fern URLs returning 404
sohamganatrae28c09928c25
diff --git a/docs/next.config.mjs b/docs/next.config.mjsindex 33d5e6b3c..34eaf511f 100644--- a/docs/next.config.mjs+++ b/docs/next.config.mjs@@ -281,6 +281,42 @@ const config = {destination: '/toolkits/:path*',permanent: true,},+ // Old Fern documentation URLs+ {+ source: '/introduction/foundations/components/triggers/trigger-guide',+ destination: '/docs/triggers',+ permanent: true,+ },+ {+ source: '/toolkits/introduction',+ destination: '/docs/tools-and-toolkits',+ permanent: true,+ },+ {+ source: '/apps/usecases/crewai/:path*',+ destination: '/docs/providers/crewai',+ permanent: true,+ },+ {+ source: '/js-sdk/tools/execute',+ destination: '/docs/tools-direct/executing-tools',+ permanent: true,+ },+ {+ source: '/frameworks/others/:path*',+ destination: '/docs/providers',+ permanent: true,+ },+ {+ source: '/guides/examples/:path*',+ destination: '/examples',+ permanent: true,+ },+ {+ source: '/custom-tools/:path*',+ destination: '/docs/tools-direct/custom-tools',+ permanent: true,+ },// Error handling redirect (old fern URL){source: '/errors/error-handling',