From 7fdd7564faba9f0825768926cd410685b366d2c1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 14 Feb 2021 11:37:35 +0800 Subject: [PATCH] doc: wrap example command otherwise the field name in the field list would be rendered with a small width. Signed-off-by: Kefu Chai --- doc/_ext/ceph_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/_ext/ceph_commands.py b/doc/_ext/ceph_commands.py index bafcd1ba084..897343cee21 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 -%}