Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 1bed921

Browse files
committed
chore: update comments of example
1 parent cb2a9ac commit 1bed921

File tree

1 file changed

+18
-39
lines changed

1 file changed

+18
-39
lines changed

example/.vuepress/config.js

+18-39
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ module.exports = {
44
theme: require.resolve('../../'),
55
themeConfig: {
66
/**
7-
* Ref: https://vuepress-theme-blog.ulivz.com/#dateFormat
7+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#dateformat
88
*/
99

1010
// dateFormat: 'YYYY-MM-DD',
1111

1212
/**
13-
* Ref: https://vuepress-theme-blog.ulivz.com/#nav
13+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#nav
1414
*/
1515

1616
// nav: [
@@ -29,7 +29,7 @@ module.exports = {
2929
// ],
3030

3131
/**
32-
* Ref: https://vuepress-theme-blog.ulivz.com/#footer
32+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#footer
3333
*/
3434
footer: {
3535
contact: [
@@ -90,7 +90,7 @@ module.exports = {
9090
],
9191
},
9292
/**
93-
* Ref: https://vuepress-theme-blog.ulivz.com/#directories
93+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#directories
9494
*/
9595

9696
// directories:[
@@ -109,7 +109,7 @@ module.exports = {
109109
// ],
110110

111111
/**
112-
* Ref: https://vuepress-theme-blog.ulivz.com/#frontmatters
112+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#frontmatters
113113
*/
114114

115115
// frontmatters: [
@@ -126,87 +126,66 @@ module.exports = {
126126
// ],
127127

128128
/**
129-
* Ref: https://vuepress-theme-blog.ulivz.com/#globalPagination
129+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#globalpagination
130130
*/
131131

132132
// globalPagination: {
133133
// lengthPerPage: 10,
134134
// },
135135

136136
/**
137-
* Ref: https://vuepress-theme-blog.ulivz.com/#sitemap
137+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#sitemap
138138
*/
139139
sitemap: {
140140
hostname: 'https://example.vuepress-theme-blog.ulivz.com/'
141141
},
142142
/**
143-
* Ref: https://vuepress-theme-blog.ulivz.com/#comment
143+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#comment
144144
*/
145145
comment: {
146146
service: 'disqus',
147147
shortname: 'vuepress-plugin-blog',
148148
},
149149
/**
150-
* Ref: https://vuepress-theme-blog.ulivz.com/#newsletter
150+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#newsletter
151151
*/
152152
newsletter: {
153153
endpoint: 'https://billyyyyy3320.us4.list-manage.com/subscribe/post?u=4905113ee00d8210c2004e038&id=bd18d40138'
154154
},
155155
/**
156-
* Ref: https://vuepress-theme-blog.ulivz.com/#feed
156+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#feed
157157
*/
158-
feed:{
159-
canonical_base:'https://example.vuepress-theme-blog.ulivz.com/',
158+
feed: {
159+
canonical_base: 'https://example.vuepress-theme-blog.ulivz.com/',
160160
},
161161

162162
/**
163-
* Ref: https://vuepress-theme-blog.ulivz.com/#modifyblogpluginoptions
164-
*/
165-
166-
// modifyBlogPluginOptions (blogPluginOptions) {
167-
// const sitemap = {
168-
// hostname: 'https://yourdomain'
169-
// }
170-
171-
// const comment = {
172-
// service: 'disqus',
173-
// shortname: 'vuepress-plugin-blog',
174-
// }
175-
176-
// const newsletter = {
177-
// endpoint:'https://billyyyyy3320.us4.list-manage.com/subscribe/post?u=4905113ee00d8210c2004e038&id=bd18d40138'
178-
// }
179-
180-
// return { ...blogPluginOptions, sitemap, comment, newsletter }
181-
// },
182-
183-
/**
184-
* Ref: https://vuepress-theme-blog.ulivz.com/#summary
163+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#summary
185164
*/
186165

187166
// summary:false,
188167

189168
/**
190-
* Ref: https://vuepress-theme-blog.ulivz.com/#summarylength
169+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#summarylength
191170
*/
192171

193172
// summaryLength:100,
194173

195174
/**
196-
* Ref: https://vuepress-theme-blog.ulivz.com/#pwa
175+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#pwa
197176
*/
198177

199178
// pwa:true,
200179

201180
/**
202-
* Ref: https://vuepress-theme-blog.ulivz.com/#paginationcomponent
181+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#paginationcomponent
203182
*/
204183

205184
// paginationComponent: 'SimplePagination'
206185

207186
/**
208-
* Ref: https://vuepress-theme-blog.ulivz.com/#smoothscroll
187+
* Ref: https://vuepress-theme-blog.ulivz.com/config/#smoothscroll
209188
*/
210-
smoothScroll:true
189+
smoothScroll: true
211190
},
212191
}

0 commit comments

Comments
 (0)