mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-08 16:21:43 +00:00
转为 mdbook
This commit is contained in:
15
README.md
15
README.md
@@ -5,8 +5,9 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本
|
||||
|
||||

|
||||
|
||||
- 项目主页:http://github.com/golang-china/gopl-zh
|
||||
- 原版官网:http://gopl.io
|
||||
- 项目主页:[https://github.com/gopl-zh](https://github.com/gopl-zh)
|
||||
- 项目主页(旧):[http://github.com/golang-china/gopl-zh](http://github.com/golang-china/gopl-zh)
|
||||
- 原版官网:[http://gopl.io](http://gopl.io)
|
||||
|
||||
|
||||
译者信息:
|
||||
@@ -42,16 +43,6 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本
|
||||
|
||||
**注意,在线预览不是最新版,最新以仓库里的内容为准**
|
||||
|
||||
|
||||
### 从源文件构建
|
||||
|
||||
先安装NodeJS和GitBook命令行工具(`npm install gitbook-cli -g`命令)。
|
||||
|
||||
1. 运行`go get github.com/golang-china/gopl-zh`,获取 [源文件](https://github.com/golang-china/gopl-zh/archive/master.zip)。
|
||||
2. 切换到 `gopl-zh` 目录,运行 `gitbook install`,安装GitBook插件。
|
||||
3. 运行`make`,生成`_book`目录。
|
||||
4. 打开`_book/index.html`文件。
|
||||
|
||||
# 版权声明
|
||||
|
||||
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/)。
|
||||
|
Reference in New Issue
Block a user