Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests/qapi-schema/doc-good: Improve a comment
The QAPI generator doesn't reject undocumented members and
features (yet).  doc-good.json covers this, with clear "is
undocumented" notes to signal intent.

Except for @Variant1 member @var1, where it's "(but no @var: line)".
Less clear.  Replace by "@var1 is undocumented".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230428105429.1687850-10-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
  • Loading branch information
Markus Armbruster committed May 9, 2023
1 parent 22bd6e9 commit 5962635
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/qapi-schema/doc-good.json
Expand Up @@ -83,7 +83,9 @@
#
# A paragraph
#
# Another paragraph (but no @var: line)
# Another paragraph
#
# @var1 is undocumented
#
# Features:
# @variant1-feat: a feature
Expand Down
2 changes: 2 additions & 0 deletions tests/qapi-schema/doc-good.out
Expand Up @@ -123,6 +123,8 @@ doc symbol=Variant1
A paragraph

Another paragraph (but no @var: line)

@var1 is undocumented
arg=var1

feature=variant1-feat
Expand Down

0 comments on commit 5962635

Please sign in to comment.