diff --git a/doc/linux.rst b/doc/linux.rst
index 0fbcddd1a240574c46180cdfa4e5057da499c19f..a739fd8f260e9a3e226e9c8fa9a78b8fa49d3389 100644
--- a/doc/linux.rst
+++ b/doc/linux.rst
@@ -139,7 +139,7 @@ the values of ``<internal.ipv4.address>`` and ``<token>`` on the template below)
    You must make both ``/scratch/builds`` and ``/scratch/cache`` owned by the
    user running the ``gitlab-runner`` process.  Typically, it is
    ``gitlab-runner``.  These commands, in this case, are in order to complete
-   the setup::
+   the setup:
 
    .. code-block:: sh
 
@@ -151,7 +151,7 @@ the values of ``<internal.ipv4.address>`` and ``<token>`` on the template below)
 
 Once the configuration is done, add the gitlab-runner user to the docker group
 so it can do tasks related to Docker (images pulling, python client call,
-etc.)::
+etc.):
 
 .. code-block:: sh