Skip to content

Commit

Permalink
QDoc: Drop comments that are no longer meaningful
Browse files Browse the repository at this point in the history
Change-Id: I3cee3c1a87ecacab3256ec01a314848cdaf73d31
Reviewed-by: Edward Welbourne <[email protected]>
Reviewed-by: Topi Reiniö <[email protected]>
  • Loading branch information
paulwicking committed Apr 26, 2021
1 parent 1ed9396 commit 2879cab
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/qdoc/htmlgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1102,12 +1102,12 @@ void HtmlGenerator::generateCppReferencePage(Aggregate *aggregate, CodeMarker *m
}
} else {
generateExtractionMark(aggregate, DetailedDescriptionMark);
out() << "<div class=\"descr\">\n" // QTBUG-9504
out() << "<div class=\"descr\">\n"
<< "<h2 id=\"" << registerRef("details") << "\">"
<< "Detailed Description"
<< "</h2>\n";
generateBody(aggregate, marker);
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
generateAlsoList(aggregate, marker);
generateMaintainerList(aggregate, marker);
generateExtractionMark(aggregate, EndMark);
Expand All @@ -1124,7 +1124,7 @@ void HtmlGenerator::generateCppReferencePage(Aggregate *aggregate, CodeMarker *m
continue;
if (!headerGenerated) {
if (!section.divClass().isEmpty())
out() << "<div class=\"" << section.divClass() << "\">\n"; // QTBUG-9504
out() << "<div class=\"" << section.divClass() << "\">\n";
out() << "<h2>" << protectEnc(section.title()) << "</h2>\n";
headerGenerated = true;
}
Expand Down Expand Up @@ -1167,7 +1167,7 @@ void HtmlGenerator::generateCppReferencePage(Aggregate *aggregate, CodeMarker *m
}
}
if (headerGenerated && !section.divClass().isEmpty())
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
}
generateFooter(aggregate);
}
Expand Down Expand Up @@ -1202,12 +1202,12 @@ void HtmlGenerator::generateProxyPage(Aggregate *aggregate, CodeMarker *marker)

if (!aggregate->doc().isEmpty()) {
generateExtractionMark(aggregate, DetailedDescriptionMark);
out() << "<div class=\"descr\">\n" // QTBUG-9504
out() << "<div class=\"descr\">\n"
<< "<h2 id=\"" << registerRef("details") << "\">"
<< "Detailed Description"
<< "</h2>\n";
generateBody(aggregate, marker);
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
generateAlsoList(aggregate, marker);
generateMaintainerList(aggregate, marker);
generateExtractionMark(aggregate, EndMark);
Expand All @@ -1218,7 +1218,7 @@ void HtmlGenerator::generateProxyPage(Aggregate *aggregate, CodeMarker *marker)
continue;

if (!section.divClass().isEmpty())
out() << "<div class=\"" << section.divClass() << "\">\n"; // QTBUG-9504
out() << "<div class=\"" << section.divClass() << "\">\n";
out() << "<h2>" << protectEnc(section.title()) << "</h2>\n";

const QList<Node *> &members = section.members();
Expand Down Expand Up @@ -1255,7 +1255,7 @@ void HtmlGenerator::generateProxyPage(Aggregate *aggregate, CodeMarker *marker)
}
}
if (!section.divClass().isEmpty())
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
}
generateFooter(aggregate);
}
Expand Down Expand Up @@ -1363,10 +1363,10 @@ void HtmlGenerator::generateQmlBasicTypePage(QmlBasicTypeNode *qbtn, CodeMarker

generateExtractionMark(qbtn, DetailedDescriptionMark);
out() << R"(<div class="descr" id=")" << registerRef("details")
<< "\">\n"; // QTBUG-9504
<< "\">\n";

generateBody(qbtn, marker);
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
generateAlsoList(qbtn, marker);
generateExtractionMark(qbtn, EndMark);

Expand Down Expand Up @@ -1408,10 +1408,10 @@ void HtmlGenerator::generatePageNode(PageNode *pn, CodeMarker *marker)

generateExtractionMark(pn, DetailedDescriptionMark);
out() << R"(<div class="descr" id=")" << registerRef("details")
<< "\">\n"; // QTBUG-9504
<< "\">\n";

generateBody(pn, marker);
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
generateAlsoList(pn, marker);
generateExtractionMark(pn, EndMark);

Expand Down Expand Up @@ -1461,18 +1461,18 @@ void HtmlGenerator::generateCollectionNode(CollectionNode *cn, CodeMarker *marke
if (cn->isModule() && !cn->doc().briefText().isEmpty()) {
generateExtractionMark(cn, DetailedDescriptionMark);
ref = registerRef("details");
out() << "<div class=\"descr\">\n"; // QTBUG-9504
out() << "<div class=\"descr\">\n";
out() << "<h2 id=\"" << ref << "\">"
<< "Detailed Description"
<< "</h2>\n";
} else {
generateExtractionMark(cn, DetailedDescriptionMark);
out() << R"(<div class="descr" id=")" << registerRef("details")
<< "\">\n"; // QTBUG-9504
<< "\">\n";
}

generateBody(cn, marker);
out() << "</div>\n"; // QTBUG-9504
out() << "</div>\n";
generateAlsoList(cn, marker);
generateExtractionMark(cn, EndMark);

Expand Down

0 comments on commit 2879cab

Please sign in to comment.