]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Remove markup from CLI example commands 67595/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Mon, 2 Mar 2026 07:00:45 +0000 (14:00 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Mon, 2 Mar 2026 07:27:09 +0000 (14:27 +0700)
Remove all the remaining stars in the preformatted block CLI example
commands.
Several example CLI commands had stars around placeholder text in
addition to the standard angle brackets. The stars could make sense in
man pages or in text to make the placeholder italic but it will just be
rendered as-is in preformatted text blocks.

Signed-off-by: Ville Ojamo <git2233+ceph@ojamo.eu>
doc/cephadm/services/mon.rst
doc/cephadm/services/nfs.rst
doc/mgr/alerts.rst
doc/mgr/nfs.rst

index 86cc121c9d532d4dd7f97a1fb7fdc9365a070649..ba695cea03b247c8670af68bd5542a78ea049cc1 100644 (file)
@@ -41,7 +41,7 @@ format (e.g., ``10.1.2.0/24``):
 
   .. prompt:: bash #
 
-     ceph config set mon public_network *<mon-cidr-network>*
+     ceph config set mon public_network <mon-cidr-network>
 
   For example:
 
@@ -56,7 +56,7 @@ You can also specify two public networks by using a list of networks:
 
   .. prompt:: bash #
 
-     ceph config set mon public_network *<mon-cidr-network1>,<mon-cidr-network2>*
+     ceph config set mon public_network <mon-cidr-network1>,<mon-cidr-network2>
 
   For example:
 
@@ -80,7 +80,7 @@ run this command:
 
   .. prompt:: bash #
 
-    ceph orch daemon add mon *<host1:ip-or-network1>
+    ceph orch daemon add mon <host1:ip-or-network1>
 
   For example, to deploy a second monitor on ``newhost1`` using an IP
   address ``10.1.2.123`` and a third monitor on ``newhost2`` in
@@ -125,7 +125,7 @@ To deploy each additional monitor:
 
   .. prompt:: bash #
 
-    ceph orch daemon add mon *<newhost1:ip-or-network1>*
+    ceph orch daemon add mon <newhost1:ip-or-network1>
 
 For example, to deploy a second monitor on ``newhost1`` using an IP
 address ``10.1.2.123`` and a third monitor on ``newhost2`` in
@@ -147,7 +147,7 @@ network ``10.1.2.0/24``, run the following commands:
 
   .. prompt:: bash #
 
-     ceph config set mon public_network *<mon-cidr-network>*
+     ceph config set mon public_network <mon-cidr-network>
 
   For example:
 
index f7b2caabc37e56534a1bcf358dda085f2c02c934..d1d34677a861d2ca037a650d3715aa03fe023a2e 100644 (file)
@@ -22,7 +22,7 @@ To deploy a NFS Ganesha gateway, run the following command:
 
 .. prompt:: bash #
 
-    ceph orch apply nfs *<svc_id>* [--port *<port>*] [--placement ...]
+    ceph orch apply nfs <svc_id> [--port <port>] [--placement ...]
 
 For example, to deploy NFS with a service id of *foo* on the default
 port 2049 with the default placement of a single daemon:
@@ -206,7 +206,7 @@ A few notes:
 
     .. prompt:: bash #
 
-       ceph config-key get mgr/cephadm/ingress.*{svc_id}*/monitor_password
+       ceph config-key get mgr/cephadm/ingress.<svc_id>/monitor_password
 
     For example:
 
index dae1f78acfc9a073ca0fa1fd06423d9729d0f180..d794b36be59d577a1deb3a575068d2b558650408 100644 (file)
@@ -31,23 +31,23 @@ separating them with commas.
 
 .. prompt:: bash #
 
-   ceph config set mgr mgr/alerts/smtp_host *<smtp-server>*
-   ceph config set mgr mgr/alerts/smtp_destination *<email-address-to-send-to>*
-   ceph config set mgr mgr/alerts/smtp_sender *<from-email-address>*
+   ceph config set mgr mgr/alerts/smtp_host <smtp-server>
+   ceph config set mgr mgr/alerts/smtp_destination <email-address-to-send-to>
+   ceph config set mgr mgr/alerts/smtp_sender <from-email-address>
 
 The alerts module uses SSL and port 465 by default. These settings can be changed by running commands of the following forms:
 
 .. prompt:: bash #
 
    ceph config set mgr mgr/alerts/smtp_ssl false   # if not SSL
-   ceph config set mgr mgr/alerts/smtp_port *<port-number>*  # if not 465
+   ceph config set mgr mgr/alerts/smtp_port <port-number>  # if not 465
 
 To authenticate to the SMTP server, you must set the user and password:
 
 .. prompt:: bash #
 
-   ceph config set mgr mgr/alerts/smtp_user *<username>*
-   ceph config set mgr mgr/alerts/smtp_password *<password>*
+   ceph config set mgr mgr/alerts/smtp_user <username>
+   ceph config set mgr mgr/alerts/smtp_password <password>
 
 By default, the name in the ``From:`` line is simply ``Ceph``.  To change this
 default (that is, to identify which cluster this is), run a command of the
@@ -63,7 +63,7 @@ frequency of the alert module's cluster health checks by running a command of th
 
 .. prompt:: bash #
 
-   ceph config set mgr mgr/alerts/interval *<interval>*   # e.g., "5m" for 5 minutes
+   ceph config set mgr mgr/alerts/interval <interval>   # e.g., "5m" for 5 minutes
 
 Commands
 --------
index 485200e1f5cc4a22a1e3963739494faabc903b21..acbc6395c6923f3096ae0727ed74e1d1faf33475 100644 (file)
@@ -466,14 +466,14 @@ An existing export can be dumped in JSON format with:
 
 .. prompt:: bash #
 
-    ceph nfs export info *<cluster_id>* *<pseudo_path>*
+    ceph nfs export info <cluster_id> <pseudo_path>
 
 An export can be created or modified by importing a JSON description in the
 same format:
 
 .. prompt:: bash #
 
-   ceph nfs export apply *<cluster_id>* -i <json_file>
+   ceph nfs export apply <cluster_id> -i <json_file>
 
 For example: