update plugins

This commit is contained in:
Neucrack
2018-05-10 15:21:20 +08:00
parent 56f1d0e08d
commit 15d81b0ca4
2 changed files with 74 additions and 40 deletions

3
.gitignore vendored
View File

@@ -0,0 +1,3 @@
.build
node_modules
_book

111
book.json
View File

@@ -1,41 +1,72 @@
{ {
"title":"GPRS C SDK DOC", "title":"GPRS C SDK DOC",
"description": "GPRS C SDK 文档", "description": "GPRS C SDK 文档",
"author":"Ai-Thinker", "author":"Ai-Thinker",
"language": "zh-hans", "language": "zh-hans",
"root":".", "root":".",
"plugins": [ "plugins": [
"github", "github",
"splitter", "splitter",
"github-buttons", "fontsettings",
"ad", "-search",
"-search", "search-pro",
"search-pro", "edit-link",
"simple-page-toc" "page-toc-button",
], "sharing",
"pluginsConfig": { "my-toolbar"
"github": { ],
"url": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC" "pluginsConfig": {
}, "github": {
"github-buttons": { "url": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC"
"buttons": [{ },
"user": "Ai-Thinker-Open", "search-pro": {
"repo": "GPRS_C_SDK", "cutWordLib": "nodejieba",
"type": "star", "defineWord" : ["Gitbook Use"]
"size": "large" },
}] "simple-page-toc": {
}, "maxDepth": 4,
"ad": { "skipFirstH1": false
"contentTop": "<div><style>.lang{background: #222 url(overlay.png) repeat-x; display: inline-block; padding: 5px 10px 6px;color: #fff; text-decoration: none;-moz-border-radius: 6px; -webkit-border-radius: 6px;-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);text-shadow: 0 -1px 1px rgba(0,0,0,0.25);border-bottom: 1px solid rgba(0,0,0,0.25);position: relative;cursor: pointer;background-color: #bdbdbd;font-size: 14px;padding: 8px 14px 9px; } .lang:hover{background-color: #9c9c9c; }</style> <a class='lang'>English</a></div>", },
"contentBottom": "" "edit-link": {
}, "base": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC/blob/master",
"search-pro": { "label": ""
"cutWordLib": "nodejieba", },
"defineWord" : ["Gitbook Use"] "page-toc-button": {
}, "maxTocDepth": 2,
"simple-page-toc": { "minTocSize": 2
"maxDepth": 3, },
"skipFirstH1": true "sharing": {
} "weibo": true,
} "facebook": true,
"twitter": true,
"google": false,
"instapaper": false,
"vk": false,
"all": [
"weibo",
"facebook",
"twitter",
"google",
"instapaper",
"vk"
]
},
"my-toolbar": {
"buttons": [
{
"label": "English",
"text":"English",
"icon": "fa fa-language",
"position": "left",
"target": "_self",
"url": "https://ai-thinker-open.github.io/GPRS_C_SDK_DOC/en"
}
]
},
"fontsettings": {
"theme": "white",
"family": "sans",
"size": 2
}
}
} }