Gitbook search engine pro. (支持中文搜索)
Put this in your book.json:
{
"plugins": [
"-search",
"search-pro"
],
"pluginsConfig": {
"search-pro": {
"cutWordLib": "nodejieba",
"defineWord" : ["小需求","基础建设"]
}
}
}
And
gitbook install
gitbook build/serve
Thanks: nodejieba(中文分词功能)