转为 mdbook

This commit is contained in:
chai2010
2022-08-04 14:58:52 +08:00
parent 7fa86ea953
commit 06a1bdf735
49 changed files with 3695 additions and 236 deletions

View File

@@ -5,8 +5,9 @@ Go语言圣经 [《The Go Programming Language》](http://gopl.io) 中文版本
![](cover_middle.jpg)
- 项目主页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/)。