alokjha / go-tour

Automatically exported from code.google.com/p/go-tour
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

when running locally, use local godoc server and rewrite golang.org in URL to local URL #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When running go-tour locally, we could (optionally) start a local
godoc and rewrite URLs in index.html.

This is to facilitate inclusion into Go binary distributions.

What do you think?

Original issue reported on code.google.com by minux...@gmail.com on 12 Jan 2013 at 3:46

GoogleCodeExporter commented 8 years ago
Regarding URL substitution, we can globally substitute golang.org to
localhost:PORT at server side or at client side, which one do you like?

Original comment by minux...@gmail.com on 12 Jan 2013 at 3:48

GoogleCodeExporter commented 8 years ago
+cc adg, campoy

Original comment by minux...@gmail.com on 12 Jan 2013 at 3:49

GoogleCodeExporter commented 8 years ago
I prefer that it should be done on the server side.

We should merge this change first, though: 
https://codereview.appspot.com/6896044/

Original comment by a...@golang.org on 13 Jan 2013 at 8:58