Skip to content

Commit e81bcc5

Browse files
committed
fix code block syntax
1 parent 372b8e3 commit e81bcc5

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

CONTRIBUTING.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ instructions.
224224
"release-A.B.C". For a fix release, branch off the corresponding release branch. For
225225
a feature release, branch off of main.
226226

227-
```
228-
$ git switch -c release-A.B.C A.B.x
229-
```
227+
.. code-block:: text
228+
229+
$ git switch -c release-A.B.C A.B.x
230230
231231
2. Review the ``CHANGES.rst`` file and ensure each code change has a corresponding
232232
entry. Only code changes need entries, not docs or non-published code and files. Use
@@ -239,9 +239,9 @@ instructions.
239239

240240
5. Commit with a standard message:
241241

242-
```
243-
$ git commit -am 'release version A.B.C'
244-
```
242+
.. code-block:: text
243+
244+
$ git commit -am 'release version A.B.C'
245245
246246
6. Push the branch and open a PR. The title should be the same as the commit message
247247
(if there was only one commit). No need to add a description. Assign it to the
@@ -255,10 +255,10 @@ instructions.
255255
8. Create and push an annotated tag with a standard message. You'll see the new
256256
"build" workflow status get added to the PR checks.
257257

258-
```
259-
$ git tag -am 'release version A.B.C' A.B.C
260-
$ git push origin A.B.C
261-
```
258+
.. code-block:: text
259+
260+
$ git tag -am 'release version A.B.C' A.B.C
261+
$ git push origin A.B.C
262262
263263
9. Wait for the "build", "provenance", and "create-release" workflows to succeed. Go
264264
into the created draft release and check that the expected files (with the correct
@@ -277,22 +277,22 @@ instructions.
277277

278278
12. If this was a fix release, merge it into main now that the PR is merged.
279279

280-
```
281-
$ git switch A.B.x
282-
$ git pull
283-
$ git switch main
284-
$ git merge A.B.x
285-
$ git push
286-
```
280+
.. code-block:: text
281+
282+
$ git switch A.B.x
283+
$ git pull
284+
$ git switch main
285+
$ git merge A.B.x
286+
$ git push
287287
288288
12. If this was a feature release, make a new branch for fix releases.
289289

290-
```
291-
$ git switch main
292-
$ git pull
293-
$ git switch -c A.B.x
294-
$ git push
295-
```
290+
.. code-block:: text
291+
292+
$ git switch main
293+
$ git pull
294+
$ git switch -c A.B.x
295+
$ git push
296296
297297
13. If this was a feature release, ask a maintainer with docs access to update Read the
298298
Docs to use the new branch as the primary.

0 commit comments

Comments
 (0)