Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #94

Open
kortschak opened this issue Aug 1, 2014 · 3 comments
Open

Documentation #94

kortschak opened this issue Aug 1, 2014 · 3 comments

Comments

@kortschak
Copy link
Contributor

This is a catchall issue.

As highlighted in #91, a significant proportion of the exported codebase lacks doc comments or the comments are not associated with the relevant labels according to the godoc conventions (and so are missed by golint and godoc).

It might be worth considering adding a page to the wiki on graph databases in general (and links to resources). This kind of approach to client education has been very successful in growing the Go userbase with the {talks,blog}.golang.org pages and the go-tour.

@AnneTheAgile
Copy link

I love to help add docs to code but don't know about GoDoc.
Here are some References on how to write GoDoc.
[0] Intro for Pythonistas.
http://golang-for-python-programmers.readthedocs.org/en/latest/doc.html
[1] Possibly the most complete tutorial, this item originated as blog post and became a git repo with working examples.
http://blog.natefinch.com/2014/04/effective-godoc.html
https://github.com/natefinch/godocgo
https://godoc.org/code.google.com/p/go.tools/cmd/godoc
[2] One pager with examples and tips.
https://godoc.org/github.com/fluhus/godoc-tricks
[3] Docs for test, eg if write documentation tests.
http://golang.org/pkg/testing/
[4] Other posts.
http://blog.golang.org/godoc-documenting-go-code
http://www.goinggo.net/2013/06/documenting-go-code-with-godoc.html
[5] Git commit of updating some docs per godoc standards.
https://gitorious.org/marc21-go/marc21/commit/f4f00cdfb56d32e6e196b565bd215245e3c0fd97
[6] No official full docs exist per my research.
[7] Free EBook on Go.
http://www.golangbootcamp.com/
// AnneTheAgile , here and there via CodeTriage.com

@barakmich
Copy link
Member

@AnneTheAgile Would love the help! The GoDoc bit is one thing for sure, but there's regular documentation that could use some help from writers too. An exposition on getting started, using Visualize, etc, within docs/ would be great too! (Overview.md is there but it could always use help)

@kortschak
Copy link
Contributor Author

To extend on this; doc comments can be refined into good godoc during review. Just picking a package and adding doc comments to exported functions, types and methods (and the package decl) is a start in this process.

As a tip, running an instance of godoc started by godoc -http=:6060 and reviewing your rendered documentation in the browser is a good way of both writing nice documentation and learning how to use the godoc system.

@robertmeta robertmeta added this to the Eventually? milestone Jul 27, 2016
@dennwc dennwc modified the milestones: Eventually?, Documentation Sep 18, 2019
@iddan iddan added this to To do in Documentation Oct 1, 2019
@iddan iddan removed this from the Documentation milestone Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Documentation
  
To do
Development

No branches or pull requests

6 participants