diff --git a/docs/docsite/rst/dev_guide/style_guide/basic_rules.rst b/docs/docsite/rst/dev_guide/style_guide/basic_rules.rst index 034aece5409..fcb4abad687 100644 --- a/docs/docsite/rst/dev_guide/style_guide/basic_rules.rst +++ b/docs/docsite/rst/dev_guide/style_guide/basic_rules.rst @@ -61,7 +61,9 @@ For menu procedures, bold the menu names, button names, and so on to help the us 3. In the **Open** dialog box, click **Save**. 4. On the toolbar, click the **Open File** icon. -For code or command snippets, use the RST `code-block directive `_:: +For code or command snippets, use the RST `code-block directive `_: + +.. code-block:: rst .. code-block:: bash diff --git a/docs/docsite/rst/dev_guide/style_guide/index.rst b/docs/docsite/rst/dev_guide/style_guide/index.rst index 0183ba99212..b43b9164d31 100644 --- a/docs/docsite/rst/dev_guide/style_guide/index.rst +++ b/docs/docsite/rst/dev_guide/style_guide/index.rst @@ -192,7 +192,9 @@ Adding anchors * Include at least one anchor on every page * Place the main anchor above the main header -* If the file has a unique title, use that for the main page anchor:: +* If the file has a unique title, use that for the main page anchor: + +.. code-block:: text .. _unique_page::