qdoc: also allow \page index as head of ditamap.
QDoc previously only supported having \page index.html as root of the ditamap, this is hard to understand. Change-Id: I9f99bf53440aad372bb72b59e7bfa1a0427cb652 Reviewed-by: Martin Smith <martin.smith@nokia.com>bb10
parent
89be197b92
commit
3198247ccf
|
|
@ -5737,7 +5737,7 @@ Node* DitaXmlGenerator::collectNodesByTypeAndSubtype(const InnerNode* parent)
|
|||
if (!child || child->isInternal() || child->doc().isEmpty())
|
||||
continue;
|
||||
|
||||
if (child->name() == "index.html") {
|
||||
if (child->name() == "index.html" || child->name() == "index") {
|
||||
rootPageNode = child;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue