Quoth
tsl...@gmail.com:
> Inspired by the recent news of
godoc.org shutting down I have created
> godoc-static. While we could all migrate to
pkg.go.dev, we could also host and
> update our documentation ourselves.
Cool, sounds interesting, I like the idea of more tools to make more
distributed hosting of go stuff easier!
> 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.
Interesting approach. Did you consider taking the code that godoc
uses (either direct copying or including it somehow) and generating
the HTML directly? I can imagine that might not be straightforward,
but I'm interested to hear why you chose this approach instead.
Without having looked at the code, I would imagine it would be more
liable to break with future versions of godoc which change the
output.
Anyway, good job, I may use it myself soon, and will let you know
how I get on.
Nick