• Russ Cox's avatar
    cmd/godoc: add support for serving templates · a40065ac
    Russ Cox authored
    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
    a40065ac
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...