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

Commit ef3be4b

Browse files
committed
docs: fix comment example
1 parent 5cc09cf commit ef3be4b

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

docs/guide/getting-started.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -371,19 +371,17 @@ module.exports = {
371371
[
372372
'@vuepress/blog',
373373
{
374-
comment: [
375-
{
376-
// Which service you'd like to use
377-
service: 'vssue',
378-
// The owner's name of repository to store the issues and comments.
379-
owner: 'You',
380-
// The name of repository to store the issues and comments.
381-
repo: 'Your repo',
382-
// The clientId & clientSecret introduced in OAuth2 spec.
383-
clientId: 'Your clientId',
384-
clientSecret: 'Your clientSecret',
385-
},
386-
],
374+
comment: {
375+
// Which service you'd like to use
376+
service: 'vssue',
377+
// The owner's name of repository to store the issues and comments.
378+
owner: 'You',
379+
// The name of repository to store the issues and comments.
380+
repo: 'Your repo',
381+
// The clientId & clientSecret introduced in OAuth2 spec.
382+
clientId: 'Your clientId',
383+
clientSecret: 'Your clientSecret',
384+
},
387385
},
388386
],
389387
],
@@ -396,14 +394,12 @@ module.exports = {
396394
[
397395
'@vuepress/blog',
398396
{
399-
comment: [
400-
{
401-
// Which service you'd like to use
402-
service: 'disqus',
403-
// The owner's name of repository to store the issues and comments.
404-
shortname: 'vuepress-plugin-blog',
405-
},
406-
],
397+
comment: {
398+
// Which service you'd like to use
399+
service: 'disqus',
400+
// The owner's name of repository to store the issues and comments.
401+
shortname: 'vuepress-plugin-blog',
402+
},
407403
},
408404
],
409405
],

0 commit comments

Comments
 (0)