From 593de8a9131a8b4801932345e1d76df58a8c9e63 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Tue, 4 Jun 2024 11:26:40 -0700 Subject: [PATCH] docs[patch]: Add robots.txt and root sitemap (#22492) CC @efriis @baskaryan --- docs/static/robots.txt | 3 +++ docs/vercel.json | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 docs/static/robots.txt diff --git a/docs/static/robots.txt b/docs/static/robots.txt new file mode 100644 index 0000000000000..87fdd2eecd0d3 --- /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 4338ce40bb952..ce3c7ba1786e2 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": [