]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/releases: Fix invalid triple backticks in reef.rst squid.rst 62775/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Fri, 11 Apr 2025 05:04:52 +0000 (12:04 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Fri, 11 Apr 2025 06:58:51 +0000 (13:58 +0700)
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
doc/releases/squid.rst

index db251dd86ea405f1c4d5479795cb924d11b69424..480a2fdb9a5c2b960441f9c90bfd63c43f4737ea 100644 (file)
@@ -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 <daemon type>
-      ```
+      ::
+
+        systemctl -l | grep <daemon type>
 
       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.)
 
index e59aae34bff084cb39a5aa1cbf5bea6b2f55a7d3..056fafebd1acbea5ce45df0187e63c6b6c30e917 100644 (file)
@@ -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 <daemon type>
-      ```
+      ::
+
+        systemctl -l | grep <daemon type>
 
       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.)