内容简介:GoHub 更新至 0.6,基于 Github REST API v3 的 Golang 在线文档。 GoHub WIP (尚在开发中...) GoHub 使用 Github REST API v3 提供在线 Golang 文档阅读. 便捷的文档项目组织 Go Doc API 翻译双语对照阅读 渲...
GoHub 更新至 0.6,基于 Github REST API v3 的 Golang 在线文档。
GoHub
WIP (尚在开发中...)
GoHub 使用 Github REST API v3 提供在线 Golang 文档阅读.
便捷的文档项目组织
Go Doc API 翻译双语对照阅读
渲染 Markdown 或更多编程语言文档
对 GoHub 有任何建议或问题, 请至 GoHub Wiki 和 Issues
golist.json
golist.json 用于组织文档. 支持两种结构:
Object 单个文档项目, 多个 Package 组成
Array 文档项目列表, 每个项目的地址和说明, 每个项目下必须有 golist.json
例: 单个文档项目, 使用 GoDocu 生成.
{
"Repo": "github.com/golang/go",
"Filename": "doc_zh_CN.go",
"Package": [
{
"Import": "archive/tar",
"Synopsis": "tar包实现了tar格式压缩文件的存取.",
"Progress": 100,
},
{
"Import": "archive/zip",
"Synopsis": "zip包提供了zip档案文件的读写服务.",
"Progress": 95,
}
],
}例: 文档项目列表, 手工书写
[
{
"repo": "golang-china/golangdoc.translations",
"synopsis": "Go 标准库中文版"
}
]也就是说 GoHub 的 golist.json 是文档组织的源头, 期望您的文档项目加入.
贡献
GoLang 标准库翻译文档来自 golangdoc.translations.
Golang-China 需要贡献者, 贡献辅助 工具 代码或翻译文档, 不限于 GoLang 标准库.
依赖
Powered by:
marked a markdown parser
base64.js Base64 implementation for JavaScript
CodeMirror In-browser code editor
polyfill.io Upgrade the web. Automatically
highlight.js Javascript syntax highlighter
normalize.css A modern alternative to CSS resets
code-mirror-themes A large collection of Code Mirror themes for your coding pleasure
github-markdown-css The minimal amount of CSS to replicate the GitHub Markdown style
PowJS Power ECMAScript 6 Template Engine DOM tree based
LICENSE
Copyright (c) 2018 The GoHub Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- QueryPHP v1-rc.2 多语言文档系统及文档更新
- oscnews 1.1.0 更新,增加文档导航
- oscnews 1.2.0 更新,增加文档分类收藏
- lcfms 5.2 发布:文档更新,上手起来更容易了
- 码云再次更新企业知识库管理,强化文档协作功能
- Windows 10 月更新出现大问题:用户文档等信息被清除
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Design for Hackers
David Kadavy / Wiley / 2011-10-18 / USD 39.99
Discover the techniques behind beautiful design?by deconstructing designs to understand them The term ?hacker? has been redefined to consist of anyone who has an insatiable curiosity as to how thin......一起来看看 《Design for Hackers》 这本书的介绍吧!