Skip to content

Commit

Permalink
fix(api_refs): Add v03 option to version dropdown (v0.2 branch) (#6751)
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul authored Sep 13, 2024
1 parent 1a944c4 commit d6afbd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api_refs/scripts/typedoc-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const SCRIPT_HTML = `<script>
// Injected into each page's HTML to add a dropdown to switch between versions.
const VERSION_DROPDOWN_HTML = `<div class="version-select">
<select id="version-dropdown" onchange="window.location.href=this.value;">
<option value="https://v03.api.js.langchain.com/">v0.3</option>
<option selected value="">v0.2</option>
<option value="https://v01.api.js.langchain.com/">v0.1</option>
</select>
Expand Down

0 comments on commit d6afbd0

Please sign in to comment.