diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-13 16:37:20 +0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-12-14 06:52:48 +0100 |
commit | a35c9bf82aff4e80a90f0adfc7383d03749db0b6 (patch) | |
tree | 8a27cdb33977b141cf15c1ca6ba6dd3c2a9b4876 /tests/qapi-schema/doc-good.texi | |
parent | 8ee06f61e13701a54a9f76ceadafc856d279cdb6 (diff) |
qapi: add 'If:' condition to enum values documentation
Use a common function to generate the "If:..." line.
While at it, get rid of the existing \n\n (no idea why it was
there). Use a line-break in member description, this seems to look
slightly better in the plaintext version.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181213123724.4866-19-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-good.texi')
-rw-r--r-- | tests/qapi-schema/doc-good.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/doc-good.texi b/tests/qapi-schema/doc-good.texi index e42eace474..405055b146 100644 --- a/tests/qapi-schema/doc-good.texi +++ b/tests/qapi-schema/doc-good.texi @@ -84,12 +84,12 @@ Examples: @table @asis @item @code{one} The @emph{one} @{and only@} +@*@b{If:} @code{defined(IFONE)} @item @code{two} Not documented @end table @code{two} is undocumented - @b{If:} @code{defined(IFCOND)} @end deftp |