This repository was archived by the owner on Aug 24, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork30
Godoc改进版, 支持动态加载翻译文件, 支持Windows后台服务模式运行.
NotificationsYou must be signed in to change notification settings
golang-china/golangdoc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GAE预览https://golang-china.appspot.com/
安装 golangdoc :
go get github.com/golang-china/golangdoc
下载翻译文件 到$(GOROOT)/translations
目录:
https://github.com/golang-china/golangdoc.translations
启用简体中文版文档服务:
golangdoc -http=:6060 -lang=zh_CN
动态切换包文档:
- https://golang-china.appspot.com/pkg/builtin/
- https://golang-china.appspot.com/pkg/builtin/?lang=en
- https://golang-china.appspot.com/pkg/builtin/?lang=raw
- https://golang-china.appspot.com/pkg/builtin/?lang=zh_CN
其中 URL 的lang
参数为en
/raw
或 无对应语言时 表示使用原始的文档,缺少或为空时用 golangdoc 服务器启动时命令行指定的lang
参数.
golangdoc 支持 GAE 环境. 具体请参考:appengine/README.md
# 安装 Windows 服务golangdoc -service-install -http=:6060# 启动/停止 Windows 服务golangdoc -service-startgolangdoc -service-stop# 卸载 Windows 服务golangdoc -service-remove
About
Godoc改进版, 支持动态加载翻译文件, 支持Windows后台服务模式运行.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors3
Uh oh!
There was an error while loading.Please reload this page.