From 4c4db3dcd4321d7b32e401ebec732b0546393ada Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Tue, 23 Aug 2022 13:18:55 +0200 Subject: QDoc: Generate briefs also for QmlBasicType pages Change-Id: I10fd907492b9bb684a00c6e374cedef94ad89799 Reviewed-by: Luca Di Sera (cherry picked from commit dc13c124db1b667a96147c5bb3cf263aa0dfb51e) Reviewed-by: Qt Cherry-pick Bot --- src/qdoc/htmlgenerator.cpp | 1 + tests/auto/qdoc/generatedoutput/expected_output/qml-int.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/qdoc/htmlgenerator.cpp b/src/qdoc/htmlgenerator.cpp index b4c5ecf72..9c9e4616c 100644 --- a/src/qdoc/htmlgenerator.cpp +++ b/src/qdoc/htmlgenerator.cpp @@ -1372,6 +1372,7 @@ void HtmlGenerator::generateQmlBasicTypePage(QmlBasicTypeNode *qbtn, CodeMarker Sections sections(qbtn); generateTableOfContents(qbtn, marker, §ions.stdQmlTypeSummarySections()); generateTitle(htmlTitle, Text() << qbtn->subtitle(), subTitleSize, qbtn, marker); + generateBrief(qbtn, marker); const QList
&stdQmlTypeSummarySections = sections.stdQmlTypeSummarySections(); for (const auto §ion : stdQmlTypeSummarySections) { diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qml-int.html b/tests/auto/qdoc/generatedoutput/expected_output/qml-int.html index e48918857..6306c2ac7 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qml-int.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qml-int.html @@ -18,6 +18,9 @@

int QML Basic Type

+ +

An integer basic type. More...

+

Methods

  • int abs()
  • -- cgit v1.2.3