diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue
index b43cc8523..0f1317dc6 100644
--- a/docs/.vitepress/theme/Layout.vue
+++ b/docs/.vitepress/theme/Layout.vue
@@ -4,21 +4,38 @@ Layout
diff --git a/docs/.vitepress/theme/utils.ts b/docs/.vitepress/theme/utils.ts
index effb68dd6..501e6b5b5 100644
--- a/docs/.vitepress/theme/utils.ts
+++ b/docs/.vitepress/theme/utils.ts
@@ -43,3 +43,10 @@ export function getSidebarIcon(iconMap) {
}
})
}
+
+export function setVersionOnPage(path, currentVersion) {
+ currentVersion.value = path.includes('/v0.3/') ? 'V0.3' : 'V0.4'
+ const div = document.querySelector('.VPNavBarMenuGroup')
+ const targetElement = div.childNodes[0].childNodes[0].childNodes[1]
+ targetElement.innerText = currentVersion.value
+}
diff --git a/docs/en/config/index.ts b/docs/en/config/index.ts
index 3cb4bf54d..936d51611 100644
--- a/docs/en/config/index.ts
+++ b/docs/en/config/index.ts
@@ -37,7 +37,7 @@ export const enConfig = async () => ({
},
{
// TODO change version
- text: 'The Version Of History',
+ text: 'All Versions',
items: [
{
text: `${LATEST_VERSION}(latest)`,