From 2ae607add12c6b483e00dd1f9bc71ad6e1b600bb Mon Sep 17 00:00:00 2001 From: chai2010 Date: Mon, 15 Feb 2016 11:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86github=E8=A2=AB=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=E7=9A=84=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 10 ---------- README.md | 9 +-------- preface.md | 3 +-- update_version.go | 4 ++-- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Makefile b/Makefile index 08fbc5b..5e8c85d 100644 --- a/Makefile +++ b/Makefile @@ -27,16 +27,6 @@ loop: go run zh2tw.go . .md$$ tw2zh go run zh2tw.go . .md$$ zh2tw -review: - go run update_version.go - go run zh2tw.go . .md$$ tw2zh - gitbook build - go run zh2tw.go . .md$$ zh2tw - go run fix-data-revision.go - -qrcode: - go run ./tools/mkqrcode.go - cover: composite cover_patch.png cover_bgd.png cover.jpg convert -resize 1800x2360! cover.jpg cover.jpg diff --git a/README.md b/README.md index 0f95956..d6eda58 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,8 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本 [![](cover_middle.jpg)](http://golang-china.github.io/gopl-zh) -- 在线版本:http://golang-china.github.io/gopl-zh -- 离线版本:http://github.com/golang-china/gopl-zh/archive/gh-pages.zip - 项目主页:http://github.com/golang-china/gopl-zh +- 项目主页:http://github.com/golang-china/gopl-zh-dmca - 原版官网:http://gopl.io @@ -19,12 +18,6 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本 3. 运行`make`,生成`_book`目录。 4. 打开`_book/index.html`文件。 -### 简体/繁体转换 - -切片到 `gopl-zh` 目录: - -- `make zh2tw` 或 `go run zh2tw.go . "\.md$" zh2tw`,转繁体。 -- `make tw2zh` 或 `go run zh2tw.go . "\.md$" tw2zh`,转简体。 # 版权声明 diff --git a/preface.md b/preface.md index 133797f..301efd2 100644 --- a/preface.md +++ b/preface.md @@ -4,9 +4,8 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本 [![](cover_middle.jpg)](https://github.com/golang-china/gopl-zh) -- 在线版本:http://golang-china.github.io/gopl-zh -- 离线版本:http://github.com/golang-china/gopl-zh/archive/gh-pages.zip - 项目主页:http://github.com/golang-china/gopl-zh +- 项目主页:http://github.com/golang-china/gopl-zh-dmca - 原版官网:http://gopl.io {% include "./version.md" %} diff --git a/update_version.go b/update_version.go index 5e41f64..6a01433 100644 --- a/update_version.go +++ b/update_version.go @@ -37,10 +37,10 @@ func makeVersionMarkdown(version string) string { ### 版本信息 -- 仓库版本:[%s](https://github.com/golang-china/gopl-zh/commit/%s) +- 仓库版本:%s - 构建时间:%s `, - version, version, + version, buildTime, ) }