doc: lint Markdown for trailing spaces and code blocks

MD009 Trailing spaces.
MD031 Fenced code blocks should be surrounded by blank lines.

https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

Change-Id: I6a2fff4afa8224442d90b30f84444b4a888fcef2
GitHub-Last-Rev: 67cf146b85
GitHub-Pull-Request: golang/go#44285
Reviewed-on: https://go-review.googlesource.com/c/go/+/292409
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Alex Rakoczy <alex@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Alex Rakoczy <alex@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
John Bampton 2022-05-17 22:33:02 +00:00 committed by Gopher Robot
parent f5b5273190
commit 524210bbb2
2 changed files with 4 additions and 3 deletions

View File

@ -185,10 +185,10 @@ program. You can also click on values and blocks to highlight them, to help
follow the control flow and values. follow the control flow and values.
The value specified in GOSSAFUNC can also be a package-qualified function The value specified in GOSSAFUNC can also be a package-qualified function
name, e.g. name, e.g.
GOSSAFUNC=blah.Foo go build GOSSAFUNC=blah.Foo go build
This will match any function named "Foo" within a package whose final This will match any function named "Foo" within a package whose final
suffix is "blah" (e.g. something/blah.Foo, anotherthing/extra/blah.Foo). suffix is "blah" (e.g. something/blah.Foo, anotherthing/extra/blah.Foo).

View File

@ -1,7 +1,7 @@
## Resources for Go's trace viewer ## Resources for Go's trace viewer
Go execution trace UI (`go tool trace`) embeds Go execution trace UI (`go tool trace`) embeds
Chrome's trace viewer (Catapult) following the Chrome's trace viewer (Catapult) following the
[instructions]( [instructions](
https://chromium.googlesource.com/catapult/+/refs/heads/master/tracing/docs/embedding-trace-viewer.md). This directory contains https://chromium.googlesource.com/catapult/+/refs/heads/master/tracing/docs/embedding-trace-viewer.md). This directory contains
the helper files to embed Chrome's trace viewer. the helper files to embed Chrome's trace viewer.
@ -13,6 +13,7 @@ https://chromium.googlesource.com/catapult/+/9508452e18f130c98499cb4c4f1e1efaede
### Updating `trace_viewer_full.html` ### Updating `trace_viewer_full.html`
The file was generated by catapult's `vulcanize_trace_viewer` command. The file was generated by catapult's `vulcanize_trace_viewer` command.
``` ```
$ git clone https://chromium.googlesource.com/catapult $ git clone https://chromium.googlesource.com/catapult
$ cd catapult $ cd catapult