Descriptioncmd/godoc: honor GOPATH and show user-code listings in html view.
This CL makes the following fixes:
- Show user paths in the html view for the top-level package listing.
From $GOPATH,
show commands (from src/cmd/*) under Commands view, and
show all other packages (from src/*) under Packages view.
This allows all source documentation to be found easily in godocs.
- Honor GOPATH logic, by adding GOPATH/src and GOPATH/src/cmd members into fsMap
- Resolve Symbolic links for directories put in GOPATH (so their docs can be seen)
[we don't do infinite loop detection. It can easily be done if team wants it]
Fixes issue 2234.
Fixes issue 2605.
Fixes issue 3046.
Patch Set 1 : diff -r e285ee3ad289 https://code.google.com/p/go/ #Patch Set 2 : diff -r e285ee3ad289 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 3 : diff -r d5e8f3fa95c4 https://code.google.com/p/go/ #
MessagesTotal messages: 9
|
||||||||||||||||||||||||||||