diff options
author | Erik Faye-Lund <[email protected]> | 2019-06-04 14:14:13 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-13 10:42:00 +0000 |
commit | d6be994ef8ed6e81dc069a5cc3c8604619cc9d56 (patch) | |
tree | f40bd9130d9fa95e1312dd68eb7311a5d63f6edf /docs/submittingpatches.rst | |
parent | bf3f0f7a82e44e8a7c34afa6b56cc620619083ee (diff) |
docs: use code-blocks
Sphinx can syntax-highlight a block if we use the right syntax.
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
Diffstat (limited to 'docs/submittingpatches.rst')
-rw-r--r-- | docs/submittingpatches.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/submittingpatches.rst b/docs/submittingpatches.rst index c99e8d0b012..55b97cd4279 100644 --- a/docs/submittingpatches.rst +++ b/docs/submittingpatches.rst @@ -383,7 +383,7 @@ Git tips - ``git rebase -i ...`` is your friend. Don't be afraid to use it. - Apply a fixup to commit FOO. - :: + .. code-block:: console git add ... git commit --fixup=FOO @@ -391,20 +391,20 @@ Git tips - Test for build breakage between patches e.g last 8 commits. - :: + .. code-block:: console git rebase -i --exec="ninja -C build/" HEAD~8 - Sets the default mailing address for your repo. - :: + .. code-block:: console git config --local sendemail.to [email protected] - Add version to subject line of patch series in this case for the last 8 commits before sending. - :: + .. code-block:: console git send-email --subject-prefix="PATCH v4" HEAD~8 git send-email -v4 @~8 # shorter version, inherited from git format-patch |