Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Add package-level descriptions in Go docs (plus general approach to auto-generated docs) #74

Closed
1 of 4 tasks
Mr0grog opened this issue Jun 11, 2018 · 5 comments
Closed
1 of 4 tasks
Labels
dif/medium Prior experience is likely helpful effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue topic/design-content Content design, writing, information architecture topic/infra Infrastructure

Comments

@Mr0grog
Copy link
Collaborator

Mr0grog commented Jun 11, 2018

Some of the Go packages we generate documentation for don’t have comments describing the package as a whole. Others have them, but they’re extremely minimal. We should have good, rich descriptions with examples for all of them.

Each should contain a clear description of the package, information about how it relates to other packages, any notes about stability (how experimental/subject to change is it?), and at least one small example of basic usage (options might be an exception because it’s just defining types…?).

Relevant packages:

See also this comment on #68.

@Mr0grog Mr0grog added the Epic label Jun 13, 2018
@Mr0grog Mr0grog added help wanted Seeking public contribution on this issue dif/easy Someone with a little familiarity can pick up P2 - Medium labels Aug 24, 2018
@meiqimichelle meiqimichelle added topic/design-content Content design, writing, information architecture and removed blocked topic/design-content Content design, writing, information architecture labels Jun 4, 2019
@jessicaschilling jessicaschilling changed the title Add package-level descriptions in Go docs Content Enhancement: Add package-level descriptions in Go docs Jul 26, 2019
@jessicaschilling
Copy link
Contributor

Auto-generated Go docs are being generated somewhat differently now -- but we still need to address best approach to this as part of the new docs beta.

@jessicaschilling jessicaschilling changed the title Content Enhancement: Add package-level descriptions in Go docs Add package-level descriptions in Go docs (plus general approach to auto-generated docs) Sep 19, 2019
@jessicaschilling jessicaschilling added OKR: Beta Launch topic/docs Documentation effort/days Estimated to take multiple days, but less than a week dif/medium Prior experience is likely helpful and removed Epic dif/easy Someone with a little familiarity can pick up labels Sep 19, 2019
@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Sep 19, 2019

Just making sure everyone’s reading this issue the same way…

Auto-generated Go docs are being generated somewhat differently now

I might be misunderstanding, but is this just the fact that “Go Core API” and others in the sidebar now point directly to godoc.org instead of a copy of the docs we’ve generate inside the docs site? If so, that’s more-or-less unrelated to what this issue was inteded to address: making sure the docs that are in the Go source code are correct and get good results when run though godoc.

@jessicaschilling
Copy link
Contributor

@Mr0grog Transitioning to the use of godoc over godoc2md was to address a breaking change in #276 ... you're correct that this doesn't solve the larger issue, which involves thinking through our approach to docs in the Go source code and how we present them better. Thanks for leaning on this one; we're queuing work on those up as part of the docs platform rework, but I haven't been able to capture them in individual issues yet.

@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Sep 20, 2019

👍 Great, just wasn’t sure from the wording and wanted to make sure this wasn’t getting mistaken for something in the docs site source rather than the actual go packages’ source. :)

@jessicaschilling
Copy link
Contributor

Closing this issue, since our overall approach to API/CLI docs is being worked in #393 in Q1 2020. We're also working on migrating go-ipfs docs as a whole over to the new docs beta under #348.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dif/medium Prior experience is likely helpful effort/days Estimated to take multiple days, but less than a week help wanted Seeking public contribution on this issue topic/design-content Content design, writing, information architecture topic/infra Infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants