On Fri, Feb 16, 2024 at 03:58:31PM +0100, Markus Armbruster wrote: > Improve the message for an empty tagged section from > > empty doc section 'Note' > > to > > text required after 'Note:' > > and the message for an empty argument or feature description from > > empty doc section 'foo' > > to > > text required after '@foo:' > > Improve the error position to refer to the beginning of the empty > section instead of its end. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > docs/sphinx/qapidoc.py | 4 ++-- > scripts/qapi/parser.py | 14 +++++++------- > tests/qapi-schema/doc-empty-section.err | 2 +- > 3 files changed, 10 insertions(+), 10 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|