1
0
mirror of https://github.com/golang/go synced 2024-11-17 22:05:02 -07:00
go/doc
Dmitri Shuralyov ee3a3717aa doc/go1.14: disable text/template processing in HTML page
HTML pages served by the website have the option to opt-in to template
processing, by including "Template: true" in the page metadata.
This functionality is documented at
403f1254bd/godoc/template.go (L5-L30).

Historically, the Go 1 release notes have used template processing
to a great extent, but release notes for all subsequent major Go
releases have not.

Since this feature is generally not used and not very well known,
it tends to do more harm than good by making it possible for errors
in the template to prevent the release notes from showing up at all.

Disable this feature for Go 1.14 release notes and onwards.
We can consider enabling it when there's a stronger need for it.

Fixes #37072
Updates #37070

Change-Id: If93553d52df12544b46c4edcf3aa5eddc2a155ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/218058
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-02-06 01:09:50 +00:00
..
articles doc: document atexit_sleep_ms flag in race_detector 2020-01-03 23:49:42 +00:00
codewalk doc: convert remaining bash tests to Go 2019-11-14 21:33:00 +00:00
gopher
play doc/play: match the hello world snippet in x/website 2019-10-23 22:43:37 +00:00
progs doc: convert remaining bash tests to Go 2019-11-14 21:33:00 +00:00
asm.html
cmd.html
contrib.html doc: clarify that contributing isn't just for code 2019-10-23 17:57:23 +00:00
contribute.html doc: 2020 is the Year of the Gopher 2020-01-02 17:36:29 +00:00
debugging_with_gdb.html
diagnostics.html
editors.html
effective_go.html
gccgo_contribute.html
gccgo_install.html
go1.1.html
go1.2.html
go1.3.html
go1.4.html
go1.5.html
go1.6.html
go1.7.html
go1.8.html
go1.9.html doc: rename HTML element IDs to avoid duplicates 2020-02-05 14:32:50 +00:00
go1.10.html
go1.11.html doc: rename HTML element IDs to avoid duplicates 2020-02-05 14:32:50 +00:00
go1.12.html
go1.13.html doc: rename HTML element IDs to avoid duplicates 2020-02-05 14:32:50 +00:00
go1.14.html doc/go1.14: disable text/template processing in HTML page 2020-02-06 01:09:50 +00:00
go1.html
go1compat.html
go_faq.html
go_mem.html
go_spec.html spec: add missing space in EBNF 2020-01-15 05:32:51 +00:00
go-logo-black.png
go-logo-blue.png
go-logo-white.png
help.html
ie.css
install-source.html doc: add missing p in install from source page 2019-12-07 15:57:30 +00:00
install.html doc/install.html: streamline the “Test your installation” step and make it module-agnostic 2020-02-05 18:27:48 +00:00
modules.md doc: add section for checksum database to module reference doc 2020-01-02 23:00:12 +00:00
share.png
tos.html