mirror of
https://gitee.com/lxp135/minio-plus.git
synced 2025-12-07 01:18:22 +08:00
fix(docs): home page quick-start 404 and markdown [[toc]] fail
This commit is contained in:
parent
5bda5c8c87
commit
fba8aca398
@ -1,6 +1,12 @@
|
|||||||
import {defineConfig} from 'vitepress';
|
import {defineConfig} from 'vitepress';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
// 对 markdown 的配置
|
||||||
|
markdown: {
|
||||||
|
toc: {
|
||||||
|
level: [1, 2, 3, 4], // 指定标题的层级
|
||||||
|
}
|
||||||
|
},
|
||||||
locales: {
|
locales: {
|
||||||
root: {
|
root: {
|
||||||
label: '简体中文',
|
label: '简体中文',
|
||||||
@ -104,7 +110,7 @@ export default defineConfig({
|
|||||||
link: '/guide/released'
|
link: '/guide/released'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},{
|
}, {
|
||||||
text: '用户手册',
|
text: '用户手册',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -124,7 +130,7 @@ export default defineConfig({
|
|||||||
link: '/guide/user/custom'
|
link: '/guide/user/custom'
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},{
|
}, {
|
||||||
text: '开发者手册',
|
text: '开发者手册',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -152,7 +158,7 @@ export default defineConfig({
|
|||||||
link: '/guide/developers/contributors'
|
link: '/guide/developers/contributors'
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},{
|
}, {
|
||||||
text: '参考资料',
|
text: '参考资料',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
@ -164,7 +170,7 @@ export default defineConfig({
|
|||||||
link: '/guide/references/minio-s3-api'
|
link: '/guide/references/minio-s3-api'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},{
|
}, {
|
||||||
text: 'MinIO 研究',
|
text: 'MinIO 研究',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -14,7 +14,7 @@ hero:
|
|||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
text: 快速开始
|
text: 快速开始
|
||||||
link: /guide/quick-start
|
link: /guide/user/quick-start
|
||||||
- theme: alt
|
- theme: alt
|
||||||
text: 介绍
|
text: 介绍
|
||||||
link: /guide/intro
|
link: /guide/intro
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user