]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: wrap example command 39459/head
authorKefu Chai <kchai@redhat.com>
Sun, 14 Feb 2021 03:37:35 +0000 (11:37 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Feb 2021 04:32:42 +0000 (12:32 +0800)
otherwise the field name in the field list would be rendered with a
small width.

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/_ext/ceph_commands.py

index bafcd1ba084f9363f17f49e11959b13cd0f7a225..897343cee214d085dcc7df68b154749299a496b3 100644 (file)
@@ -196,7 +196,7 @@ TEMPLATE = '''
 :Example command:
     .. code-block:: bash
 
-       {{ command.mk_bash_example() }}
+       {{ command.mk_bash_example() | wordwrap(70) | indent(9) }}
 
 {%- if command.params %}
 :Parameters:{% for param in command.params -%}