@devries-cameron20 / composio Mirror · read-only / commits / 609918aee
Fork 0

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): preserve dated Markdown changelog links through redirects

Brendan O'Leary committed Sep 10, 2026 at 11:27 UTC 609918aee21c199ed1f6045bdc85872036b759d9
2 files changed +14
docs/next.config.mjs
+11
@@ -224,6 +224,17 @@ const config = {
224 destination: '/docs/sandbox/remote',
225 permanent: true,
226 },
227 + // Preserve machine-readable release notes before the legacy HTML redirects.
228 + {
229 + source: '/docs/changelog/:path*.md',
230 + destination: '/llms.mdx/docs/changelog/:path*',
231 + permanent: true,
232 + },
233 + {
234 + source: '/docs/changelog/:path*.mdx',
235 + destination: '/llms.mdx/docs/changelog/:path*',
236 + permanent: true,
237 + },
238 {
239 source: '/docs/changelog',
240 destination: '/reference/changelog',
docs/tests/integration/changelog-discovery.test.ts
+3
@@ -15,4 +15,7 @@ test('an agent can discover the changelog and read a dated release', async () =>
15 expect(release.status).toBe(200);
16 expect(release.headers.get('content-type')).toContain('text/markdown');
17 expect((await release.text()).length).toBeGreaterThan(200);
18 + const mdx = await fetchPage(dated![1].replace(/\.md$/, '.mdx'));
19 + expect(mdx.status).toBe(200);
20 + expect(mdx.headers.get('content-type')).toContain('text/markdown');
21 });