From 04b8cf09b34597b5ba99f6e23c23494bbbc00947 Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Mon, 2 May 2022 10:14:05 +0700 Subject: [PATCH] doc/rados/api: fix invalid RST syntax and don't sudo for vim Fix invalid syntax where "linenos:" was printed in the final rendered documentation instead of being used as formatting syntax. There is no need to use sudo for editing a source file so run vim without sudo. Change the whole block to use bash prompt since it is a command. Also modify the preceding text to hopefully not bold it. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> --- doc/rados/api/python.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/rados/api/python.rst b/doc/rados/api/python.rst index 00c04e83f97..df9c367498f 100644 --- a/doc/rados/api/python.rst +++ b/doc/rados/api/python.rst @@ -20,10 +20,11 @@ perform object operations as a ``client.admin`` user. .. note:: To use the Ceph Python bindings, you must have access to a running Ceph cluster. To set one up quickly, see `Getting Started`_. -First, create a Python source file for your Ceph client. :: - :linenos: +First, create a Python source file for your Ceph client. + +.. prompt:: bash - sudo vim client.py + vim client.py Import the Module -- 2.39.5