[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/11] qapi: Fix malformed "Since:" section tags
From: |
Markus Armbruster |
Subject: |
[PULL 01/11] qapi: Fix malformed "Since:" section tags |
Date: |
Mon, 16 May 2022 09:35:12 +0200 |
"Since X.Y" is not recognized as a tagged section, and therefore not
formatted as such in generated documentation. Fix by adding the
required colon.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220422132807.1704411-1-armbru@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
---
qapi/crypto.json | 3 +--
qapi/machine.json | 2 +-
qapi/misc.json | 2 +-
qga/qapi-schema.json | 2 +-
4 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/qapi/crypto.json b/qapi/crypto.json
index 1ec54c15ca..8e0b4764e5 100644
--- a/qapi/crypto.json
+++ b/qapi/crypto.json
@@ -357,8 +357,7 @@
# password to use to retrieve current master key.
# Defaults to the same secret that was used to open the image
#
-#
-# Since 5.1
+# Since: 5.1
##
{ 'struct': 'QCryptoBlockAmendOptionsLUKS',
'data': { 'state': 'QCryptoBlockLUKSKeyslotState',
diff --git a/qapi/machine.json b/qapi/machine.json
index 92480d4044..c9bdae40eb 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -972,7 +972,7 @@
# preconfigure stage to configure numa mapping before initializing
# machine.
#
-# Since 3.0
+# Since: 3.0
##
{ 'command': 'set-numa-node', 'boxed': true,
'data': 'NumaOptions',
diff --git a/qapi/misc.json b/qapi/misc.json
index b83cc39029..f8a9feda30 100644
--- a/qapi/misc.json
+++ b/qapi/misc.json
@@ -188,7 +188,7 @@
# Features:
# @unstable: This command is experimental.
#
-# Since 3.0
+# Since: 3.0
#
# Returns: nothing
#
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 4d8e506c9e..f989597b0c 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -950,7 +950,7 @@
# by device mapper
# @smart: disk smart information (Since 7.1)
#
-# Since 5.2
+# Since: 5.2
##
{ 'struct': 'GuestDiskInfo',
'data': {'name': 'str', 'partition': 'bool', '*dependencies': ['str'],
--
2.35.3
- [PULL 00/11] QAPI patches patches for 2022-05-16, Markus Armbruster, 2022/05/16
- [PULL 06/11] qapi: Drop unnecessary empty lines outside of comments, Markus Armbruster, 2022/05/16
- [PULL 01/11] qapi: Fix malformed "Since:" section tags,
Markus Armbruster <=
- [PULL 02/11] qapi: Drop stray trailing symbol, Markus Armbruster, 2022/05/16
- [PULL 11/11] qapi/pragma: Tidy up comments, Markus Armbruster, 2022/05/16
- [PULL 08/11] qapi: Stop using whitespace for alignment in comments, Markus Armbruster, 2022/05/16
- [PULL 03/11] qapi: Fix comment indentation, Markus Armbruster, 2022/05/16
- [PULL 09/11] qapi/expr: Enforce feature naming rules again, Markus Armbruster, 2022/05/16
- [PULL 07/11] qapi: Drop unnecessary whitespace in comments, Markus Armbruster, 2022/05/16
- [PULL 04/11] qapi: Add missing separators between sections, Markus Armbruster, 2022/05/16
- [PULL 10/11] docs/devel/qapi-code-gen: Belatedly document feature naming rules, Markus Armbruster, 2022/05/16
- [PULL 05/11] qapi: Drop unnecessary empty lines in comments, Markus Armbruster, 2022/05/16
- Re: [PULL 00/11] QAPI patches patches for 2022-05-16, Richard Henderson, 2022/05/16