]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: improve the formatting of docstring
authorKefu Chai <tchaikov@gmail.com>
Sun, 6 Mar 2022 07:20:14 +0000 (15:20 +0800)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 12 Apr 2022 14:01:49 +0000 (10:01 -0400)
commitb584e752d62e6867f7518d34e12ff7f5f728f369
treed1016bfd96414c4c714c9a5dd3813aa7ce33e170
parentee56bf98f6224ac01dfcdb3180b4455df7bf551f
mgr/cephadm: improve the formatting of docstring

add an empty line before a doctest block would help
sphinx to tell where the session starts.

see also https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#doctest-blocks

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 8685fffdf20eeb4e2068c421e351aa02c48ff860)
src/python-common/ceph/deployment/service_spec.py