gitbook-plugin-theme-help-docs
v1.1.2
Published
A Gitbook theme
Downloads
5
Readme
配置
整体配置
{
"plugins": [
"helpcenter-docs"
],
"variables": {
"helpDocs":{
"nav":[
{
"url": "https://www.baidu.com",
"target": "_blank",
"name": "百度一下"
},
// { ... }
]
},
},
"pluginsConfig": {
"helpDocs":{
"favicon": "./favicon.ico",
"logo":"./logo.png",
"search-placeholder":"输入关键字搜索",
"copyButtons": true,
"copyLines": true,
"dragSplitter": true,
"hide-elements": [
".summary .gitbook-link"
],
"flexible-linkcard": {
"title": "flexible-linkcard",
"hrefUrl": "https://github.com/HaoqiangChen/gitbook-plugin-flexible-linkcard",
"target": "_blank",
"imgSrc": "./book/logo.png",
"imgClass": "rect"
}
}
}
}