1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:50:23 -07:00
go/doc
Russ Cox a40065ac68 cmd/godoc: add support for serving templates
doc: convert to use godoc built-in templates

tmpltohtml is gone, to avoid having a second copy of the code.
Instead, godoc -url /doc/go1.html will print the actual HTML
served for that URL.  "make" will generate files named go1.rawhtml
etc, which can be fed through tidy.

It can be hard to tell from the codereview diffs, but all the
tmpl files have been renamed to be html files and then
have "Template": true added.

R=golang-dev, adg, r, gri
CC=golang-dev
https://golang.org/cl/5782046
2012-03-08 08:39:20 -05:00
..
articles cmd/godoc: add support for serving templates 2012-03-08 08:39:20 -05:00
codewalk doc: update links 2012-03-07 08:15:47 +11:00
devel weekly.2012-03-04 2012-03-05 15:45:50 +11:00
gopher doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
play doc: support redirect-on-share 2012-02-22 09:16:54 +11:00
progs doc: fix typos in laws_of_reflection article, add copyright notice. 2012-03-07 11:24:00 +11:00
talks tutorial: delete 2012-02-28 13:35:58 +11:00
code.html doc: fix some HTML errors in code.html 2012-03-02 11:29:09 -05:00
codereview_with_mq.html godoc: specify HTML page metadata with a JSON blob 2012-01-19 11:24:54 +11:00
contrib.html doc: update install docs for Windows and Go 1, add golang-announce to /project 2012-03-06 15:16:02 +11:00
contribute.html doc: clean up docs page, refer to wiki, change install doc paths 2012-03-05 14:31:27 +11:00
debugging_with_gdb.html doc: add command docs page, canonicalize reference paths 2012-03-05 15:30:27 +11:00
docs.html doc: link to go1 and go1compat from docs index 2012-03-08 16:10:55 +11:00
effective_go.html cmd/godoc: add support for serving templates 2012-03-08 08:39:20 -05:00
ExpressivenessOfGo.pdf fix bug in example. need to convert Value to float in Abs example 2010-10-18 16:05:50 -07:00
gccgo_contribute.html doc: clean up docs page, refer to wiki, change install doc paths 2012-03-05 14:31:27 +11:00
gccgo_install.html doc: clean up docs page, refer to wiki, change install doc paths 2012-03-05 14:31:27 +11:00
go1.html cmd/godoc: add support for serving templates 2012-03-08 08:39:20 -05:00
go1compat.html doc: add note about import . to Go 1 compatibility notes 2012-03-06 17:50:11 -08:00
go_faq.html doc: delete faq question about 6g 2012-03-07 11:37:56 -05:00
go_mem.html doc: fix metadata in go_mem.html 2012-03-08 22:50:05 +11:00
go_spec.html go_spec: no known implementation differences anymore 2012-03-07 22:17:40 -08:00
go-logo-black.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-blue.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-white.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
godocs.js godoc: list examples in index 2012-02-14 14:52:00 +11:00
help.html doc: add more gophers 2012-03-06 12:50:52 +11:00
ie.css golang.org redesign 2010-09-16 14:01:02 +10:00
install-source.html doc: give up on OS X Leopard 2012-03-07 13:57:57 -05:00
install.html doc: give up on OS X Leopard 2012-03-07 13:57:57 -05:00
logo-153x55.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
Makefile cmd/godoc: add support for serving templates 2012-03-08 08:39:20 -05:00
playground.html godoc: specify HTML page metadata with a JSON blob 2012-01-19 11:24:54 +11:00
popups.js godoc: initial support for showing popup information 2010-03-16 14:17:42 -07:00
reference-cmd.html doc: add command docs page, canonicalize reference paths 2012-03-05 15:30:27 +11:00
reference.html doc: link to sub-repositories from reference page 2012-03-08 13:36:38 +11:00
root.html doc: drop google +1 button from the home page 2012-03-08 17:31:20 +11:00
sieve.gif repair corrupted sieve.gif 2009-10-30 10:34:01 -07:00
style.css doc: drop google +1 button from the home page 2012-03-08 17:31:20 +11:00