summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThibaut Cuvelier <cuvelier.thibaut@gmail.com>2022-08-07 15:48:24 +0200
committerPaul Wicking <paul.wicking@qt.io>2022-11-04 08:35:57 +0100
commita9f66d9245d1aa6f8ee3565d0f2df18d3dae6752 (patch)
treebe06933dffa8a6662f640af04499d0d9d9f6626b /tests
parentd83326e8aece6920c42873d05497f0cc80c84251 (diff)
downloadqttools-a9f66d9245d1aa6f8ee3565d0f2df18d3dae6752.tar.gz
Enclose more lists in a section of their own
- For file lists: if there are previously lists, the beginning (Images: or Files:) will be correctly wrapped in a section. - Missing new line after a block tag. - For related pages: this wrapping is harder to perform than others, because the heading for the list is written as a qdoc command, while the actual list is implicitly generated within qdoc (without explicit command in the source code). - For supplementary description: sometimes, the body of a description ends with a section (like QUrl::ComponentFormattingOption). In that case, wrap what comes after the body in a section to ensure validity. Change-Id: If5d9d35d40ca08b40cde79e96734caa3d09ac69b Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml
index e0605612e..add2bcae1 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml
+++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/test-componentset-example.xml
@@ -34,10 +34,13 @@ An aliased property of type int.
<db:title>QML Types with C++ Implementation</db:title>
<db:para>This example only demonstrates the documentation for types in QML files, but the regular QML commands may be placed inside C++ classes to define the public API of the QML type.</db:para>
</db:section>
+<db:section>
+<db:title>List of Files</db:title>
<db:para>Files:</db:para>
<db:section>
<db:title>List of Files</db:title>
-<db:itemizedlist><db:listitem>
+<db:itemizedlist>
+<db:listitem>
<db:para><db:link xlink:href="componentset/ProgressBar.qml">componentset/ProgressBar.qml</db:link></db:para></db:listitem>
<db:listitem>
<db:para><db:link xlink:href="componentset/Switch.qml">componentset/Switch.qml</db:link></db:para></db:listitem>
@@ -49,4 +52,4 @@ An aliased property of type int.
<db:para><db:link xlink:href="componentset/componentset.qml">componentset/componentset.qml</db:link></db:para></db:listitem>
</db:itemizedlist>
</db:section>
-</db:article>
+</db:section></db:article>