Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

GitbookIO/plugin-sharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-sharing

This plugin adds sharing buttons in the GitBook website toolbar to share book on social networks.

Disable this plugin

This is a default plugin and it can be disabled using a book.json configuration:

{
    plugins: ["-sharing"]
}

Configuration

This plugin can be configured in the book.json:

Default configuration is:

{
    "pluginsConfig": {
        "sharing": {
            "facebook": true,
            "twitter": true,
            "google": false,
            "weibo": false,
            "instapaper": false,
            "vk": false,
            "all": [
                "facebook", "google", "twitter",
                "weibo", "instapaper"
            ]
        }
    }
}