langchain/docs/vercel.json

54 lines
1.3 KiB
JSON

{
"buildCommand": "yarn build",
"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*"
}
],
"redirects": [
{
"source": "/docs/integrations/llms/llm_caching(/?)",
"destination": "docs/integration/llm_caching/"
},
{
"source": "/docs/how_to/tool_calls_multi_modal(/?)",
"destination": "/docs/how_to/multimodal_inputs/"
},
{
"source": "/v0.2/docs/langsmith(/?)",
"destination": "https://docs.smith.langchain.com/"
},
{
"source": "/v0.2/docs/langgraph(/?)",
"destination": "https://langchain-ai.github.io/langgraph"
},
{
"source": "/",
"destination": "/v0.2/docs/introduction/"
},
{
"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*"
},
{
"source": "/cookbook(/?)",
"destination": "/v0.1/docs/cookbook/"
}
]
}