sphinx/qapidoc: Drop code to generate doc for simple union tag
commitfd62bff901b6c25df4971066b74049548caadc83
authorMarkus Armbruster <armbru@redhat.com>
Mon, 5 Feb 2024 07:46:59 +0000 (5 08:46 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 12 Feb 2024 09:04:31 +0000 (12 10:04 +0100)
tree73b90c26019c2643b7b4956c4c9705d4330bf034
parent1ed1d4d60885059cee10a411653c5868a0c13097
sphinx/qapidoc: Drop code to generate doc for simple union tag

QAPISchemaGenRSTVisitor._nodes_for_members() has a special case to
auto-generate documentation for a union tag member of implicit (enum)
type that lacks documentation.

This was useful for simple unions, where the tag member's type was
implicitly.  The only implicit enum type left today is 'QType'.  Not
worth a special case.  Drop.  No change to generated documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-6-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/sphinx/qapidoc.py