Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjikai committed Jan 15, 2017
1 parent 1b4aed5 commit 9a5ceba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 47 deletions.
42 changes: 1 addition & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,5 @@
* [GitBook Documentation](http://help.gitbook.com/)

---

1. [安装](installation.md)
2. [命令](commands.md)
3. [配置](#配置)
4. [插件](#插件)

### [配置](settings.md)
* [title - 标题](settings.md#title)
* [author - 作者信息](settings.md#author)
* [description - 书本描述](settings.md#description)
* [language - 使用的语言](settings.md#language)
* [links - 在侧边栏添加链接](settings.md#links)
* [styles - 自定义样式](settings.md#styles)
* [plugins - 插件](settings.md#plugins)
* [pluginsConfig - 插件配置](settings.md#pluginsconfig)
* [gitbook - 指定gitbook版本](settings.md#gitbook)

### [插件](plugins.md)
* [Disqus - Disqus评论](plugins.md#disqus)
* [duoshuo - 多说](plugins.md#duoshuo)
* [Search Pro - 支持中文搜索](plugins.md#search-pro)
* [Advanced Emoji - 支持emoji表情](plugins.md#advanced-emoji)
* [Github - 添加github图标](plugins.md#github)
* [Ace Plugin - 支持ace](plugins.md#ace-plugin)
* [Emphasize - 强调文字(为文字加上底色)](plugins.md#ace-plugin)
* [KaTex - 支持数学公式](plugins.md#katex)
* [Include Codeblock - 使用代码块显示指定文件的内容](plugins.md#include-codeblock)
* [Splitter - 自由调节侧边栏宽度](plugins.md#splitter)
* [Mermaid -支持渲染Mermaid图表](plugins.md#mermaid)
* [sharing - 分享](plugins.md#sharing)
* [Tbfed-pagefooter - 为页面添加页脚](plugins.md#tbfedpagefooter)
* [Toggle Chapters - 折叠章节](plugins.md#toggle-chapters)
* [Sectionx - 将页面分块显示](plugins.md#sectionx)
* [Codeblock-filename - 为代码块添加文件名称](plugins.md#codeblockfilename)
* [ga - google 统计](plugins.md#ga)
* [baidu - 百度统计](plugins.md#baidu)
* [donate - 打赏](plugins.md#donate)
* [Local Video - 使用Video.js播放视频](plugins.md#local-video)
* [toc - 自动生成目录](plugins.md#toc)
* [Edit Link - 链接到当前页源文件上](plugins.md#edit-link)
* [sitemap - 生成sitemap](plugins.md#sitemap)
> 如若转载请标明出处.
13 changes: 7 additions & 6 deletions book.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"gitbook" : "2.6.4",
"links" : {
"sidebar" : {
"Home" : "http://zhangjikai.com"
"Home" : "https://zhangjikai.com"
}
},
"plugins": [
Expand All @@ -31,7 +31,8 @@
"donate",
"local-video",
"toc",
"edit-link"
"edit-link",
"[email protected]"

],
"pluginsConfig": {
Expand Down Expand Up @@ -60,7 +61,7 @@
},

"tbfed-pagefooter": {
"copyright":"Copyright &copy zhangjikai.com 2015",
"copyright":"Copyright &copy zhangjikai.com 2017",
"modify_label": "该文件修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
},
Expand All @@ -69,12 +70,12 @@
"token" : "ff100361cdce95dd4c8fb96b4009f7bc"
},
"sitemap": {
"hostname": "http://gitbook.zhangjikai.com"
"hostname": "https://gitbook.zhangjikai.com"
},

"donate": {
"wechat": "http://zhangjikai.com/resource/weixin.png",
"alipay": "http://zhangjikai.com/resource/alipay.png",
"wechat": "https://zhangjikai.com/resource/weixin.png",
"alipay": "https://zhangjikai.com/resource/alipay.png",
"title": "",
"button": "",
"alipayText": "支付宝打赏",
Expand Down
16 changes: 16 additions & 0 deletions plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@
}
```

如果安装时提示
```
error: [email protected] install: `node-gyp rebuild`
Exit status 1
```
在 Ubuntu 下的解决方案为:
* 删除 `nodejieba`
```
sudo npm uninstall -g nodejieba
```
* 删除主目录下的 `.node-gyp` 文件夹
* 重新安装 `nodejieba`
```
sudo npm install -g [email protected]
```

### Advanced Emoji
支持emoji表情
[emoij表情列表](http://www.emoji-cheat-sheet.com/)
Expand Down

0 comments on commit 9a5ceba

Please sign in to comment.