]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados: add prompts to erasure-code-shec.rst 49212/head
authorZac Dover <zac.dover@gmail.com>
Sat, 3 Dec 2022 15:57:13 +0000 (01:57 +1000)
committerZac Dover <zac.dover@gmail.com>
Sat, 3 Dec 2022 15:57:13 +0000 (01:57 +1000)
Add unselectable prompts to doc/rados/operations/erasure-code-shec.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/rados/operations/erasure-code-shec.rst

index b2157f780dd7cf380d8b98886d2aea83d75b0a21..4e8f59b0b54bab6ad1879a66045591fd11bc62a4 100644 (file)
@@ -9,7 +9,9 @@ library. It allows ceph to recover data more efficiently than Reed Solomon codes
 Create an SHEC profile
 ======================
 
-To create a new *shec* erasure code profile::
+To create a new *shec* erasure code profile:
+
+.. prompt:: bash $
 
         ceph osd erasure-code-profile set {name} \
              plugin=shec \
@@ -133,10 +135,11 @@ but at least increasing m without increasing c achieves improvement of recovery
 Erasure code profile examples
 =============================
 
-::
 
-        $ ceph osd erasure-code-profile set SHECprofile \
+.. prompt:: bash $
+
+          ceph osd erasure-code-profile set SHECprofile \
              plugin=shec \
              k=8 m=4 c=3 \
              crush-failure-domain=host
-        $ ceph osd pool create shecpool erasure SHECprofile
+          ceph osd pool create shecpool erasure SHECprofile