From eaee492dbc60463a889e5594c1c5f1573c38eca0 Mon Sep 17 00:00:00 2001 From: Davis Chase <130488702+dev2049@users.noreply.github.com> Date: Fri, 16 Jun 2023 13:39:58 -0700 Subject: [PATCH] basic redirect (#6309) --- docs/docs_skeleton/vercel.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/docs_skeleton/vercel.json diff --git a/docs/docs_skeleton/vercel.json b/docs/docs_skeleton/vercel.json new file mode 100644 index 00000000..94bcf15d --- /dev/null +++ b/docs/docs_skeleton/vercel.json @@ -0,0 +1,13 @@ +{ + "redirects": [ + {"source": "/docs", "destination": "/"}, + {"source": "/docs/", "destination": "/"}, + {"source": "/en/latest/index.html", "destination": "/"}, + {"source": "/en/latest/modules/indexes/:path*", "destination": "/docs/modules/data_connection/:path*"}, + {"source": "/en/latest/modules/models.html", "destination": "/docs/modules/model_io/models/"}, + {"source": "/en/latest/modules/models/:path*", "destination": "/docs/modules/model_io/models/:path*"}, + {"source": "/en/latest/reference.html", "destination": "https://api.python.langchain.com"}, + {"source": "/en/latest/reference/:path*", "destination": "https://api.python.langchain.com/en/latest/:path*"}, + {"source": "/en/latest/:path*", "destination": "/docs/:path*"} + ] +} \ No newline at end of file