ith video encoding patches
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2020-02-13 18:56:26 +0100
committerMarkus Armbruster2020-02-15 11:41:50 +0100
commit26ec4e53f2bf0a381189071f405b99a7e2627a49 (patch)
treeae7e34e71e3e366c57b8c3112d97970f2d34250a
parentqapi: Fix incorrect "Not documented" claims in QMP documentation (diff)
downloadqemu-26ec4e53f2bf0a381189071f405b99a7e2627a49.tar.gz
qemu-26ec4e53f2bf0a381189071f405b99a7e2627a49.tar.xz
qemu-26ec4e53f2bf0a381189071f405b99a7e2627a49.zip
qapi: Fix indent level on doc comments in json files
The current doc generation doesn't care much about indentation levels, but we would like to switch to an rST format, and rST does care about indentation. Make the doc comments more strongly consistent about indentation for multiline constructs like: @arg: description line 1 description line 2 Returns: line one line 2 so that there is always exactly one space after the colon, and subsequent lines align with the first. This commit is a purely whitespace change, and it does not alter the generated .texi files (because the texi generation code strips away all the extra whitespace). This does mean that we end up with some over-length lines. Note that when the documentation for an argument fits on a single line like this: @arg: one line only then stray extra spaces after the ':' don't affect the rST output, so I have not attempted to methodically fix them, though the preference is a single space here too. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20200213175647.17628-10-peter.maydell@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Commit message tweaked] Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--qapi/block-core.json786
-rw-r--r--qapi/block.json14
-rw-r--r--qapi/char.json8
-rw-r--r--qapi/dump.json4
-rw-r--r--qapi/introspect.json12
-rw-r--r--qapi/job.json32
-rw-r--r--qapi/machine-target.json18
-rw-r--r--qapi/machine.json12
-rw-r--r--qapi/migration.json198
-rw-r--r--qapi/misc-target.json8
-rw-r--r--qapi/misc.json102
-rw-r--r--qapi/net.json22
-rw-r--r--qapi/qdev.json10
-rw-r--r--qapi/qom.json4
-rw-r--r--qapi/rocker.json12
-rw-r--r--qapi/run-state.json34
-rw-r--r--qapi/sockets.json8
-rw-r--r--qapi/trace.json16
-rw-r--r--qapi/transaction.json4
-rw-r--r--qapi/ui.json36
20 files changed, 670 insertions, 670 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index c617bc2af6..c62b7db281 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json