summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-10-28- added missing formatters in templatesRobert Griesemer3-4/+4
- 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-28html-escaping of fields that may be user-generatedRobert Griesemer1-4/+5
R=rsc http://go/go-review/1013019
2009-10-27godoc search bug fixes:Robert Griesemer2-12/+12
- sort by package name (instead of package path) for results with snippets - sort line numbers in results without snippets - properly characterize package clauses - experiment with a leaner look: no underlines for top-level godoc links in the left side bar Still using colors to distinguish results. Next step. R=rsc http://go/go-review/1015016
2009-10-27code search for godoc:Robert Griesemer2-7/+78
- added goroutine to automatically index in the background - added handler for search requests - added search box to top-level godoc template - added search.html template for the display of search results - changes to spec.go because of name conflicts - added extra styles to style.css (for shorter .html files) R=rsc http://go/go-review/1014011
2009-10-22add codereview-login commandRuss Cox1-0/+15
R=r CC=go-dev http://go/go-review/1012007
2009-10-22fix handling of escaped characters like ' " & < >Russ Cox1-4/+3
R=r http://go/go-review/1013007
2009-10-22Initial checkin of codereview plugin.Russ Cox1-0/+2575
The master copy is going to live elsewhere, but weAPOSTROPHEll keep a copy in the Go tree so that developers donAPOSTROPHEt have to check out two different repositories. R=r CC=go-dev http://go/go-review/1012006
2009-10-22main landing pagesRuss Cox1-0/+72
R=r DELTA=55 (7 added, 34 deleted, 14 changed) OCL=35984 CL=35986
2009-10-01Factored out boilerplate from all html docs in doc directory:Robert Griesemer3-16/+17
- 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 Griesemer2-5/+12
- 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 Griesemer2-0/+16
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-09no longer necessary; directory not empty anymoreRuss Cox1-2/+0
R=r DELTA=2 (0 added, 2 deleted, 0 changed) OCL=31417 CL=31420
2009-07-09Show BUG comments in godoc:Robert Griesemer2-0/+15
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-22tweak the newlines so the headers stand out better.Rob Pike1-0/+4
old: CONSTANTS const ( MissingKind = iota; ) new: CONSTANTS const ( MissingKind = iota; ) R=gri,rsc DELTA=4 (4 added, 0 deleted, 0 changed) OCL=30362 CL=30598
2009-06-16delete dreg commentRob Pike1-1/+0
R=rsc OCL=30359 CL=30359
2009-06-16- some fine-tuning of godoc templates per r's suggestionRobert Griesemer1-12/+0
- removed gratuitous newline in go/printer R=r DELTA=15 (2 added, 13 deleted, 0 changed) OCL=30358 CL=30358
2009-06-16move godoc to src/cmd/godocRobert Griesemer4-0/+134
R=rsc DELTA=945 (944 added, 0 deleted, 1 changed) OCL=30315 CL=30341
2008-07-21help management of empty pkg and lib directories in perforceRob Pike1-0/+2
R=gri DELTA=4 (4 added, 0 deleted, 0 changed) OCL=13328 CL=13328