langchain/docs/vercel.json
2024-07-10 15:18:00 -07:00

67 lines
1.6 KiB
JSON

{
"buildCommand": "yarn build",
"outputDirectory": "build",
"ignoreCommand": "bash ignore-step.sh",
"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*"
},
{
"source": "/robots.txt(/?)",
"destination": "/v0.2/robots.txt/"
},
{
"source": "/sitemap.xml(/?)",
"destination": "/v0.2/sitemap.xml/"
}
],
"redirects": [
{
"source": "/v0.2/docs/integrations/llms/llm_caching(/?)",
"destination": "/v0.2/docs/integrations/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/integrations/:path(.*/?)*",
"destination": "/v0.2/docs/integrations/:path*"
},
{
"source": "/docs/:path(.*/?)*",
"destination": "/v0.1/docs/:path*"
},
{
"source": "/cookbook(/?)",
"destination": "/v0.1/docs/cookbook/"
}
]
}