FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add green and red side border for good and bad examples by hugovk · Pull Request #1237 · python/devguide · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .css  (1) .rst  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
7 changes: 7 additions & 0 deletions _static/devguide_overrides.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,10 @@
fill: #2222EE;
stroke: #008888;
}

.good pre {
border-left: 3px solid rgba(74, 182, 93, 1);
}
.bad pre {
border-left: 3px solid rgb(244, 76, 78);
}
4 changes: 4 additions & 0 deletions getting-started/git-boot-camp.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ In either case, adjust and clean up the commit message.
✅ Here's an example of a **good** commit message:

.. code-block:: text
:class: good

gh-12345: Improve the spam module (GH-777)

Expand All @@ -501,6 +502,7 @@ In either case, adjust and clean up the commit message.
❌ Here's an example of a **bad** commit message:

.. code-block:: text
:class: bad

gh-12345: Improve the spam module (#777)

Expand Down Expand Up @@ -576,6 +578,7 @@ one as is and delete the number of the backport pull request.
✅ Example of good backport commit message:

.. code-block:: text
:class: good

gh-12345: Improve the spam module (GH-777)

Expand All @@ -587,6 +590,7 @@ one as is and delete the number of the backport pull request.
❌ Example of bad backport commit message:

.. code-block:: text
:class: bad

gh-12345: Improve the spam module (GH-777) (#888)

Expand Down

Back | FazBrowse Home | New Git URL