From ffcabdc03a0074d09810056a1b53af08301b7220 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Fri, 29 Jul 2022 02:33:18 +0200 Subject: Synchronize generateDetailedQmlMember with HTML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code more closely resembles that of HtmlGenerator::generateDetailedQmlMember. The change fixes a bug where checks were made on the node with shared comments (scn/node) instead of the individual nodes (sharedNode in the loop). Also, remove the special case of shared comments that generated no sections: this allows to remove the generateEndSection variable and to have more consistent documents. Change-Id: Ia856bb6afb24bb8973e7a9f314264153f6f8076a Reviewed-by: Paul Wicking Reviewed-by: Topi Reiniƶ --- .../expected_output/docbook/qml-qdoc-test-type.xml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'tests') diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml index 61614b4fb..b311f505b 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qml-qdoc-test-type.xml @@ -34,7 +34,26 @@ Property Documentation + +fifth : int + +int +fifth +writable +public +active +unspecified + +fourth : int +int +fourth +writable +public +active +unspecified + A group of properties sharing a documentation comment. + group group group.first : int @@ -161,7 +180,30 @@ Method Documentation + +disable() + + +disable + +qmlmethod +disable() +public +active +unspecified + +enable() + +enable + +qmlmethod +enable() +public +active +unspecified + Enables or disables this type. + Type copy(a) Returns another Type based on a. -- cgit v1.2.1