mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 15:43:54 +00:00
docs: rewrite old home, fix v0.1 infinite redirect (#21936)
This commit is contained in:
parent
1418d3af00
commit
6b97418836
@ -3,6 +3,10 @@
|
|||||||
"outputDirectory": "build",
|
"outputDirectory": "build",
|
||||||
"trailingSlash": true,
|
"trailingSlash": true,
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
|
{
|
||||||
|
"source": "/v0.1",
|
||||||
|
"destination": "https://langchain-v01.vercel.app/v0.1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/v0.1/:path(.*/?)*",
|
"source": "/v0.1/:path(.*/?)*",
|
||||||
"destination": "https://langchain-v01.vercel.app/v0.1/:path*"
|
"destination": "https://langchain-v01.vercel.app/v0.1/:path*"
|
||||||
@ -25,6 +29,10 @@
|
|||||||
"source": "/docs(/?)",
|
"source": "/docs(/?)",
|
||||||
"destination": "/v0.2/docs/introduction/"
|
"destination": "/v0.2/docs/introduction/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "/docs/get_started/introduction(/?)",
|
||||||
|
"destination": "/v0.2/docs/introduction/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/docs/:path(.*/?)*",
|
"source": "/docs/:path(.*/?)*",
|
||||||
"destination": "/v0.1/docs/:path*"
|
"destination": "/v0.1/docs/:path*"
|
||||||
|
Loading…
Reference in New Issue
Block a user