feat: 更新文档标题和描述,调整多语言支持的结构
This commit is contained in:
1 parent
b96559420c
commit
4ac2c8afd3
1 file changed
+44
-21
+44
-21
@@ -1,46 +1,69 @@
|
|||||||
export default {
|
export default {
|
||||||
title: 'License Manager 文档',
|
title: 'License Manager',
|
||||||
description: 'License Manager 使用文档',
|
description: 'License Manager Documentation',
|
||||||
|
base: '/license-manager-docs/', // 根据你的 GitHub 仓库名称调整
|
||||||
|
|
||||||
locales: {
|
locales: {
|
||||||
root: {
|
root: {
|
||||||
label: '简体中文',
|
label: '中文',
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
title: 'License Manager 文档',
|
themeConfig: {
|
||||||
description: 'License Manager 使用文档',
|
|
||||||
},
|
|
||||||
en: {
|
|
||||||
label: 'English',
|
|
||||||
lang: 'en-US',
|
|
||||||
title: 'License Manager Documentation',
|
|
||||||
description: 'License Manager Documentation',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
themeConfig: {
|
|
||||||
locales: {
|
|
||||||
root: {
|
|
||||||
nav: [
|
nav: [
|
||||||
{ text: '首页', link: '/' },
|
{ text: '首页', link: '/' },
|
||||||
{ text: '指南', link: '/guide/' }
|
{ text: '指南', link: '/guide/' }
|
||||||
],
|
],
|
||||||
sidebar: {
|
sidebar: {
|
||||||
'/guide/': [
|
'/guide/': [
|
||||||
{ text: '介绍', link: '/guide/' }
|
{
|
||||||
|
text: '指南',
|
||||||
|
items: [
|
||||||
|
{ text: '介绍', link: '/guide/' },
|
||||||
|
{ text: '快速开始', link: '/guide/getting-started' }
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
en: {
|
},
|
||||||
|
en: {
|
||||||
|
label: 'English',
|
||||||
|
lang: 'en-US',
|
||||||
|
themeConfig: {
|
||||||
nav: [
|
nav: [
|
||||||
{ text: 'Home', link: '/en/' },
|
{ text: 'Home', link: '/en/' },
|
||||||
{ text: 'Guide', link: '/en/guide/' }
|
{ text: 'Guide', link: '/en/guide/' }
|
||||||
],
|
],
|
||||||
sidebar: {
|
sidebar: {
|
||||||
'/en/guide/': [
|
'/en/guide/': [
|
||||||
{ text: 'Introduction', link: '/en/guide/' }
|
{
|
||||||
|
text: 'Guide',
|
||||||
|
items: [
|
||||||
|
{ text: 'Introduction', link: '/en/guide/' },
|
||||||
|
{ text: 'Getting Started', link: '/en/guide/getting-started' }
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
themeConfig: {
|
||||||
|
nav: [
|
||||||
|
{ text: 'Home', link: '/' },
|
||||||
|
{ text: 'Guide', link: '/guide/' }
|
||||||
|
],
|
||||||
|
|
||||||
|
sidebar: {
|
||||||
|
'/guide/': [
|
||||||
|
{
|
||||||
|
text: 'Guide',
|
||||||
|
items: [
|
||||||
|
{ text: 'Introduction', link: '/guide/' },
|
||||||
|
{ text: 'Getting Started', link: '/guide/getting-started' }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user