Getting started
Start using doc2go from zero.
doc2go is a tool to generate API documentation from Go source code. It takes your Go source code, and generates a static HTML website from it.
doc2go additionally supports an embedded mode.
In this mode, it generates fragments of HTML instead of a whole website. You can feed this output into a static website generator like Hugo or Jekyll and make doc2go’s output part of a bigger website.
You should use doc2go if you’re a library maintainer with one of the following needs:
You should use doc2go if you’re a library user who wants to keep offline copies of documentation for libraries that you use.
doc2go does not aim to introduce new syntax to the Go documentation comments. All documentation processed by doc2go must remain valid, as defined by the official Go documentation tooling.
To get an idea of how the output looks, check out the following links:
Start using doc2go from zero.
Install doc2go on your machine.
Learn how to use doc2go.
Embed the output of doc2go into another website.
Pubslihing the output of doc2go.