summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-08-19 10:47:03 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-08-19 10:47:03 (GMT)
commitc0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f (patch)
tree636bbc0c46bdc380ff7364cd768e831830815946
parent91f47532111927c7b8d5cd9981ded7bc0c203d88 (diff)
downloadQt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.zip
Qt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.tar.gz
Qt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.tar.bz2
qdoc3: Added more pagewords & elements to the search index.
Task-nr: QTBUG-11113
-rw-r--r--doc/src/xml-processing/xquery-introduction.qdoc1
-rw-r--r--tools/qdoc3/htmlgenerator.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/xml-processing/xquery-introduction.qdoc b/doc/src/xml-processing/xquery-introduction.qdoc
index b79c205..b5356f7 100644
--- a/doc/src/xml-processing/xquery-introduction.qdoc
+++ b/doc/src/xml-processing/xquery-introduction.qdoc
@@ -29,6 +29,7 @@
\page xquery-introduction.html
\title A Short Path to XQuery
+\pagekeywords XPath XQuery
\startpage XQuery
\target XQuery-introduction
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 6fbc2a9..f3390de 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4436,6 +4436,9 @@ bool HtmlGenerator::generatePageElement(QXmlStreamWriter& writer,
if (node->isInnerNode()) {
const InnerNode* inner = static_cast<const InnerNode*>(node);
+ if (!inner->pageKeywords().isEmpty())
+ pageWords << inner->pageKeywords();
+
switch (node->type()) {
case Node::Fake:
{
@@ -4463,9 +4466,6 @@ bool HtmlGenerator::generatePageElement(QXmlStreamWriter& writer,
pageWords << title;
break;
}
-
- if (!inner->pageKeywords().isEmpty())
- pageWords << inner->pageKeywords();
}
else {
switch (node->type()) {