mirror of
https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC.git
synced 2025-10-14 19:28:36 +08:00
update plugins
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -0,0 +1,3 @@
|
|||||||
|
.build
|
||||||
|
node_modules
|
||||||
|
_book
|
||||||
|
65
book.json
65
book.json
@@ -7,35 +7,66 @@
|
|||||||
"plugins": [
|
"plugins": [
|
||||||
"github",
|
"github",
|
||||||
"splitter",
|
"splitter",
|
||||||
"github-buttons",
|
"fontsettings",
|
||||||
"ad",
|
|
||||||
"-search",
|
"-search",
|
||||||
"search-pro",
|
"search-pro",
|
||||||
"simple-page-toc"
|
"edit-link",
|
||||||
|
"page-toc-button",
|
||||||
|
"sharing",
|
||||||
|
"my-toolbar"
|
||||||
],
|
],
|
||||||
"pluginsConfig": {
|
"pluginsConfig": {
|
||||||
"github": {
|
"github": {
|
||||||
"url": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC"
|
"url": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC"
|
||||||
},
|
},
|
||||||
"github-buttons": {
|
|
||||||
"buttons": [{
|
|
||||||
"user": "Ai-Thinker-Open",
|
|
||||||
"repo": "GPRS_C_SDK",
|
|
||||||
"type": "star",
|
|
||||||
"size": "large"
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
"ad": {
|
|
||||||
"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": ""
|
|
||||||
},
|
|
||||||
"search-pro": {
|
"search-pro": {
|
||||||
"cutWordLib": "nodejieba",
|
"cutWordLib": "nodejieba",
|
||||||
"defineWord" : ["Gitbook Use"]
|
"defineWord" : ["Gitbook Use"]
|
||||||
},
|
},
|
||||||
"simple-page-toc": {
|
"simple-page-toc": {
|
||||||
"maxDepth": 3,
|
"maxDepth": 4,
|
||||||
"skipFirstH1": true
|
"skipFirstH1": false
|
||||||
|
},
|
||||||
|
"edit-link": {
|
||||||
|
"base": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC/blob/master",
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"page-toc-button": {
|
||||||
|
"maxTocDepth": 2,
|
||||||
|
"minTocSize": 2
|
||||||
|
},
|
||||||
|
"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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user