qdoc: "All Overview and HOWTOs" no longer lists internal pages
This page is generated by a function in qdoc that was wwrriten especially for this page. It wasn't checking to see of the group member pages were marked with \internal. Now it does. Task-number: QTBUG-31197 Change-Id: If3f0e90f1a3748c47b3975373047b04d011d6748 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>bb10
parent
8230a0d38d
commit
a4fdd382e4
|
|
@ -3138,7 +3138,7 @@ void DitaXmlGenerator::generateOverviewList(const Node* relative)
|
|||
// If we encounter a group definition page, we add all
|
||||
// the pages in that group to the list for that group.
|
||||
foreach (Node* member, docNode->members()) {
|
||||
if (member->type() != Node::Document)
|
||||
if (member->isInternal() || member->type() != Node::Document)
|
||||
continue;
|
||||
DocNode* page = static_cast<DocNode*>(member);
|
||||
if (page) {
|
||||
|
|
@ -3155,7 +3155,7 @@ void DitaXmlGenerator::generateOverviewList(const Node* relative)
|
|||
// If we encounter a page that belongs to a group then
|
||||
// we add that page to the list for that group.
|
||||
const DocNode* gn = qdb_->getGroup(group);
|
||||
if (gn)
|
||||
if (gn && !docNode->isInternal())
|
||||
docNodeMap[gn].insert(sortKey, docNode);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2644,7 +2644,7 @@ void HtmlGenerator::generateOverviewList(const Node *relative)
|
|||
// If we encounter a group definition page, we add all
|
||||
// the pages in that group to the list for that group.
|
||||
foreach (Node *member, docNode->members()) {
|
||||
if (member->type() != Node::Document)
|
||||
if (member->isInternal() || member->type() != Node::Document)
|
||||
continue;
|
||||
DocNode *page = static_cast<DocNode *>(member);
|
||||
if (page) {
|
||||
|
|
@ -2661,7 +2661,7 @@ void HtmlGenerator::generateOverviewList(const Node *relative)
|
|||
// If we encounter a page that belongs to a group then
|
||||
// we add that page to the list for that group.
|
||||
const DocNode* gn = qdb_->getGroup(group);
|
||||
if (gn)
|
||||
if (gn && !docNode->isInternal())
|
||||
docNodeMap[gn].insert(sortKey, docNode);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue