Generate static documentation for Go packages


Demo output:

Inspired by the recent news of godoc,org shutting down I have created godoc-static. While we could all migrate to, we could also host and update our documentation ourselves.

When invoked, “godoc -http=localhost:####” is started, relevant package documentation pages and source code is scraped and rewritten to fix styling, expanding content, etc., then godoc is terminated.

Note that while things seem to work, I have only focused on shipping the MVP so far. Here be dragons. For instance, to get this to work on my VPS I had to set GO111MODULE to off and clone relevant package sources to GOPATH.