fix(docs): home page quick-start 404 and markdown [[toc]] fail

This commit is contained in:
BaldHead 2024-06-19 14:25:36 +08:00
parent 5bda5c8c87
commit fba8aca398
2 changed files with 11 additions and 5 deletions

View File

@ -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: '简体中文',

View File

@ -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