Skip to content

The agent engineering platform.

docs[patch]: Add robots.txt and root sitemap (#22492)

Jacob Lee593de8a9131a
diff --git a/docs/static/robots.txt b/docs/static/robots.txt
new file mode 100644
index 0000000000..87fdd2eecd
--- /dev/null
+++ b/docs/static/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+
+Sitemap: https://python.langchain.com/sitemap.xml/
\ No newline at end of file
diff --git a/docs/vercel.json b/docs/vercel.json
index 4338ce40bb..ce3c7ba178 100644
--- a/docs/vercel.json
+++ b/docs/vercel.json
@@ -10,6 +10,14 @@
{
"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": [