Skip to content

Commit dc04d4a

Browse files
committed
docs(coagents): make overview the index of travel tutorial and add redirect
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1 parent bf782dc commit dc04d4a

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

docs/content/docs/coagents/tutorials/ai-travel-app/overview.mdx renamed to docs/content/docs/coagents/tutorials/ai-travel-app/index.mdx

File renamed without changes.

docs/content/docs/coagents/tutorials/ai-travel-app/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Tutorial: AI Travel App",
33
"pages": [
4-
"overview",
4+
"index",
55
"step-1-checkout-repo",
66
"step-2-langgraph-agent",
77
"step-3-setup-copilotkit",

docs/next.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ const config = {
1212
SCARF_PIXEL_ID: process.env.SCARF_PIXEL_ID,
1313
CLERK_PUBLISHABLE_KEY: process.env.CLERK_PUBLISHABLE_KEY || "pk_live_Y2xlcmsuY29waWxvdGtpdC5haSQ",
1414
},
15+
16+
async redirects() {
17+
return [
18+
{
19+
source: '/coagents/tutorials/ai-travel-app/overview',
20+
destination: '/coagents/tutorials/ai-travel-app',
21+
permanent: true,
22+
},
23+
];
24+
},
1525
};
1626

1727
export default withMDX(config);

0 commit comments

Comments
 (0)