qemu-e2k/qapi
Peter Maydell 26ec4e53f2 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>
2020-02-15 11:41:50 +01:00
..
Makefile.objs qapi: Generate command registration stuff into separate files 2020-01-14 11:01:58 +01:00
audio.json audio: proper support for float samples in mixeng 2020-02-06 14:35:57 +01:00
authz.json authz: add QAuthZList object type for an access control list 2019-02-26 15:32:18 +00:00
block-core.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
block.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
char.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
common.json qapi: Move query-target from misc.json to machine.json 2019-08-21 13:24:01 +02:00
crypto.json crypto: Fix defaults in QCryptoBlockCreateOptionsLUKS 2018-12-12 11:16:49 +00:00
dump.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
error.json qapi: Split error.json off common.json 2019-08-16 13:31:51 +02:00
introspect.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
job.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
machine-target.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
machine.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
migration.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
misc-target.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
misc.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
net.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
opts-visitor.c make check-unit: use after free in test-opts-visitor 2019-09-24 11:03:44 +02:00
qapi-clone-visitor.c qapi/qnull: Add own header 2017-11-17 18:21:30 +01:00
qapi-dealloc-visitor.c Include qemu/queue.h slightly less 2019-08-16 13:31:52 +02:00
qapi-schema.json qapi: Clean up member name case checking 2019-09-28 17:17:18 +02:00
qapi-util.c qemu-common: Move qemu_isalnum() etc. to qemu/ctype.h 2019-06-11 20:22:09 +02:00
qapi-visit-core.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qdev.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
qmp-dispatch.c qmp-dispatch: Use CommandNotFound error for disabled commands 2019-09-28 16:51:30 +02:00
qmp-event.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qmp-registry.c qapi: remove qmp_unregister_command() 2019-02-18 14:44:05 +01:00
qobject-input-visitor.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qobject-output-visitor.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qom.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
rdma.json qapi: Define new QMP message for pvrdma 2018-12-22 11:09:56 +02:00
rocker.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
run-state.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
sockets.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
string-input-visitor.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
string-output-visitor.c cutils: Move size_to_str() from "qemu-common.h" to "qemu/cutils.h" 2019-09-19 11:57:34 +02:00
tpm.json tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
transaction.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00
ui.json qapi: Fix indent level on doc comments in json files 2020-02-15 11:41:50 +01:00