langchain/docs/vercel.json

79 lines
2.1 KiB
JSON

{
"buildCommand": "yarn build",
"outputDirectory": "build",
"ignoreCommand": "bash ignore-step.sh",
"trailingSlash": true,
"rewrites": [
{
"source": "/docs/integrations(/?)",
"destination": "/docs/integrations/platforms/"
},
{
"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": "/v0.2",
"destination": "https://langchain-v02.vercel.app/v0.2"
},
{
"source": "/v0.2/:path(.*/?)*",
"destination": "https://langchain-v02.vercel.app/v0.2/:path*"
}
],
"redirects": [
{
"source": "/docs/modules/agents/tools/custom_tools(/?)",
"destination": "/docs/how_to/custom_tools/"
},
{
"source": "/docs/expression_language(/?)",
"destination": "/docs/concepts/#langchain-expression-language-lcel"
},
{
"source": "/docs/expression_language/interface(/?)",
"destination": "/docs/concepts/#runnable-interface"
},
{
"source": "/docs/versions/overview(/?)",
"destination": "/docs/versions/v0_2/overview/"
},
{
"source": "/docs/how_to/tool_calls_multi_modal(/?)",
"destination": "/docs/how_to/multimodal_inputs/"
},
{
"source": "/docs/langsmith(/?)",
"destination": "https://docs.smith.langchain.com/"
},
{
"source": "/docs/langgraph(/?)",
"destination": "https://langchain-ai.github.io/langgraph"
},
{
"source": "/",
"destination": "/docs/introduction/"
},
{
"source": "/docs(/?)",
"destination": "/docs/introduction/"
},
{
"source": "/docs/get_started/introduction(/?)",
"destination": "/docs/introduction/"
},
{
"source": "/docs/how_to/migrate_chains(/?)",
"destination": "/docs/versions/migrating_chains"
},
{
"source": "/v0.2/docs/templates/:path(.*/?)*",
"destination": "https://github.com/langchain-ai/langchain/tree/master/templates/:path*"
}
]
}