Skip to content

Commit c951512

Browse files
richardlaudanielleadams
authored andcommitted
doc: fix example commands for REPLACEME updates
Split the two example command lines for updating the `REPLACEME` tags into separate `console` fenced code blocks. This fixes some stray "`" characters and makes each example one-click copiable when viewing the guide in GitHub's web UI. PR-URL: #41269 Refs: #39544 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com>
1 parent 362f5ed commit c951512

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/guides/releases.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,13 @@ grep REPLACEME doc/api/*.md
326326
and substitute this node version with
327327

328328
```console
329-
sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md` or `perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md
329+
sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md
330+
```
331+
332+
or
333+
334+
```console
335+
perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md
330336
```
331337

332338
`$VERSION` should be prefixed with a `v`.

0 commit comments

Comments
 (0)