Skip to content

Commit 364210f

Browse files
committed
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 <[email protected]>
1 parent 5307f7a commit 364210f

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

doc/releases/reef.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,16 +2079,19 @@ Upgrading non-cephadm clusters
20792079

20802080
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:
20812081

2082-
```
2083-
systemctl -l | grep <daemon type>
2084-
```
2082+
::
2083+
2084+
systemctl -l | grep <daemon type>
20852085

20862086
Example:
20872087

2088-
```
2089-
$ systemctl -l | grep mon | grep active
2090-
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
2091-
```
2088+
.. prompt:: bash $
2089+
2090+
systemctl -l | grep mon | grep active
2091+
2092+
::
2093+
2094+
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
20922095

20932096
#. Set the `noout` flag for the duration of the upgrade. (Optional, but recommended.)
20942097

doc/releases/squid.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -846,16 +846,19 @@ Upgrading non-cephadm clusters
846846

847847
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:
848848

849-
```
850-
systemctl -l | grep <daemon type>
851-
```
849+
::
850+
851+
systemctl -l | grep <daemon type>
852852

853853
Example:
854854

855-
```
856-
$ systemctl -l | grep mon | grep active
857-
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
858-
```
855+
.. prompt:: bash $
856+
857+
systemctl -l | grep mon | grep active
858+
859+
::
860+
861+
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
859862

860863
#. Set the `noout` flag for the duration of the upgrade. (Optional, but recommended.)
861864

0 commit comments

Comments
 (0)