08-27-周三_17-09-29
This commit is contained in:
50
node_modules/gitbook-plugin-sharing-plus/README.md
generated
vendored
Normal file
50
node_modules/gitbook-plugin-sharing-plus/README.md
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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:
|
||||
|
||||
```js
|
||||
{
|
||||
"pluginsConfig": {
|
||||
"sharing": {
|
||||
"douban": false,
|
||||
"facebook": true,
|
||||
"google": false,
|
||||
"hatenaBookmark": false,
|
||||
"instapaper": false,
|
||||
"line": false,
|
||||
"linkedin": true,
|
||||
"messenger": false,
|
||||
"pocket": true,
|
||||
"qq": false,
|
||||
"qzone": false,
|
||||
"stumbleupon": false,
|
||||
"twitter": true,
|
||||
"viber": false,
|
||||
"vk": false,
|
||||
"weibo": false,
|
||||
"whatsapp": false,
|
||||
"all": [
|
||||
"facebook", "google", "twitter",
|
||||
"weibo", "instapaper", "linkedin",
|
||||
"pocket", "stumbleupon"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
Reference in New Issue
Block a user