1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:18:33 -06:00
go/godoc/static
Devon H. O'Dell 57f659e14d godoc: show version information for stdlib
This change reads $GOROOT/api/go1.*.txt when godoc starts and caches
information about which versions of Go introduce functions, types, and
methods. This information is displayed currently only in HTML output.
Functions, types, and methods introduced as part of Go 1 are not
annotated, as their presence at that version is implied.

This change does not address constants or variables, and completely
ignores the syscall package. The former are future work, the latter is
likely an exercise in futility. In all cases, this is because the story
around displaying the version information is not well developed.

Fixes golang/go#5778

Change-Id: Ieb3cc0da7b18e195bc9c443f14fd8a82e8b2bbf8
Reviewed-on: https://go-review.googlesource.com/85396
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Devon O'Dell <dhobsd@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-07-17 18:09:30 +00:00
..
analysis godoc/static/analysis: update user documentation 2015-06-26 20:38:07 +00:00
images go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
callgraph.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
codewalk.html go.tools/godoc/static: fix &amp; escape in codewalks 2013-10-13 22:22:48 -04:00
codewalkdir.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
dirlist.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
error.html go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
example.html godoc: add GoogleCN property to pages 2017-08-02 21:09:52 +00:00
gen_test.go godoc/static: use a stable quote function 2018-06-18 16:36:09 +00:00
gen.go godoc/static: use a stable quote function 2018-06-18 16:36:09 +00:00
godoc.html godoc: add the defer attribute to script tags 2018-03-15 17:24:39 +00:00
godocs.js godoc: add link to expand/close all examples 2018-06-15 19:57:36 +00:00
implements.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
jquery.js go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
jquery.treeview.css go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
jquery.treeview.edit.js go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
jquery.treeview.js go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
makestatic.go godoc/static: add test for static.go file generation 2018-05-03 19:34:25 +00:00
methodset.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
opensearch.xml go.tools/cmd: move static files into new package 'static' 2013-08-21 13:49:05 +10:00
package.html godoc: show version information for stdlib 2018-07-17 18:09:30 +00:00
package.txt godoc/static: insert newlines in -src mode 2015-03-18 17:28:59 +00:00
packageroot.html godoc/vfs: improve implementation of RootType 2018-04-11 20:41:25 +00:00
play.js godoc/static: use window scope for checking notesEnabled 2016-07-17 07:19:41 +00:00
playground.js playground.js: display vet errors when program has no output 2018-05-25 02:41:13 +00:00
search.html godoc: add ability to change or disable the display of search results. 2014-01-06 09:51:01 -05:00
search.txt godoc/static: fix variable reference in search.txt 2015-03-02 02:09:35 +00:00
searchcode.html godoc: Add package identifiers to documentation indexing. 2014-01-06 13:26:25 -05:00
searchdoc.html go.tools/godoc/static: indent with tabs. 2014-08-26 13:21:29 -07:00
searchtxt.html godoc: add ability to change or disable the display of search results. 2014-01-06 09:51:01 -05:00
static.go godoc: show version information for stdlib 2018-07-17 18:09:30 +00:00
style.css godoc: show version information for stdlib 2018-07-17 18:09:30 +00:00