Description
As far as I know at this time, the RELNOTE marker isn't documented anywhere.
I suspect this causes it to be used less often and not to its full potential.
For example, it's possible to write a string other than yes
or y
and then the entire string will be included in the generated notes. This means it's possible to write a part of release notes via the RELNOTE marker, not just say "yes". I only learned this today when reading cmd/relnote
code, and it's possible more people would take advantage of this if they knew it also.
Perhaps it is already documented somewhere and then this bug is about making me learn that. I've looked in the package documentation and the wiki, with no luck. I've only found https://groups.google.com/d/msg/golang-dev/edmMTXNukjE/V2bh9Vt3CAAJ and #20102 where it was originally announced by @bradfitz, but those aren't good sources for long-term documentation.
Update: The RELNOTE
marker is documented at https://golang.org/wiki/CodeReview#cl-directives.
/cc @golang/osp-team