docs(coagents): make overview the index of travel tutorial and add redirect

Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
This commit is contained in:
Tyler Slaton
2024-12-11 18:17:44 -05:00
parent bf782dcba9
commit dc04d4ada1
3 changed files with 11 additions and 1 deletions
@@ -1,7 +1,7 @@
{
"title": "Tutorial: AI Travel App",
"pages": [
"overview",
"index",
"step-1-checkout-repo",
"step-2-langgraph-agent",
"step-3-setup-copilotkit",
+10
View File
@@ -12,6 +12,16 @@ const config = {
SCARF_PIXEL_ID: process.env.SCARF_PIXEL_ID,
CLERK_PUBLISHABLE_KEY: process.env.CLERK_PUBLISHABLE_KEY || "pk_live_Y2xlcmsuY29waWxvdGtpdC5haSQ",
},
async redirects() {
return [
{
source: '/coagents/tutorials/ai-travel-app/overview',
destination: '/coagents/tutorials/ai-travel-app',
permanent: true,
},
];
},
};
export default withMDX(config);