From 4aede377d2d4b8368c6c685e0684acb382d1730b Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Mon, 4 Oct 2021 19:46:43 +0200 Subject: [PATCH] docs - Use code-block to format code examples in Community Guide (#75847) Fixes #75675 --- docs/docsite/rst/community/communication.rst | 4 +++- docs/docsite/rst/community/development_process.rst | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/docsite/rst/community/communication.rst b/docs/docsite/rst/community/communication.rst index d35128fb8db..010c61f2a5b 100644 --- a/docs/docsite/rst/community/communication.rst +++ b/docs/docsite/rst/community/communication.rst @@ -71,7 +71,9 @@ IRC chat supports: * simple text interface * bridging from Matrix -Our IRC channels may require you to register your IRC nickname. If you receive an error when you connect or when posting a message, see `libera.chat's Nickname Registration guide `_ for instructions. To find all ``ansible`` specific channels on the libera.chat network, use the following command in your IRC client:: +Our IRC channels may require you to register your IRC nickname. If you receive an error when you connect or when posting a message, see `libera.chat's Nickname Registration guide `_ for instructions. To find all ``ansible`` specific channels on the libera.chat network, use the following command in your IRC client: + +.. code-block:: text /msg alis LIST #ansible* -min 5 diff --git a/docs/docsite/rst/community/development_process.rst b/docs/docsite/rst/community/development_process.rst index b98d4a3711f..12d0d419cd8 100644 --- a/docs/docsite/rst/community/development_process.rst +++ b/docs/docsite/rst/community/development_process.rst @@ -313,14 +313,14 @@ We do **not** backport features. #. Prepare your devel, stable, and feature branches: - :: +.. code-block:: shell git fetch upstream git checkout -b backport/2.11/[PR_NUMBER_FROM_DEVEL] upstream/stable-2.11 #. Cherry pick the relevant commit SHA from the devel branch into your feature branch, handling merge conflicts as necessary: - :: +.. code-block:: shell git cherry-pick -x [SHA_FROM_DEVEL] @@ -328,7 +328,7 @@ We do **not** backport features. #. Push your feature branch to your fork on GitHub: - :: +.. code-block:: shell git push origin backport/2.11/[PR_NUMBER_FROM_DEVEL]