summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2017-04-20 17:32:56 +0200
committerTim Graham <timograham@gmail.com>2017-04-20 11:33:59 -0400
commit0d9e7e9a262644d9f89d9d3a7c443be0e88c2188 (patch)
tree8fb8522c817daf93891d08c16cb70629577dc7d5 /docs
parent2f358d32ec4197d3fd7c246272ed2719d674c8d7 (diff)
[1.11.x] Removed inappropriate highlighting in committing-code.txt.
Backport of 6d7cbe67f0a91ce3c576b41dc5650e1e4cdbd4e2 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/committing-code.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/internals/contributing/committing-code.txt b/docs/internals/contributing/committing-code.txt
index fd526b1dd6..4ce8576702 100644
--- a/docs/internals/contributing/committing-code.txt
+++ b/docs/internals/contributing/committing-code.txt
@@ -131,7 +131,9 @@ Django's Git repository:
The commit message should be in lines of 72 chars maximum. There should be
a subject line, separated by a blank line and then paragraphs of 72 char
lines. The limits are soft. For the subject line, shorter is better. In the
- body of the commit message more detail is better than less::
+ body of the commit message more detail is better than less:
+
+ .. code-block:: none
Fixed #18307 -- Added git workflow guidelines
@@ -183,13 +185,17 @@ Django's Git repository:
is the number of the ticket your commit references. This will automatically
post a comment to the appropriate ticket.
-* Write commit messages for backports using this pattern::
+* Write commit messages for backports using this pattern:
+
+ .. code-block:: none
[<Django version>] Fixed <ticket> -- <description>
Backport of <revision> from <branch>.
- For example::
+ For example:
+
+ .. code-block:: none
[1.3.x] Fixed #17028 -- Changed diveintopython.org -> diveintopython.net.