feat: 添加多语言支持和更新文档内容
This commit is contained in:
1 parent
0c22cda478
commit
f62e5710ce
7 files changed
+124
-19
No files matched your search
+40
-16
@@ -1,22 +1,46 @@
|
||||
export default {
|
||||
base: '/license-manager-docs/', // 改成你的仓库名
|
||||
title: 'License Manager 文档',
|
||||
description: 'License Manager 使用文档',
|
||||
|
||||
|
||||
locales: {
|
||||
root: {
|
||||
label: '简体中文',
|
||||
lang: 'zh-CN',
|
||||
title: 'License Manager 文档',
|
||||
description: 'License Manager 使用文档',
|
||||
},
|
||||
en: {
|
||||
label: 'English',
|
||||
lang: 'en-US',
|
||||
title: 'License Manager Documentation',
|
||||
description: 'License Manager Documentation',
|
||||
}
|
||||
},
|
||||
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{ text: '首页', link: '/' },
|
||||
{ text: '指南', link: '/guide/' }
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: '开始',
|
||||
items: [
|
||||
{ text: '介绍', link: '/guide/' },
|
||||
{ text: '快速开始', link: '/guide/getting-started' }
|
||||
]
|
||||
locales: {
|
||||
root: {
|
||||
nav: [
|
||||
{ text: '首页', link: '/' },
|
||||
{ text: '指南', link: '/guide/' }
|
||||
],
|
||||
sidebar: {
|
||||
'/guide/': [
|
||||
{ text: '介绍', link: '/guide/' }
|
||||
]
|
||||
}
|
||||
},
|
||||
en: {
|
||||
nav: [
|
||||
{ text: 'Home', link: '/en/' },
|
||||
{ text: 'Guide', link: '/en/guide/' }
|
||||
],
|
||||
sidebar: {
|
||||
'/en/guide/': [
|
||||
{ text: 'Introduction', link: '/en/guide/' }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user