docs: version dropdown (#21784)

This commit is contained in:
Erick Friis 2024-05-16 17:01:34 -07:00 committed by GitHub
parent 685c13e157
commit 09919c2cd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,6 +204,21 @@ const config = {
},
]
},
{
type: "dropdown",
label: "v0.2",
position: "right",
items: [
{
label: "v0.2",
href: "/docs/introduction"
},
{
label: "v0.1",
href: "https://python.langchain.com/v0.1/docs/get_started/introduction"
}
]
},
{
type: "dropdown",
label: "🦜️🔗",