config.js
4.08 KB
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
module.exports = {
title: '鲁班H5',
base: '/luban-h5/',
locales: {
'/': {
lang: 'en-US',
// description: 'OpenSource Mobile Page Builder&Generator with Drag&Drop\r\n前后端均开源的H5制作平台,类似易企秀、百度H5、Maka、人人秀',
description: 'OpenSource Mobile Page Builder&Generator',
},
'/zh/': {
lang: 'zh-CN',
// description: '前后端均开源的H5制作平台,类似易企秀、百度H5、Maka、人人秀',
},
},
serviceWorker: {},
themeConfig: {
repo: 'ly525/luban-h5',
lastUpdated: 'Last Updated',
editLinks: true,
docsDir: 'docs',
docsBranch: 'dev',
serviceWorker: {
updatePopup: {
message: 'New content is available.',
buttonText: 'Refresh',
},
},
locales: {
'/': {
selectText: 'Languages',
label: 'English',
editLinkText: 'Edit this page on GitHub',
nav: [
// { text: 'Guide', link: '/guide/' },
// { text: 'Config', link: '/config/' },
// { text: 'API', link: '/api/' },
{ text: 'Website', link: 'https://api.luban-h5.wxjcart.com/' },
{ text: 'Changelog', link: 'https://github.com/ly525/luban-h5/releases' },
],
sidebar: {
'/': [
{
collapsable: false,
title: '🚀 Getting started',
children: [
'/en/getting-started/introduction',
'/en/getting-started/features',
'/en/getting-started/quick-start',
'/en/getting-started/deployment',
'/en/getting-started/discussion',
],
},
{
collapsable: true,
title: '💡Implementation',
children: [
'/en/implementation/code-structure',
'/en/implementation/form-submit',
],
},
{
collapsable: true,
title: '🔌 Local plugins',
children: [
'/en/plugin-development/quick-start',
],
},
],
},
},
'/zh/': {
selectText: '选择语言',
label: '简体中文',
editLinkText: '在 GitHub 上编辑此页',
nav: [
// { text: '指南', link: '/zh/guide/' },
// { text: '配置', link: '/zh/config/' },
// { text: 'API', link: '/zh/api/' },
// { text: '插件', link: '/zh/plugin/' },
{ text: '首页', link: 'https://api.luban-h5.wxjcart.com/' },
{ text: '发布日志', link: 'https://github.com/ly525/luban-h5/releases' },
],
sidebar: {
'/': [
{
collapsable: false,
title: '🚀 Getting started',
children: [
'/zh/getting-started/introduction',
'/zh/getting-started/features',
'/zh/getting-started/quick-start',
'/zh/getting-started/deployment',
'/zh/getting-started/discussion',
],
},
{
collapsable: false,
title: '💡实现原理',
children: [
'/zh/implementation/code-structure',
'/zh/implementation/form-submit',
],
},
{
collapsable: true,
title: '🔌 Local plugins',
children: [
'/zh/plugin-development/quick-start',
],
},
],
},
},
},
},
plugins: {
'@vssue/vuepress-plugin-vssue': {
// 设置 `platform` 而不是 `api`
platform: 'github',
locale: 'zh',
// 其他的 Vssue 配置
owner: 'ly525',
repo: 'luban-h5-community',
clientId: '95a13445d2ed9ca9a800',
clientSecret: '08bbe2bf798d61f2814c8d4914c5fff145f4904e',
prefix: '[From Comment]',
},
},
// plugins: [
// [
// '@vuepress/google-analytics',
// {
// ga: 'UA-149864185-1',
// },
// ],
// ],
};