From 538b99781f81b87ff2cd18ee6eae1db49a29c37a Mon Sep 17 00:00:00 2001 From: Ozan Uslan <54141068+ozanuslan@users.noreply.github.com> Date: Sat, 1 Oct 2022 16:37:42 +0300 Subject: [PATCH] Docs: Add code-block wrappers to code examples: testing_documentation.rst (#78966) * Docs: Add code-block wrappers to code examples: testing_documentation.rst List of changed files: - docs/docsite/rst/dev_guide/testing_documentation.rst * Fix: match whitespace convention of other occurences --- docs/docsite/rst/dev_guide/testing_documentation.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docsite/rst/dev_guide/testing_documentation.rst b/docs/docsite/rst/dev_guide/testing_documentation.rst index f998939524b..cfd309d6698 100644 --- a/docs/docsite/rst/dev_guide/testing_documentation.rst +++ b/docs/docsite/rst/dev_guide/testing_documentation.rst @@ -31,6 +31,8 @@ To ensure that your module documentation matches your ``argument_spec``: pip install --user -r test/lib/ansible_test/_data/requirements/sanity.txt -#. run the ``validate-modules`` test:: +#. run the ``validate-modules`` test: + + .. code-block:: bash ansible-test sanity --test validate-modules mymodule