From 9afb37eda605d79348a19d49cd0a615a6691aa3a Mon Sep 17 00:00:00 2001 From: Luigi Giugliano Date: Sat, 1 Oct 2022 20:40:28 +0200 Subject: [PATCH] #78965 Adding the code-block to prevent the translation (#78979) * Adding the code-block to prevent the translation --- docs/docsite/rst/dev_guide/testing/sanity/ignores.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/dev_guide/testing/sanity/ignores.rst b/docs/docsite/rst/dev_guide/testing/sanity/ignores.rst index 942b48f82ee..69190c8d739 100644 --- a/docs/docsite/rst/dev_guide/testing/sanity/ignores.rst +++ b/docs/docsite/rst/dev_guide/testing/sanity/ignores.rst @@ -71,7 +71,9 @@ This will be the name of the sanity test. If the sanity test is specific to a version of Python, the name will include a dash (``-``) and the relevant Python version. If the named test uses error codes then the error code to ignore must be appended to the name of the test, separated by a colon (``:``). -Below are some example ignore entries for an Ansible collection:: +Below are some example ignore entries for an Ansible collection: + +.. code-block:: text roles/my_role/files/my_script.sh shellcheck:SC2154 # ignore undefined variable plugins/modules/my_module.py validate-modules:missing-gplv3-license # ignore license check @@ -81,7 +83,9 @@ It is also possible to skip a sanity test for a specific file. This is done by adding ``!skip`` after the sanity test name in the second column. When this is done, no error code is included, even if the sanity test uses error codes. -Below are some example skip entries for an Ansible collection:: +Below are some example skip entries for an Ansible collection: + +.. code-block:: text plugins/module_utils/my_util.py validate-modules!skip # waiting for bug fix in module validator plugins/lookup/my_plugin.py compile-2.6!skip # Python 2.6 is not supported on the controller