qapi/block-core: Fix BlockLatencyHistogramInfo doc markup
commitd9884878820366e66d3e28436daf5aa3d0fb9c37
authorMarkus Armbruster <armbru@redhat.com>
Mon, 5 Feb 2024 07:46:57 +0000 (5 08:46 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 12 Feb 2024 09:04:31 +0000 (12 10:04 +0100)
tree8fa6abbad904a06f0488d499523c9460e195a767
parent399c8cd3ba9215f8e4ea166dce0f6619071a4f66
qapi/block-core: Fix BlockLatencyHistogramInfo doc markup

The description of @bins ends with a literal block:

    # @bins: list of io request counts corresponding to histogram
    #     intervals, one more element than @boundaries has.  For the
    #     example above, @bins may be something like [3, 1, 5, 2], and
    #     corresponding histogram looks like:
    #
    # ::
    #
    #        5|           *

Except it actually ends *before* the block: the unindented '::' line
starts a new section.  Makes no sense.

We could fix this by indenting the '::' line.  Instead, double the
colon at the end of the preceding paragraph, and drop the '::' line.

This shifts the box for the literal block right in generated
documentation, so it lines up with the description.

Fixes: commit a0fcff383b34 (qapi: Use rST markup for literal blocks)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-4-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
qapi/block-core.json