Commit Graph

818 Commits

Author SHA1 Message Date
astaxie
c324280b2a Merge pull request #286 from ernix/i18n
Add `config` as language file
2013-12-30 20:38:13 -08:00
Shin Kojima
5d9b06f3d9 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
fbf722bfc4 Merge pull request #277 from LarryBattle/patch-1
Shorter example and formatting.
2013-12-02 17:49:06 -08:00
Larry Battle
837782153e 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
75dd700743 Merge pull request #275 from LarryBattle/master
Corrected format for `Description`
2013-11-25 23:57:45 -08:00
Larry Battle
6be27d951e Corrected format for Description
Corrected format for `Description`
2013-11-26 01:18:02 -06:00
astaxie
4a03e79485 Merge pull request #273 from 6yf/patch-5
微小改动
2013-11-23 19:17:45 -08:00
astaxie
8cd64b7ed0 Merge pull request #272 from 6yf/patch-4
“显示的”=>“显式的”; rob => Rob
2013-11-23 19:17:22 -08:00
astaxie
af3d980f90 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
815befafa8 Merge pull request #270 from 6yf/patch-2
合并两次b.Volume()为一次调用
2013-11-23 19:15:54 -08:00
astaxie
953697fdfb Merge pull request #269 from 6yf/patch-1
"2.5 面向对象"结尾处“共有”改为“公有”。
2013-11-23 19:14:58 -08:00
6yf
ce37382a9d 微小改动 2013-11-22 17:09:24 +08:00
6yf
0a828ae3ce “显示的”=>“显式的”; rob => Rob 2013-11-22 16:34:16 +08:00
6yf
cddb6efd03 A few typos & minor improvement: Sayhi => SayHi, etc.
小细节改进。谢谢老谢分享的大作,很适合学习Go。
2013-11-22 16:12:41 +08:00
6yf
3d562b202f 合并两次b.Volume()为一次调用
合并两次b.Volume()为一次调用,培养注重效率的习惯,充分利用Go的if可设初始值的特性。
2013-11-22 14:59:57 +08:00
6yf
1f63d7ed1d Update 02.5.md
结尾处“共有”改为“公有”。
2013-11-22 14:35:02 +08:00
astaxie
be4757bdcd Merge pull request #268 from ahjdzx1990/patch-1
Update 01.5.md
2013-11-16 03:03:12 -08:00
ahjdzx1990
45c26b76b5 Update 01.5.md
“然后结束了”改为“然后介绍了”
2013-11-16 17:51:55 +08:00
astaxie
0e6f59e712 Merge pull request #267 from GitJason/master
fix typo
2013-11-13 08:13:41 -08:00
jasonz
c32493a2cf fix typo 2013-11-14 00:09:12 +08:00
astaxie
3fefaa8400 Merge pull request #263 from vincepeng/patch-1
Update 01.4.md
2013-10-26 07:57:42 -07:00
vincent
00e69c6db7 Update 01.4.md
补充sublime+gosublime插件无提示可能出现的情况及其解决方案
2013-10-26 15:37:39 +08:00
astaxie
8b02c57fbe Merge pull request #255 from dlintw/patch-4
describe thread safety of 'map'
2013-09-27 00:30:51 -07:00
Daniel YC Lin
1bdeafd29c describe thread safety of 'map' 2013-09-27 14:44:30 +08:00
astaxie
99af7ff378 Update 02.2.md 2013-09-27 14:15:16 +08:00
astaxie
1c729948e6 Merge pull request #254 from dlintw/patch-3
describe more about const
2013-09-26 22:54:20 -07:00
Daniel YC Lin
193a3666c7 describe more about const 2013-09-27 13:48:50 +08:00
astaxie
90594e2769 Merge pull request #253 from dlintw/patch-2
added vim tips link
2013-09-26 22:37:30 -07:00
Daniel YC Lin
a5aacc9e73 added vim tips link 2013-09-27 08:47:07 +08:00
astaxie
dd8c904c5f Merge pull request #252 from dlintw/patch-1
update for go 1.2rc1
2013-09-26 02:41:06 -07:00
Daniel YC Lin
48687107f9 update for go 1.2rc1 2013-09-26 17:21:05 +08:00
astaxie
b167acae1b Merge pull request #245 from cloudaice/patch-1
Update 07.2.md
2013-08-27 05:09:45 -07:00
项超
71a28368e1 Update 07.2.md 2013-08-27 19:54:18 +08:00
astaxie
32d224e2f3 Merge pull request #243 from gsaneryeeb/patch-1
Update 13.5.md
2013-08-26 05:28:29 -07:00
JasonZhang
2e4ef30f03 Update 13.5.md
“上一章”显示的文字错误,应为“日志和配置设计”
2013-08-26 18:02:41 +08:00
astaxie
c67a4de077 Update 05.5.md 2013-08-15 21:24:55 +08:00
astaxie
b7ebca1faf Merge pull request #240 from erasin/master
让sublime支持项目本身pkg
2013-08-12 01:11:21 -07:00
era
29d8396c25 让sublime支持项目本身pkg 2013-08-12 12:45:09 +08:00
astaxie
da2009e0eb Merge pull request #238 from qinhanlei/patch-11
Update 09.6.md
2013-08-06 20:24:25 -07:00
WingStone
3fa764434e Update 09.6.md 2013-08-07 10:50:09 +08:00
astaxie
0f3c6b5649 Merge pull request #234 from qinhanlei/patch-10
Update 08.0.md
2013-07-29 05:38:46 -07:00
astaxie
697f044dae Merge pull request #233 from qinhanlei/patch-9
Update 07.4.md
2013-07-29 05:38:16 -07:00
astaxie
dfe6e07782 Merge pull request #232 from qinhanlei/patch-8
Update 07.6.md
2013-07-29 05:37:45 -07:00
WingStone
5b1a61bb30 Update 08.0.md 2013-07-29 20:29:51 +08:00
WingStone
846501a349 Update 07.4.md 2013-07-29 20:29:04 +08:00
WingStone
e8e895570f Update 07.6.md 2013-07-29 20:25:00 +08:00
astaxie
0331a89a05 Merge pull request #227 from haibinpark/master
ip地址勘误
2013-07-22 22:13:56 -07:00
astaxie
8bea7c0ec5 Merge pull request #228 from qinhanlei/patch-7
Update 07.2.md
2013-07-22 18:38:21 -07:00
WingStone
32c8c027d8 Update 07.2.md 2013-07-23 08:58:12 +08:00
zhaohaibin
33e6af3d4b ip地址勘误
将55行的IP地址修改为192.168.145.5
2013-07-18 23:51:22 +08:00