Skip to content

Commit 708d545

Browse files
docs: turn the version banners into working cross-site links (#2396)
1 parent 732abe0 commit 708d545

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

docs/.vitepress/theme/Banner.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<div class="version-banner">
3-
You are viewing the in-development v2 documentation. The stable v1 docs are at
4-
<a href="https://ts.sdk.modelcontextprotocol.io/">ts.sdk.modelcontextprotocol.io</a>.
3+
Looking for the <a href="https://ts.sdk.modelcontextprotocol.io/" target="_self">v1 documentation</a>?
54
</div>
65
</template>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<div class="version-banner">
3-
You are viewing the v1.x documentation. The in-development v2 docs are at
4-
<a href="https://ts.sdk.modelcontextprotocol.io/v2/">/v2/</a>.
3+
Looking for the <a href="https://ts.sdk.modelcontextprotocol.io/v2/" target="_self">v2 beta documentation</a>?
54
</div>
65
</template>

0 commit comments

Comments
 (0)