[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/8] qapi: convert "Example" sections with titles
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 6/8] qapi: convert "Example" sections with titles |
Date: |
Tue, 09 Jul 2024 13:30:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
John Snow <jsnow@redhat.com> writes:
> When an Example section has a brief explanation, convert it to a
> qmp-example:: section using the :title: option.
>
> Rule of thumb: If the title can fit on a single line and requires no rST
> markup, it's a good candidate for using the :title: option of
> qmp-example.
>
> In this patch, trailing punctuation is removed from the title section
> for consistent headline aesthetics. In just one case, specifics of the
> example are removed to make the title read better.
>
> See commit-4: "docs/qapidoc: create qmp-example directive", for a
> detailed explanation of this custom directive syntax.
>
> See commit+2: "qapi: remove "Example" doc section" for a detailed
> explanation of why.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[PATCH 6/8] qapi: convert "Example" sections with titles, John Snow, 2024/07/03
- Re: [PATCH 6/8] qapi: convert "Example" sections with titles,
Markus Armbruster <=
[PATCH 7/8] qapi: convert "Example" sections with longer prose, John Snow, 2024/07/03
[PATCH 8/8] qapi: remove "Example" doc section, John Snow, 2024/07/03
Re: [PATCH 0/8] qapi: convert example sections to qmp-example rST directives, Markus Armbruster, 2024/07/09