You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run godoc -http :6061 and navigate to http://localhost:6061/pkg/github.com/jmoiron/sqlx/ it does work as expected (like on e.g. https://www.godoc.org/github.com/jmoiron/sqlx).
This problem is not specific to the sqlx package; it happens with all packages. I just used this as an example.
Using Go 1.9.2 with most recent godoc (commit 05e91d0/Nov 7).
The text was updated successfully, but these errors were encountered:
Thanks, I am able to repro this. I know why this is happening. The http mode and the command line code paths are different. The http mode creates a dir tree for the entire GOPATH, whereas in command line mode, the dir tree for only that path is created with a depth of 1. Hence the synopses of sub-directories are not retrieved. We just need to go one level deeper.
When using
godoc
the synopsis for the subdirectories is always empty.For example:
The same when leaving
-html
out, although I'm not sure if it's supposed to be displayed here?If I run
godoc -http :6061
and navigate tohttp://localhost:6061/pkg/github.com/jmoiron/sqlx/
it does work as expected (like on e.g. https://www.godoc.org/github.com/jmoiron/sqlx).This problem is not specific to the sqlx package; it happens with all packages. I just used this as an example.
Using Go 1.9.2 with most recent godoc (commit 05e91d0/Nov 7).
The text was updated successfully, but these errors were encountered: