Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/godoc: Some links are absolute rather than relative. #22681
What version of Go are you using (
@Konstantin8105 somewhat off topic but if from your example after running the command 'godoc -http=:9000', you would then open a browser and enter the URL http://localhost:9000/, when navigating through the buttons and coming to the blog button, does your shell output a message that /usr/local/go/fonts.css can not be found?
I get the following output from a 386 Windows binary download.
2017/11/13 06:57:18 GetFileAttributesEx C:\go\fonts.css: Den angivne fil blev ikke fundet.
And from 386 GNU/Linux source install (I'm not running godoc in the background).
2017/11/13 08:51:49 lstat /usr/lib/go1.9.2/go/fonts.css: no such file or directory
Looking at the source of https://blog.golang.org/ there are 2 .css files in that code, but the shell only complains about not being able to locate the 2nd named .css file.
The blog subrepo contains the following file.
This isn't as trivial as making all the links relative inside the blog template. Primarily because the blog site is served from
Will send a CL.