Skip to content

aJiea/plugin-disqus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disqus integration for GitBook

Install the Disqus plugin via NPM, which should be installed globally using the -g option:

$ npm install gitbook-plugin-disqus -g

As you are installing globally, you may need to put sudo in front of the command, sudo npm install gitbook-plugin-disqus -g

To use the Disqus plugin in your Gitbook project, add the disqus plugin to the book.json file, along with your shortname (you create a shortname for disqus by creating a new website on the disqus.com website)

{
    "plugins": ["disqus"],
    "pluginsConfig": {
        "disqus": {
            "shortName": "XXXXXXX"
        }
    }  
}

The --plugins option to the Gitbook serve and build commands has been depreciated.

Thank you.

About

Disqus comments on your books

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%