doc2go is a tool that generates static HTML documentation from your Go code. It’s a simpler, self-hosted alternative to services like https://pkg.go.dev/ and https://godocs.io/.
You can use doc2go to generate standalone HTML websites (example), or embed your documentation inside another static website (example).
Publish to GitHub Pages Embed into another websitedoc2go generates static websites that you can host on GitHub Pages or any other static website hosting service.
Get syntax highlighting in your documentation out of the box. Choose from over 50 themes.
With embedding, doc2go gives you full control of your documentation’s CSS. Brand it, style it, go wild.
Store offline copies of API documentation for projects you use frequently. Keep using it even with a bad internet connection.
doc2go is lightweight and composes with other systems instead of trying to replace them.