We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00f304b commit 818eab1Copy full SHA for 818eab1
book.json
howtouse/gitbookcli.md
@@ -6,7 +6,7 @@ Gitbook是一个命令行工具,使用方法:
6
**本地预览**
7
8
```bash
9
-$ gitbook serve ./图书名称名
+$ gitbook serve ./图书名称
10
```
11
12
**输出一个静态网站**
output/outfile.md
@@ -5,7 +5,7 @@
5
**本地预览时自动生成**
-当你在自己的电脑上编辑好图书之后,你可以使用gitbook的命令行进行本地预览:
+当你在自己的电脑上编辑好图书之后,你可以使用Gitbook的命令行进行本地预览:
$ gitbook serve ./图书目录
to_gh.sh
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+
3
+gitbook build .
4
+cp -rf _book/* ~/tmp/gitbook
+cd ~/tmp/gitbook
+git add .
+git ci -m 'pub'
+git push origin gh-pages
0 commit comments