On Fri, Dec 15, 2017, 7:35 AM <jake6...@gmail.com> wrote: > I run godoc like this: > > *godoc -html jake\tmp > doc.html* > > When I open the resulting file (in Chrome or Firefox) the result look > terrible. The resulting file is attached. The collapsible sections display > as two separate items, are not collapsible, and in Firefox there are > strange characters instead of arrows. The preformed text blocks are hard to > see, since they contain no special boarder or background and are not > indented. The links display all the time as "ΒΆ". Etc, etc. > > So, how can I easily create and view documentation for my library that > looks more like the documentation at https://golang.org/pkg/ ? > > Thanks. >
It's because you are missing the css/js files that godoc pages use. In my studio build system, for the godoc support in our Go plugin, I have it deploying docs with the bundled css/js > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.