Commit Graph

817 Commits

Author SHA1 Message Date
Shin Kojima
dfe2104969 Add config as language file
This patch will change several behaviour while generating the ebook:

- `build.go` now accepts two environment variables: TMP, WORKDIR

    * TMP:

Temporary directory path.
The directory stores intermediate files like '*.html' or metadata.txt.

    * WORKDIR:

Script base directory.

- `config` as language file

config file will be `source`d to change its ebook metadata.

- `genepub.sh` is integrated to `build.sh` and `build.go`

See `FixHeader` and `RemoveFooterLink` functions.
2013-12-31 13:10:27 +09:00
astaxie
a0ca9d3556 Merge pull request #277 from LarryBattle/patch-1
Shorter example and formatting.
2013-12-02 17:49:06 -08:00
Larry Battle
7f37709985 Shorter example and formatting.
- Refactored the last example because it was too long.
- Output should be a comment.
2013-12-02 16:41:14 -06:00
astaxie
340e836312 Merge pull request #275 from LarryBattle/master
Corrected format for `Description`
2013-11-25 23:57:45 -08:00
Larry Battle
00da0c0428 Corrected format for Description
Corrected format for `Description`
2013-11-26 01:18:02 -06:00
astaxie
ea4da01926 Merge pull request #273 from 6yf/patch-5
微小改动
2013-11-23 19:17:45 -08:00
astaxie
09eec3897b Merge pull request #272 from 6yf/patch-4
“显示的”=>“显式的”; rob => Rob
2013-11-23 19:17:22 -08:00
astaxie
adacad23b0 Merge pull request #271 from 6yf/patch-3
A few typos & minor improvement: Sayhi => SayHi, etc.
2013-11-23 19:16:31 -08:00
astaxie
69db3f1f6a Merge pull request #270 from 6yf/patch-2
合并两次b.Volume()为一次调用
2013-11-23 19:15:54 -08:00
astaxie
db837c7a1c Merge pull request #269 from 6yf/patch-1
"2.5 面向对象"结尾处“共有”改为“公有”。
2013-11-23 19:14:58 -08:00
6yf
d84679fa2f 微小改动 2013-11-22 17:09:24 +08:00
6yf
c3111e47fc “显示的”=>“显式的”; rob => Rob 2013-11-22 16:34:16 +08:00
6yf
7587f3bc77 A few typos & minor improvement: Sayhi => SayHi, etc.
小细节改进。谢谢老谢分享的大作,很适合学习Go。
2013-11-22 16:12:41 +08:00
6yf
b72131c99f 合并两次b.Volume()为一次调用
合并两次b.Volume()为一次调用,培养注重效率的习惯,充分利用Go的if可设初始值的特性。
2013-11-22 14:59:57 +08:00
6yf
e9fe09175a Update 02.5.md
结尾处“共有”改为“公有”。
2013-11-22 14:35:02 +08:00
astaxie
b7b712d1ea Merge pull request #268 from ahjdzx1990/patch-1
Update 01.5.md
2013-11-16 03:03:12 -08:00
ahjdzx1990
4a16a02ccb Update 01.5.md
“然后结束了”改为“然后介绍了”
2013-11-16 17:51:55 +08:00
astaxie
63d55d8910 Merge pull request #267 from GitJason/master
fix typo
2013-11-13 08:13:41 -08:00
jasonz
3c0070062f fix typo 2013-11-14 00:09:12 +08:00
astaxie
941ccf64b0 Merge pull request #263 from vincepeng/patch-1
Update 01.4.md
2013-10-26 07:57:42 -07:00
vincent
55d70bd1db Update 01.4.md
补充sublime+gosublime插件无提示可能出现的情况及其解决方案
2013-10-26 15:37:39 +08:00
astaxie
fed55a2e4a Merge pull request #255 from dlintw/patch-4
describe thread safety of 'map'
2013-09-27 00:30:51 -07:00
Daniel YC Lin
722bd047ed describe thread safety of 'map' 2013-09-27 14:44:30 +08:00
astaxie
ead21b1f7c Update 02.2.md 2013-09-27 14:15:16 +08:00
astaxie
67414645f4 Merge pull request #254 from dlintw/patch-3
describe more about const
2013-09-26 22:54:20 -07:00
Daniel YC Lin
a9802a3aad describe more about const 2013-09-27 13:48:50 +08:00
astaxie
5251c0d5ba Merge pull request #253 from dlintw/patch-2
added vim tips link
2013-09-26 22:37:30 -07:00
Daniel YC Lin
746e687913 added vim tips link 2013-09-27 08:47:07 +08:00
astaxie
5c1609424f Merge pull request #252 from dlintw/patch-1
update for go 1.2rc1
2013-09-26 02:41:06 -07:00
Daniel YC Lin
34c9d90793 update for go 1.2rc1 2013-09-26 17:21:05 +08:00
astaxie
087d9e6a40 Merge pull request #245 from cloudaice/patch-1
Update 07.2.md
2013-08-27 05:09:45 -07:00
项超
e4f8b4b89d Update 07.2.md 2013-08-27 19:54:18 +08:00
astaxie
46106fc5cb Merge pull request #243 from gsaneryeeb/patch-1
Update 13.5.md
2013-08-26 05:28:29 -07:00
JasonZhang
72794fe6e3 Update 13.5.md
“上一章”显示的文字错误,应为“日志和配置设计”
2013-08-26 18:02:41 +08:00
astaxie
d469763de3 Update 05.5.md 2013-08-15 21:24:55 +08:00
astaxie
c5ddbacd37 Merge pull request #240 from erasin/master
让sublime支持项目本身pkg
2013-08-12 01:11:21 -07:00
era
fb1d713d95 让sublime支持项目本身pkg 2013-08-12 12:45:09 +08:00
astaxie
68d82a7e07 Merge pull request #238 from qinhanlei/patch-11
Update 09.6.md
2013-08-06 20:24:25 -07:00
WingStone
6b873df8f5 Update 09.6.md 2013-08-07 10:50:09 +08:00
astaxie
49f901cc35 Merge pull request #234 from qinhanlei/patch-10
Update 08.0.md
2013-07-29 05:38:46 -07:00
astaxie
3a66e59ebc Merge pull request #233 from qinhanlei/patch-9
Update 07.4.md
2013-07-29 05:38:16 -07:00
astaxie
487412da78 Merge pull request #232 from qinhanlei/patch-8
Update 07.6.md
2013-07-29 05:37:45 -07:00
WingStone
1b67c46d70 Update 08.0.md 2013-07-29 20:29:51 +08:00
WingStone
2a4a352161 Update 07.4.md 2013-07-29 20:29:04 +08:00
WingStone
9eeb929f9e Update 07.6.md 2013-07-29 20:25:00 +08:00
astaxie
6cff3fa0ff Merge pull request #227 from haibinpark/master
ip地址勘误
2013-07-22 22:13:56 -07:00
astaxie
b2ae52a3ef Merge pull request #228 from qinhanlei/patch-7
Update 07.2.md
2013-07-22 18:38:21 -07:00
WingStone
6f0a7df1fb Update 07.2.md 2013-07-23 08:58:12 +08:00
zhaohaibin
c42ef1f223 ip地址勘误
将55行的IP地址修改为192.168.145.5
2013-07-18 23:51:22 +08:00
astaxie
302ded017c Merge pull request #226 from zhengjia/master
Update 02.4.md
2013-07-18 01:21:01 -07:00