qapi: Fixes related to change of doc heading markup
cover qapi: Fixes related to change of doc heading markup
Markus Armbruster (2):
qapi/accelerator: Fix markup of heading tests/qapi-schema: Bury dead test case doc-non-first-section
qapi/accelerator.json | 4 +++- tests/qapi-schema/doc-non-first-section.err | 1 - tests/qapi-schema/doc-non-first-section.json | 6 ------ tests/qapi-schema/doc-non-first-section.out | 0 4 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 tests/qapi-schema/doc-non-first-section.err delete mode 100644 tests/qapi-schema/doc-non-first-section.json delete mode 100644 tests/qapi-schema/doc-non-first-section.out
Signature · 1 line
2.49.0
PATCH 1/2 qapi/accelerator: Fix markup of heading
The docs generated for qapi/accelerator.json shows text "= Accelerators" instead of a heading. This is because the patch that added the heading crossed with the commit that changed heading markup (commit 6c10778826a "docs/sphinx: remove special parsing for freeform sections"). Fix the markup.
--- qapi/accelerator.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
qapi/accelerator.json +3 -1
@@ -4,7 +4,9 @@ # SPDX-License-Identifier: GPL-2.0-or-later ## -# = Accelerators +# ************ +# Accelerators +# ************ ## { 'include': 'common.json' }
Signature · 1 line
2.49.0
PATCH 2/2 tests/qapi-schema: Bury dead test case doc-non-first-section
In reply to Markus ArmbrusterThe test passed when it was added. However, the commit adding it neglected to make Meson aware of it, so it never ran automatically. The test stopped making sense when we changed headings markup, and ceased to pass then. It should've been removed then. Do that now.
--- tests/qapi-schema/doc-non-first-section.err | 1 - tests/qapi-schema/doc-non-first-section.json | 6 ------ tests/qapi-schema/doc-non-first-section.out | 0 3 files changed, 7 deletions(-) delete mode 100644 tests/qapi-schema/doc-non-first-section.err delete mode 100644 tests/qapi-schema/doc-non-first-section.json delete mode 100644 tests/qapi-schema/doc-non-first-section.out
tests/qapi-schema/doc-non-first-section.err deleted +0 -1
@@ -1 +0,0 @@ -doc-non-first-section.json:5:1: '=' heading must come first in a comment block
tests/qapi-schema/doc-non-first-section.json deleted +0 -6
@@ -1,6 +0,0 @@ -# = section must be first line - -## -# -# = Not first -##
tests/qapi-schema/doc-non-first-section.out deleted +0 -0
Signature · 1 line
2.49.0
Queued.