Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158)

Issue 5665049: code review 5665049: godoc: make godoc go work (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by gri
Modified:
13 years, 4 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

godoc: make godoc go work - if a package path leads to subdirectories only, show command instead, if any - to force documentation for a command, use the cmd/ prefix, as in: godoc cmd/go (note that for the go command, the prefix is not required since there is no actual go library package at the moment) Fixes issue 3012.

Patch Set 1 #

Patch Set 2 : diff -r 07e1cea7cfc7 https://code.google.com/p/go #

Patch Set 3 : diff -r 07e1cea7cfc7 https://code.google.com/p/go #

Patch Set 4 : diff -r 07e1cea7cfc7 https://code.google.com/p/go #

Patch Set 5 : diff -r 07e1cea7cfc7 https://code.google.com/p/go #

Patch Set 6 : diff -r 14c8f376e8aa https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -13 lines) Patch
M src/cmd/godoc/doc.go View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M src/cmd/godoc/main.go View 1 2 3 3 chunks +31 lines, -10 lines 0 comments Download

Messages

Total messages: 7
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
13 years, 4 months ago (2012-02-14 19:50:05 UTC) #1
rsc
Thanks for fixing this. Instead of the -cmd flag, could we say that if the ...
13 years, 4 months ago (2012-02-14 20:04:41 UTC) #2
gri
On Tue, Feb 14, 2012 at 12:04 PM, <rsc@golang.org> wrote: > Thanks for fixing this. ...
13 years, 4 months ago (2012-02-14 20:12:30 UTC) #3
rsc
On Tue, Feb 14, 2012 at 15:12, Robert Griesemer <gri@golang.org> wrote: > However this will ...
13 years, 4 months ago (2012-02-14 20:27:08 UTC) #4
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 4 months ago (2012-02-14 20:35:04 UTC) #5
rsc
LGTM
13 years, 4 months ago (2012-02-14 20:36:34 UTC) #6
gri
13 years, 4 months ago (2012-02-14 21:57:23 UTC) #7
*** Submitted as 78d8f2f5e581 ***

godoc: make godoc go work

- if a package path leads to subdirectories only,
  show command instead, if any
- to force documentation for a command, use the
  cmd/ prefix, as in: godoc cmd/go
  (note that for the go command, the prefix is
  not required since there is no actual go library
  package at the moment)

Fixes issue 3012.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5665049
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b