summaryrefslogtreecommitdiff
path: root/lib/godoc/package.html
AgeCommit message (Collapse)AuthorFilesLines
2012-02-29Imported Upstream version 2012.02.22Ondřej Surý1-41/+49
2012-01-30Imported Upstream version 2012.01.27Ondřej Surý1-48/+100
2011-10-06Imported Upstream version 2011.09.21upstream-weekly/2011.09.21Ondřej Surý1-1/+1
2011-08-24Imported Upstream version 2011.08.17Ondřej Surý1-84/+85
2011-06-03Imported Upstream version 2011.06.02upstream-weekly/2011.06.02Ondřej Surý1-0/+5
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-11/+10
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-16/+22
2010-03-24godoc: show relative file names without leading '/' (per r's request)Robert Griesemer1-8/+8
- change the various url-xxx formatters to return a relative URL path - make the leading '/' for URLs explicit in the template - on the way change some |html formatters to |html-esc (html should only be used for formatting AST nodes) R=rsc, r CC=golang-dev http://codereview.appspot.com/740041
2010-03-12godoc: support for multiple packages in a directoryRobert Griesemer1-0/+8
- smartly select the "right" package - provide a list of other packages R=rsc CC=golang-dev http://codereview.appspot.com/466042
2010-03-10godoc: provide mode which shows exported interface in "source form"Robert Griesemer1-0/+5
- on the commandline: godoc -x big - in a webpage: provide form parameter ?m=src Known issues: - Positioning of comments incorrect in several cases. Separate CL. - Need a link/menu to switch between different modes of presentation in the web view. R=rsc CC=golang-dev http://codereview.appspot.com/376041
2010-02-16godoc support for directories outside $GOROOTRobert Griesemer1-5/+5
Example use: godoc -path=/home/user1:/home/build/foo -http=:6666 will start a local godoc that maps urls starting with /pkg/user1 or /pkg/foo to the respective roots specified in the path. Missing: Handling of overlapping package directories, multiple packages per directory. R=rsc CC=golang-dev http://codereview.appspot.com/206078
2010-01-13Distinguish between html generation and html quoting in godoc formatters.Robert Griesemer1-7/+7
Replacement for CL 184084; originally by Roger Peppe (rogpeppe@gmail.com). R=rsc CC=golang-dev, rog http://codereview.appspot.com/189059
2009-11-16Add id attribute to h2 and h3 tags so that they exist when referringRobert Griesemer1-8/+8
to generated pages even if Javascript has not introduced them yet. R=rsc http://codereview.appspot.com/154167
2009-11-09- add .. link to package directory listing, for easy traversalRobert Griesemer1-0/+3
- matches style of source file directory listing R=rsc http://go/go-review/1024044
2009-11-09cleanup style:Robert Griesemer1-5/+5
- consistently remove all underbars from links - this removes need for noline style - removed unused info style R=r, rsc http://go/go-review/1025032
2009-11-08- properly align package synopsesRobert Griesemer1-5/+17
(this was surprisingly hard to get right in HTML) - show modification times in source directory listings - various tweaks R=rsc http://go/go-review/1024024
2009-11-03support for command documentation:Robert Griesemer1-9/+13
- made package tree handler generic so it can work on any fs tree - cleanups along the way R=rsc CC=r http://go/go-review/1017020
2009-11-02- show recursive package directory structure in package pagesRobert Griesemer1-7/+9
- removed some underbars in section headings for better looks - various minor tweaks R=rsc http://go/go-review/1018026
2009-10-28- added missing formatters in templatesRobert Griesemer1-2/+2
- replaced deprecated use of </font> with </span> tag - added html escaping to godoc formatters where missing - enabled text format for package documentation R=rsc http://go/go-review/1017001
2009-10-01Factored out boilerplate from all html docs in doc directory:Robert Griesemer1-7/+7
- the first HTML comment in those files is extracted as page title when serving them - lib/godoc.html is top-level template for all pages served - experimented a bit with package documentation layout (feedback welcome) - various related cleanups TODO: - The / page (doc/root.html) content repeats links that are in the navigation bar. It needs to be cleaned up. R=rsc DELTA=826 (86 added, 692 deleted, 48 changed) OCL=35230 CL=35245
2009-09-17- use new css for godoc templatesRobert Griesemer1-5/+6
- final location of files TBD R=rsc,r DELTA=84 (19 added, 46 deleted, 19 changed) OCL=34758 CL=34761
2009-08-31associate const and var declarations with a type where possibleRobert Griesemer1-0/+8
R=rsc DELTA=105 (87 added, 7 deleted, 11 changed) OCL=34062 CL=34119
2009-08-03printer.go:Robert Griesemer1-4/+4
- emit line tag id's in html mode - support for general html tags - better names for a few identifiers godoc.go: - emit links from exported names to source code (actual placement needs fine-tuning) R=rsc DELTA=108 (68 added, 4 deleted, 36 changed) OCL=32639 CL=32654
2009-07-30go/ast/filter.go:Robert Griesemer1-2/+11
- more orthogonal functionality of filter functions for better re-use go/doc/doc.go: - simplified interface - collect filenames of packages so that they can be shown godoc: - removed TODO, show list of package (linked) files used to create documentation R=rsc DELTA=130 (68 added, 24 deleted, 38 changed) OCL=32549 CL=32552
2009-07-09Show BUG comments in godoc:Robert Griesemer1-0/+7
ast.go: - rename Comments -> CommentGroup (less confusion) - change all comments/docs to be *CommentGroup filter.go: - do not remove unassociated comments from program as part of export filtering (they are needed by doc.go for BUG comments) scanner.go: - exclude '\n' from //-style comments parser.go: - rewrote collection of comments: now all collected comments are *ast.CommentGroups - clarified distinction between leading and trailing comments - fixed a bug in comment collection (parseGenDecl); corresponding test case is in printer/testdata - extra documentation doc.go: - collect BUG comments - corresponding fix for parser bug in comment collection comment.go: - simplified regex printer.go: - adjust comment printing to new representation printer_test.go, testdata/*: - enable printing of doc comments - extended tests package.html, package.txt: - added Bugs section gofmt: - enable printing of doc comments R=rsc DELTA=339 (126 added, 38 deleted, 175 changed) OCL=31403 CL=31416
2009-06-16move godoc to src/cmd/godocRobert Griesemer1-0/+54
R=rsc DELTA=945 (944 added, 0 deleted, 1 changed) OCL=30315 CL=30341