From 524210bbb2866156892bbc8d2da24e00a6544f95 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 17 May 2022 22:33:02 +0000 Subject: [PATCH] doc: lint Markdown for trailing spaces and code blocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: 67cf146b8501096949faf0155239770d4f6a73b4 GitHub-Pull-Request: golang/go#44285 Reviewed-on: https://go-review.googlesource.com/c/go/+/292409 Reviewed-by: Robert Griesemer Auto-Submit: Alex Rakoczy Reviewed-by: Daniel Martí Run-TryBot: Daniel Martí Reviewed-by: Alex Rakoczy TryBot-Result: Gopher Robot --- src/cmd/compile/internal/ssa/README.md | 4 ++-- src/cmd/trace/static/README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cmd/compile/internal/ssa/README.md b/src/cmd/compile/internal/ssa/README.md index 833bf1ddc9..d695fda045 100644 --- a/src/cmd/compile/internal/ssa/README.md +++ b/src/cmd/compile/internal/ssa/README.md @@ -185,10 +185,10 @@ program. You can also click on values and blocks to highlight them, to help follow the control flow and values. The value specified in GOSSAFUNC can also be a package-qualified function -name, e.g. +name, e.g. GOSSAFUNC=blah.Foo go build - + This will match any function named "Foo" within a package whose final suffix is "blah" (e.g. something/blah.Foo, anotherthing/extra/blah.Foo). diff --git a/src/cmd/trace/static/README.md b/src/cmd/trace/static/README.md index f81c59eae5..b0ca86a397 100644 --- a/src/cmd/trace/static/README.md +++ b/src/cmd/trace/static/README.md @@ -1,7 +1,7 @@ ## Resources for Go's trace viewer Go execution trace UI (`go tool trace`) embeds -Chrome's trace viewer (Catapult) following the +Chrome's trace viewer (Catapult) following the [instructions]( 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. @@ -13,6 +13,7 @@ https://chromium.googlesource.com/catapult/+/9508452e18f130c98499cb4c4f1e1efaede ### Updating `trace_viewer_full.html` The file was generated by catapult's `vulcanize_trace_viewer` command. + ``` $ git clone https://chromium.googlesource.com/catapult $ cd catapult -- 2.50.0