This repository was archived by the owner on Aug 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 1
- # Godoc for Golang, support translate.
1
+ # Godoc 改进版本, 支持翻译文档的动态加载
2
2
3
- Install golangdoc:
3
+ GAE预览 http://golang-china.appspot.com/
4
4
5
- go get github.com/golang-china/ golangdoc
5
+ # 安装 golangdoc
6
6
7
- Download Chinese Translate :
7
+ 安装 golangdoc :
8
8
9
- git clone https:// github.com/golang-china/golangdoc.translations.git $(GOROOT)/translations
9
+ go get github.com/golang-china/golangdoc
10
10
11
- Start Chinese Godoc Server :
11
+ 下载翻译文件 到 ` $(GOROOT)/translations ` 目录 :
12
12
13
- golangdoc -http=:6060 -lang=zh_CN
13
+ https://github.com/golang-china/golangdoc.translations
14
14
15
- See :
15
+ 启用简体中文版文档服务 :
16
16
17
- - http://github.com/golang-china/golangdoc.translations
18
- - http://godoc.org/github.com/golang-china/golangdoc/docgen
19
- - http://godoc.org/github.com/golang-china/golangdoc/local
17
+ golangdoc -http=:6060 -lang=zh_CN
20
18
21
19
22
- # Run as windows service:
20
+ # 支持 Windows 服务模式运行
23
21
24
- # install as windows service
22
+ # 安装 Windows 服务
25
23
golangdoc -service-install -http=:6060
26
24
27
- # start/stop service
25
+ # 启动/停止 Windows 服务
28
26
golangdoc -service-start
29
27
golangdoc -service-stop
30
28
31
- # remove service
29
+ # 卸载 Windows 服务
32
30
golangdoc -service-remove
33
31
34
- # BUGS
35
32
36
-
33
+ # 其他
34
+
35
+ - GAE环境支持: https://github.com/golang-china/golangdoc/tree/master/appengine
36
+ - 文档翻译项目: http://github.com/golang-china/golangdoc.translations
37
+ - 文档提取工具: http://godoc.org/github.com/golang-china/golangdoc/docgen
38
+ - 本地化支持包: http://godoc.org/github.com/golang-china/golangdoc/local
37
39
38
- Thanks!
You can’t perform that action at this time.
0 commit comments