Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Go documentation is missing reference links

未关闭
#2,157 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
40/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
go
领域
documentation

调研方向

将 devdocs.io 上的 net/http Client.Do 页面与链接的 pkg.go.dev 参考文档进行比较,以识别缺失的源代码链接和输入/输出链接。然后定位 Go 文档生成入口及其相关测试;当生成的 Go 参考标头能够一致地公开预期链接时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

docs/improvement

Documentation style bug: Go documentation missing reference links

Summary

devdocs.io is missing useful links in Go reference documentation that are very handy when working with package API:

  • links to the Go source code implementation for the code
  • links to input/output structures

I'm happy to contribute a fix if this is a bug rather than a deliberate choice.

Actual style

See https://devdocs.io/go/net/http/index#Client.Do and how the header does not have links:

Screenshot 2024-02-18 at 21 03 19

Expected style

Official documentation that has links in the header: https://pkg.go.dev/net/http#Client.Do
Screenshot 2024-02-18 at 21 03 28

主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
2 天 9 小时
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

freeCodeCamp/devdocs 的其他 Issue

查看 freeCodeCamp/devdocs 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。