Quoth tslo...@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

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/20200210151415.GA1745%40mussel.lan.

Reply via email to