Giter Club home page Giter Club logo

golangdoc's Introduction

Godoc 改进版本, 支持翻译文档的动态加载

GAE预览 https://golang-china.appspot.com/

安装 golangdoc

安装 golangdoc :

go get github.com/golang-china/golangdoc

下载翻译文件 到 $(GOROOT)/translations 目录:

https://github.com/golang-china/golangdoc.translations

启用简体中文版文档服务:

golangdoc -http=:6060 -lang=zh_CN

动态切换包文档:

其中 URL 的 lang 参数为 en/raw 或 无对应语言时 表示使用原始的文档, 缺少或为空时用 golangdoc 服务器启动时命令行指定的 lang 参数.

部署到 AGE 环境

golangdoc 支持 GAE 环境. 具体请参考: appengine/README.md

系统服务模式运行(Windows平台)

# 安装 Windows 服务
golangdoc -service-install -http=:6060

# 启动/停止 Windows 服务
golangdoc -service-start
golangdoc -service-stop

# 卸载 Windows 服务
golangdoc -service-remove

其他

golangdoc's People

Contributors

achun avatar chai2010 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.