summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2022-10-31 13:09:56 +0100
committerTopi Reinio <topi.reinio@qt.io>2022-11-02 11:19:00 +0100
commitbd4f8a2a19113966ecfeb365abcaaf3c39ca82f5 (patch)
treeb752ce35e351e878faf784a95f289c1945c99219 /tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index
parent8ee62baffd2403224dcaa96b29a92bf039c3f590 (diff)
qdoc: Stop listing invalid group names in type reference
QDoc was listing links to groups that a C++ class or QML type documentation topic was part of - that is, all group names that appeared as arguments to \ingroup command(s). However, not all group names used in Qt docs have a matching \group topic. This resulted in listing of groups that do not have a title and/or are not valid as link targets. Filter out the list of group names into CollectionNode pointers for groups that have been 'seen', which means that they do generate a group page and can be linked to. Fixes: QTBUG-108100 Change-Id: I2924d49d7bc9947fd4ac12c6f1c0daed96d52da6 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index b/tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index
index 5a6c80244..8a9d8c067 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index
+++ b/tests/auto/qdoc/generatedoutput/expected_output/properties/testcpp.index
@@ -21,7 +21,7 @@
<namespace name="TestQDoc" href="testqdoc.html" status="active" access="public" location="testcpp.h" since="2.0" documented="true" module="TestCPP" brief="A namespace">
<contents name="usage" title="Usage" level="1"/>
<function name="QDOCTEST_MACRO" href="testqdoc.html#QDOCTEST_MACRO" status="active" access="public" documented="true" related="0" meta="macrowithoutparams" virtual="non" const="false" static="false" final="false" override="false" type="" signature="QDOCTEST_MACRO"/>
- <class name="Test" fullname="TestQDoc::Test" href="testqdoc-test.html" status="active" access="public" location="testcpp.h" since="2.0" documented="true" groups="testgroup" module="TestCPP" brief="A class in a namespace">
+ <class name="Test" fullname="TestQDoc::Test" href="testqdoc-test.html" status="active" access="public" location="testcpp.h" since="2.0" documented="true" groups="cpptypes,testgroup" module="TestCPP" brief="A class in a namespace">
<function name="QDOCTEST_MACRO2" href="testqdoc-test.html#QDOCTEST_MACRO2" status="active" access="public" documented="true" related="1" since="Test 1.1" meta="macrowithparams" virtual="non" const="false" static="false" final="false" override="false" type="" brief="A macro with argument x" signature="QDOCTEST_MACRO2(int &amp;x)" groups="testgroup">
<parameter type="int &amp;" name="x" default=""/>
</function>
@@ -108,6 +108,7 @@
<qmlclass name="TheType" qml-module-name="TheType" href="qml-thetype.html" status="active" access="public" location="properties.qdoc" documented="true" title="TheType" fulltitle="TheType" subtitle="">
<qmlproperty name="name" fullname="TheType::name" href="qml-thetype.html#name-prop" status="active" access="public" location="properties.qdoc" documented="true" type="string" attached="false" writable="false" brief="Read-only status of this property is resolved from Q_PROPERTY"/>
</qmlclass>
+ <group name="cpptypes" href="cpptypes.html" status="active" location="classlists.qdoc" documented="true" seen="true" title="Test C++ Types"/>
<group name="testgroup" href="testgroup.html" status="internal" seen="false" title=""/>
<module name="TestCPP" href="testcpp-module.html" status="active" since="2.0" documented="true" seen="true" title="QDoc Test C++ Classes" brief="A test module page">
<contents name="linking-to-function-like-things" title="Linking to function-like things" level="1"/>