From 15d81b0ca41a82547538ef6e8a01308e92ce6de5 Mon Sep 17 00:00:00 2001 From: Neucrack Date: Thu, 10 May 2018 15:21:20 +0800 Subject: [PATCH] update plugins --- .gitignore | 3 ++ book.json | 111 ++++++++++++++++++++++++++++++++++------------------- 2 files changed, 74 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index e69de29..5a0d09a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +.build +node_modules +_book diff --git a/book.json b/book.json index d96215c..27eb8ca 100644 --- a/book.json +++ b/book.json @@ -1,41 +1,72 @@ -{ - "title":"GPRS C SDK DOC", - "description": "GPRS C SDK 文档", - "author":"Ai-Thinker", - "language": "zh-hans", - "root":".", - "plugins": [ - "github", - "splitter", - "github-buttons", - "ad", - "-search", - "search-pro", - "simple-page-toc" - ], - "pluginsConfig": { - "github": { - "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": "
English
", - "contentBottom": "" - }, - "search-pro": { - "cutWordLib": "nodejieba", - "defineWord" : ["Gitbook Use"] - }, - "simple-page-toc": { - "maxDepth": 3, - "skipFirstH1": true - } - } +{ + "title":"GPRS C SDK DOC", + "description": "GPRS C SDK 文档", + "author":"Ai-Thinker", + "language": "zh-hans", + "root":".", + "plugins": [ + "github", + "splitter", + "fontsettings", + "-search", + "search-pro", + "edit-link", + "page-toc-button", + "sharing", + "my-toolbar" + ], + "pluginsConfig": { + "github": { + "url": "https://github.com/Ai-Thinker-Open/GPRS_C_SDK_DOC" + }, + "search-pro": { + "cutWordLib": "nodejieba", + "defineWord" : ["Gitbook Use"] + }, + "simple-page-toc": { + "maxDepth": 4, + "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 + } + } } \ No newline at end of file