From: Kefu Chai Date: Sun, 14 Feb 2021 03:37:35 +0000 (+0800) Subject: doc: wrap example command X-Git-Tag: v17.1.0~2956^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7fdd7564faba9f0825768926cd410685b366d2c1;p=ceph.git doc: wrap example command otherwise the field name in the field list would be rendered with a small width. Signed-off-by: Kefu Chai --- diff --git a/doc/_ext/ceph_commands.py b/doc/_ext/ceph_commands.py index bafcd1ba084f..897343cee214 100644 --- a/doc/_ext/ceph_commands.py +++ b/doc/_ext/ceph_commands.py @@ -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 -%}