forked from antfu/vitepress-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
66 lines (60 loc) · 1.44 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
module.exports = {
title: 'VitePress Playground',
themeConfig: {
editLink: {
repo: 'vuejs/vuex',
dir: 'docs',
branch: 'dev',
text: 'Edit me!!'
},
nav: [
{ text: 'Guide', link: '/guide/' },
{ text: 'Nested', link: '/guide/nested/', },
{ text: 'API Reference', link: '/api/' },
{ text: 'Release Notes', link: 'https://github.com/vuejs/vuex/releases' }
],
sidebar: {
'/guide/': [
{
text: 'Prologue',
children: [
{ text: 'Index', link: '/guide/' },
{ text: 'Getting Started', link: '/guide/getting-started' },
{ text: 'Guide Content', link: '/guide/guide-content' },
{ text: 'Content', link: '/guide/content' }
]
},
{
text: 'Contents',
children: [
{ text: 'Content', link: '/guide/content' }
]
}
],
'/guide/nested/': [
{
text: 'Nested',
children: [
{ text: 'Nested Index', link: '/guide/nested/index.md' },
{ text: 'Nested Something', link: '/guide/nested/something.md' }
]
}
],
'/api/': [
{
text: 'Models',
children: [
{ text: 'Model', link: '/api/model' }
]
}
]
},
locales: {
'/ja/': {
editLink: {
text: '編集する'
},
}
}
}
}