From 364210f2f37630fbc12f58666ea1535f50bfb40b Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Fri, 11 Apr 2025 12:04:52 +0700 Subject: [PATCH] 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> --- doc/releases/reef.rst | 17 ++++++++++------- doc/releases/squid.rst | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/doc/releases/reef.rst b/doc/releases/reef.rst index db251dd86ea4..480a2fdb9a5c 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 e59aae34bff0..056fafebd1ac 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.) -- 2.47.3