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

CC @efriis @baskaryan
This commit is contained in:
Jacob Lee 2024-06-04 11:26:40 -07:00 committed by GitHub
parent 99a3cad258
commit 593de8a913
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

3
docs/static/robots.txt vendored Normal file
View File

@ -0,0 +1,3 @@
User-agent: *
Sitemap: https://python.langchain.com/sitemap.xml/

View File

@ -10,6 +10,14 @@
{ {
"source": "/v0.1/:path(.*/?)*", "source": "/v0.1/:path(.*/?)*",
"destination": "https://langchain-v01.vercel.app/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": [ "redirects": [