From 09919c2cd5398068c43662ff3acf2f5c21c35747 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 16 May 2024 17:01:34 -0700 Subject: [PATCH] docs: version dropdown (#21784) --- docs/docusaurus.config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index ce906f4616c79..a9ef56bb35604 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -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: "🦜️🔗",