Skip to content

Commit 818eab1

Browse files
committedMay 18, 2014
f
1 parent 00f304b commit 818eab1

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
 

‎book.json

Whitespace-only changes.

‎howtouse/gitbookcli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Gitbook是一个命令行工具,使用方法:
66
**本地预览**
77

88
```bash
9-
$ gitbook serve ./图书名称名
9+
$ gitbook serve ./图书名称
1010
```
1111

1212
**输出一个静态网站**

‎output/outfile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
**本地预览时自动生成**
77

8-
当你在自己的电脑上编辑好图书之后,你可以使用gitbook的命令行进行本地预览
8+
当你在自己的电脑上编辑好图书之后,你可以使用Gitbook的命令行进行本地预览
99

1010
```bash
1111
$ gitbook serve ./图书目录

‎to_gh.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
gitbook build .
4+
cp -rf _book/* ~/tmp/gitbook
5+
cd ~/tmp/gitbook
6+
git add .
7+
git ci -m 'pub'
8+
git push origin gh-pages

0 commit comments

Comments
 (0)
Please sign in to comment.