diff --git a/_static/devguide_overrides.css b/_static/devguide_overrides.css index a8e96a43c..e86b6c177 100644 --- a/_static/devguide_overrides.css +++ b/_static/devguide_overrides.css @@ -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); +} diff --git a/getting-started/git-boot-camp.rst b/getting-started/git-boot-camp.rst index fd080320e..3783f9141 100644 --- a/getting-started/git-boot-camp.rst +++ b/getting-started/git-boot-camp.rst @@ -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) @@ -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) @@ -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) @@ -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)