aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-01-20 10:53:23 +0100
committerMarkus Armbruster <armbru@redhat.com>2024-01-26 07:04:53 +0100
commitb0b1313eb2a95a3c0676f46dbaecc68478cb631d (patch)
tree28802fe1b03788de382f1ac3837c241f0f403f37 /qapi
parent3bc8dc8aa81d9d651d2559d96efca7ef0ee1731c (diff)
downloadqemu-b0b1313eb2a95a3c0676f46dbaecc68478cb631d.zip
qemu-b0b1313eb2a95a3c0676f46dbaecc68478cb631d.tar.gz
qemu-b0b1313eb2a95a3c0676f46dbaecc68478cb631d.tar.bz2
qapi: Fix dangling references to docs/devel/qapi-code-gen.txt
Conversion of docs/devel/qapi-code-gen.txt to ReST left several dangling references behind. Fix them to point to docs/devel/qapi-code-gen.rst. Fixes: f7aa076dbdfc (docs: convert qapi-code-gen.txt to ReST) Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240120095327.666239-4-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/introspect.json4
-rw-r--r--qapi/qapi-util.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/qapi/introspect.json b/qapi/introspect.json
index 9173e60..ebc4e19 100644
--- a/qapi/introspect.json
+++ b/qapi/introspect.json
@@ -260,8 +260,8 @@
# Additional SchemaInfo members for meta-type 'alternate'.
#
# @members: the alternate type's members, in no particular order. The
-# members' wire encoding is distinct, see
-# docs/devel/qapi-code-gen.txt section Alternate types.
+# members' wire encoding is distinct, see :doc:`qapi-code-gen`
+# section Alternate types.
#
# On the wire, this can be any of the members.
#
diff --git a/qapi/qapi-util.c b/qapi/qapi-util.c
index 63596e1..65a7d18 100644
--- a/qapi/qapi-util.c
+++ b/qapi/qapi-util.c
@@ -112,7 +112,7 @@ bool qapi_bool_parse(const char *name, const char *value, bool *obj, Error **err
* It may be prefixed by __RFQDN_ (downstream extension), where RFQDN
* may contain only letters, digits, hyphen and period.
* The special exception for enumeration names is not implemented.
- * See docs/devel/qapi-code-gen.txt for more on QAPI naming rules.
+ * See docs/devel/qapi-code-gen.rst for more on QAPI naming rules.
* Keep this consistent with scripts/qapi-gen.py!
* If @complete, the parse fails unless it consumes @str completely.
* Return its length on success, -1 on failure.