summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-04-06 10:19:09 -0400
committerPeter Maydell <peter.maydell@linaro.org>2021-04-13 10:14:58 +0100
commit2d18b4ca023ca1a3aee18064251d6e6e1084f3eb (patch)
tree9e6ca79efdff0776d237bc5a79bc772a7bc025dd /include/qemu/compiler.h
parent91c0a79891b080efea276caf6bd3ff10809c4e4c (diff)
downloadfocaccia-qemu-2d18b4ca023ca1a3aee18064251d6e6e1084f3eb.tar.gz
focaccia-qemu-2d18b4ca023ca1a3aee18064251d6e6e1084f3eb.zip
sphinx: qapidoc: Wrap "If" section body in a paragraph node
These sections need to be wrapped in a block-level element, such as
Paragraph in order for them to be rendered into Texinfo correctly.

Before (e.g.):

<section ids="qapidoc-713">
  <title>If</title>
  <literal>defined(CONFIG_REPLICATION)</literal>
</section>

became:

  .SS If
  \fBdefined(CONFIG_REPLICATION)\fP.SS \fBBlockdevOptionsReplication\fP (Object)
  ...

After:

<section ids="qapidoc-713">
  <title>If</title>
  <paragraph>
    <literal>defined(CONFIG_REPLICATION)</literal>
  </paragraph>
</section>

becomes:

  .SS If
  .sp
  \fBdefined(CONFIG_REPLICATION)\fP
  .SS \fBBlockdevOptionsReplication\fP (Object)
  ...

Reported-by: Markus Armbruster <armbru@redhat.com>
Tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210406141909.1992225-2-jsnow@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions