From 6b974188362c29de8c3c6ac565ead87aa06a827f Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 20 May 2024 13:44:41 -0700 Subject: [PATCH] docs: rewrite old home, fix v0.1 infinite redirect (#21936) --- docs/vercel.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/vercel.json b/docs/vercel.json index f735b37211..658faaf554 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -3,6 +3,10 @@ "outputDirectory": "build", "trailingSlash": true, "rewrites": [ + { + "source": "/v0.1", + "destination": "https://langchain-v01.vercel.app/v0.1" + }, { "source": "/v0.1/:path(.*/?)*", "destination": "https://langchain-v01.vercel.app/v0.1/:path*" @@ -25,6 +29,10 @@ "source": "/docs(/?)", "destination": "/v0.2/docs/introduction/" }, + { + "source": "/docs/get_started/introduction(/?)", + "destination": "/v0.2/docs/introduction/" + }, { "source": "/docs/:path(.*/?)*", "destination": "/v0.1/docs/:path*"