qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* docs/qemu-qmp-ref.7 markup messed up
@ 2021-03-26 14:19 Markus Armbruster
  2021-03-26 20:40 ` John Snow
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2021-03-26 14:19 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu

When I look at docs/qemu-qmp-ref.7 with less -R, I see

   ReplicationMode (Enum)
       An enumeration of replication modes.

   Values
       primary
              Primary mode, the vm's state will be sent to secondary QEMU.

       secondary
              Secondary mode, receive the vm's state from primary QEMU.

   Since
       2.9

   If
-->    defined(CONFIG_REPLICATION).SS BlockdevOptionsReplication (Object)

       Driver specific block device options for replication

   Members
       mode: ReplicationMode
              the replication mode

The line I marked with --> is bad.  It should instead look like

   If
       defined(CONFIG_REPLICATION)

   BlockdevOptionsReplication (Object)

       Driver specific block device options for replication

Unformatted code:

    .SS \fBReplicationMode\fP (Enum)
    .sp
    An enumeration of replication modes.
    .SS Values
    .INDENT 0.0
    .TP
    .B \fBprimary\fP
    Primary mode, the vm\(aqs state will be sent to secondary QEMU.
    .TP
    .B \fBsecondary\fP
    Secondary mode, receive the vm\(aqs state from primary QEMU.
    .UNINDENT
    .SS Since
    .sp
    2.9
    .SS If
--> \fBdefined(CONFIG_REPLICATION)\fP.SS \fBBlockdevOptionsReplication\fP (Object)
    .sp
    Driver specific block device options for replication
    .SS Members
    .INDENT 0.0
    .TP
    .B \fBmode\fP: \fBReplicationMode\fP
    the replication mode
    .TP

I believe line I marked with --> should be broken before .SS.

I'm using sphinx-build-3 2.2.2.

I checked with the merge commit that switched QAPI doc generation to
Sphinx (commit e344ffe73b), same result.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-06 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-26 14:19 docs/qemu-qmp-ref.7 markup messed up Markus Armbruster
2021-03-26 20:40 ` John Snow
2021-04-06 13:33   ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).