]> Cypherpunks.ru repositories - gostls13.git/commit
godoc: use shorter titles for tabs
authorRobert Griesemer <gri@golang.org>
Wed, 21 Mar 2012 18:29:30 +0000 (11:29 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 21 Mar 2012 18:29:30 +0000 (11:29 -0700)
commitcfd8b84f072e1799456ad3dc350bc1a486a0e280
tree7073fb4196df0abdfee255a24ea9c68c0b5e934e
parente2662835b8dd3ca4aa69997afe3774467a677df8
godoc: use shorter titles for tabs

In a browser with many open tabs, the tab titles become short
and uninformative because they all start with the same prefix
("Package ", "Directory ", etc.).

Permit use of shorter tab titles that start with the relevant
information first.

Fixes #3365.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5865056
lib/godoc/godoc.html
src/cmd/godoc/codewalk.go
src/cmd/godoc/godoc.go
src/cmd/godoc/main.go