forked from vuejs/vue-test-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
150 lines (150 loc) · 3.54 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
module.exports = {
locales: {
'/': {
lang: 'en-US',
title: 'Vue Test Utils',
description: 'Utilities for testing Vue components'
},
'/ja/': {
lang: 'ja',
title: 'Vue Test Utils',
description: 'Vue コンポーネントをテストするためのユーティリティ'
},
'/zh/': {
lang: 'zh-CN',
title: 'Vue Test Utils',
description: '测试 Vue 组件的实用工具'
},
'/ru/': {
lang: 'ru',
title: 'Vue Test Utils',
description: 'Библиотека для тестирования Vue-компонентов'
}
},
plugins: ['@vuepress/pwa'],
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
['link', { rel: 'stylesheet', href: '/vueschool.css' }]
],
theme: '@vuepress/vue',
themeConfig: {
algolia: {
apiKey: 'ee1b8516c9e5a5be9b6c25684eafc42f',
indexName: 'vue_test_utils'
},
repo: 'vuejs/vue-test-utils',
docsDir: 'docs',
editLinks: true,
docsBranch: 'dev',
locales: {
'/': {
label: 'English',
selectText: 'Languages',
editLinkText: 'Edit this page on GitHub',
nav: [
{
text: 'API',
link: '/api/'
},
{
text: 'Guides',
link: '/guides/'
},
{
text: 'Upgrading to V1',
link: '/upgrading-to-v1/'
}
],
sidebar: [
'/',
'/installation/',
'/guides/',
'/api/',
'/api/wrapper/',
'/api/wrapper-array/',
'/api/options',
'/api/components/'
]
},
'/zh/': {
label: '简体中文',
selectText: '选择语言',
editLinkText: '在 GitHub 上编辑此页',
nav: [
{
text: 'API',
link: '/zh/api/'
},
{
text: '教程',
link: '/zh/guides/'
}
],
sidebar: [
'/zh/',
'/zh/installation/',
'/zh/guides/',
'/zh/api/',
'/zh/api/wrapper/',
'/zh/api/wrapper-array/',
'/zh/api/options',
'/zh/api/components/'
]
},
'/ja/': {
label: '日本語',
selectText: '言語',
editLinkText: 'GitHub 上でこのページを編集する',
nav: [
{
text: 'API',
link: '/ja/api/'
},
{
text: 'ガイド',
link: '/ja/guides/'
}
],
sidebar: [
'/ja/',
'/ja/installation/',
'/ja/guides/',
'/ja/api/',
'/ja/api/wrapper/',
'/ja/api/wrapper-array/',
'/ja/api/options',
'/ja/api/components/'
]
},
'/ru/': {
label: 'Русский',
selectText: 'Переводы',
editLinkText: 'Изменить эту страницу на GitHub',
nav: [
{
text: 'API',
link: '/ru/api/'
},
{
text: 'Руководства',
link: '/ru/guides/'
}
],
sidebar: [
'/ru/',
'/ru/installation/',
'/ru/guides/',
'/ru/api/',
'/ru/api/wrapper/',
'/ru/api/wrapper-array/',
'/ru/api/options',
'/ru/api/components/'
]
}
}
},
extendMarkdown: md => {
// use more markdown-it plugins!
md.use(require('markdown-it-include'))
}
}