docs(core): add nav for v0

This commit is contained in:
yutao 2025-12-12 14:46:14 +08:00
parent 35b08837a1
commit 0a699106f9
3 changed files with 21 additions and 2 deletions

View File

@ -42,6 +42,25 @@ export default defineConfig({
docRepoBaseUrl:
'https://github.com/web-infra-dev/midscene/tree/main/apps/site/docs',
},
nav: [
{
text: 'Versions',
items: [
{
text: 'Changelog',
link: 'https://midscenejs.com/changelog',
},
{
text: 'Midscene.js v0.x',
link: 'https://v0.midscenejs.com',
},
{
text: 'Midscene.js v1.x',
link: 'https://midscenejs.com',
},
],
},
],
sidebar: {
'/': [
{

View File

@ -11,7 +11,7 @@ export const EN_US = {
activeUsers: 'No.2 in Github trending',
// Banner - CTA Buttons
introduction: 'Get Started',
introduction: 'Documentation',
whatsNew: "What's New",
// Feature Sections - CLIENTS

View File

@ -13,7 +13,7 @@ export const ZH_CN: Record<keyof typeof EN_US, string> = {
activeUsers: 'Github 趋势榜第2名',
// Banner - CTA Buttons
introduction: '快速开始',
introduction: '使用文档',
whatsNew: '查看新特性',
// Feature Sections - CLIENTS