]> git.apps.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)
committerLaura Flores <lflores@redhat.com>
Thu, 24 Mar 2022 17:25:22 +0000 (12:25 -0500)
commit8ebbc13ff6db4f6a6a6acae9ff86994bec18fe9f
treed4b9bbd9cddd1e68527291f21939d058feb8f6a3
parent72259c73a19a821377e968146725cfe404279722
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