aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-07-28 19:46:03 -0300
committerMichael Tokarev <mjt@tls.msk.ru>2017-07-31 13:12:41 +0300
commitb3125e73d45126ecf49bd73d3a92426102759cda (patch)
tree0dd0226a165d032ca2a52ba1e56d9fa609d9a0c3
parentf3fdeb9c972607a8b0691d17e204b6876f2f598a (diff)
downloadqemu-b3125e73d45126ecf49bd73d3a92426102759cda.zip
qemu-b3125e73d45126ecf49bd73d3a92426102759cda.tar.gz
qemu-b3125e73d45126ecf49bd73d3a92426102759cda.tar.bz2
docs: fix broken paths to docs/devel/qapi-code-gen.txt
With the move of some docs to docs/interop on ac06724a71, a couple of references were not updated. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--docs/devel/writing-qmp-commands.txt2
-rw-r--r--include/qapi/visitor.h2
-rw-r--r--qapi/introspect.json2
-rw-r--r--qapi/qapi-util.c2
-rwxr-xr-xscripts/qapi2texi.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/docs/devel/writing-qmp-commands.txt b/docs/devel/writing-qmp-commands.txt
index 69793e3..4f5b24c 100644
--- a/docs/devel/writing-qmp-commands.txt
+++ b/docs/devel/writing-qmp-commands.txt
@@ -7,7 +7,7 @@ This document doesn't discuss QMP protocol level details, nor does it dive
into the QAPI framework implementation.
For an in-depth introduction to the QAPI framework, please refer to
-docs/qapi-code-gen.txt. For documentation about the QMP protocol,
+docs/devel/qapi-code-gen.txt. For documentation about the QMP protocol,
start with docs/interop/qmp-intro.txt.
== Overview ==
diff --git a/include/qapi/visitor.h b/include/qapi/visitor.h
index fe9faf4..0f3b8cb 100644
--- a/include/qapi/visitor.h
+++ b/include/qapi/visitor.h
@@ -36,7 +36,7 @@
* QemuOpts, and clone visitors have some implementation limitations;
* see the documentation for each visitor for more details on what it
* supports. Also, see visitor-impl.h for the callback contracts
- * implemented by each visitor, and docs/qapi-code-gen.txt for more
+ * implemented by each visitor, and docs/devel/qapi-code-gen.txt for more
* about the QAPI code generator.
*
* All of the visitors are created via:
diff --git a/qapi/introspect.json b/qapi/introspect.json
index 1dbaef5..cf77ff0 100644
--- a/qapi/introspect.json
+++ b/qapi/introspect.json
@@ -226,7 +226,7 @@
#
# @members: the alternate type's members, in no particular order.
# The members' wire encoding is distinct, see
-# docs/qapi-code-gen.txt section Alternate types.
+# docs/devel/qapi-code-gen.txt 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 e28dbd0..46eda7d 100644
--- a/qapi/qapi-util.c
+++ b/qapi/qapi-util.c
@@ -40,7 +40,7 @@ int qapi_enum_parse(const char * const lookup[], const char *buf,
* 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/qapi-code-gen.txt for more on QAPI naming rules.
+ * See docs/devel/qapi-code-gen.txt for more on QAPI naming rules.
* Keep this consistent with scripts/qapi.py!
* If @complete, the parse fails unless it consumes @str completely.
* Return its length on success, -1 on failure.
diff --git a/scripts/qapi2texi.py b/scripts/qapi2texi.py
index 9e01500..a317526 100755
--- a/scripts/qapi2texi.py
+++ b/scripts/qapi2texi.py
@@ -91,7 +91,7 @@ def texi_format(doc):
# doesn't.
#
# Make sure to update section "Documentation markup" in
- # docs/qapi-code-gen.txt when fixing this.
+ # docs/devel/qapi-code-gen.txt when fixing this.
if line.startswith('| '):
line = EXAMPLE_FMT(code=line[2:])
elif line.startswith('= '):