From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Fri, 11 Apr 2025 05:04:52 +0000 (+0700) Subject: doc/releases: Fix invalid triple backticks in reef.rst squid.rst X-Git-Tag: v20.3.0~84^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=364210f2f37630fbc12f58666ea1535f50bfb40b;p=ceph.git doc/releases: Fix invalid triple backticks in reef.rst squid.rst Triple backtick does not create a code block in RST, instead it renders as an inline code with the third backtick rendered as-is. This makes newlines in multiline code merged to a single line and it makes the whole thing nonsense. Change the second intended code block to use a code block with a bash prompt. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> --- diff --git a/doc/releases/reef.rst b/doc/releases/reef.rst index db251dd86ea40..480a2fdb9a5c2 100644 --- a/doc/releases/reef.rst +++ b/doc/releases/reef.rst @@ -2079,16 +2079,19 @@ Upgrading non-cephadm clusters 2. If your cluster is running Pacific (16.2.x) or later, systemd unit file names have changed to include the cluster fsid. To find the correct systemd unit file name for your cluster, run following command: - ``` - systemctl -l | grep - ``` + :: + + systemctl -l | grep Example: - ``` - $ systemctl -l | grep mon | grep active - ceph-6ce0347c-314a-11ee-9b52-000af7995d6c@mon.f28-h21-000-r630.service loaded active running Ceph mon.f28-h21-000-r630 for 6ce0347c-314a-11ee-9b52-000af7995d6c - ``` + .. prompt:: bash $ + + systemctl -l | grep mon | grep active + + :: + + ceph-6ce0347c-314a-11ee-9b52-000af7995d6c@mon.f28-h21-000-r630.service loaded active running Ceph mon.f28-h21-000-r630 for 6ce0347c-314a-11ee-9b52-000af7995d6c #. Set the `noout` flag for the duration of the upgrade. (Optional, but recommended.) diff --git a/doc/releases/squid.rst b/doc/releases/squid.rst index e59aae34bff08..056fafebd1acb 100644 --- a/doc/releases/squid.rst +++ b/doc/releases/squid.rst @@ -846,16 +846,19 @@ Upgrading non-cephadm clusters 2. If your cluster is running Quincy (17.2.x) or later, systemd unit file names have changed to include the cluster fsid. To find the correct systemd unit file name for your cluster, run following command: - ``` - systemctl -l | grep - ``` + :: + + systemctl -l | grep Example: - ``` - $ systemctl -l | grep mon | grep active - ceph-6ce0347c-314a-11ee-9b52-000af7995d6c@mon.f28-h21-000-r630.service loaded active running Ceph mon.f28-h21-000-r630 for 6ce0347c-314a-11ee-9b52-000af7995d6c - ``` + .. prompt:: bash $ + + systemctl -l | grep mon | grep active + + :: + + ceph-6ce0347c-314a-11ee-9b52-000af7995d6c@mon.f28-h21-000-r630.service loaded active running Ceph mon.f28-h21-000-r630 for 6ce0347c-314a-11ee-9b52-000af7995d6c #. Set the `noout` flag for the duration of the upgrade. (Optional, but recommended.)