summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2014-09-08 12:24:52 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2014-09-10 10:53:42 +0200
commit162010441f876788428aaacf9a00312d3175d150 (patch)
treec48c164a933f54f55363c69a188d1dc83c33aac8 /tests
parent892af518344bad2badd38bd97a4942ce530c598d (diff)
qdoc: Resolve .qhp table of contents sections correctly
With the recent changes in QDoc, we can no longer assume that pages listed in the TOC are of type DocNode. For example, all Qt modules want to list C++/QML type index pages in the TOC, and those are now of type CollectionNode. This change fixes the issue by using a more generic search function when generating the .qhp TOC, one that doesn't restrict the results to any specific node type. As an exception, the main index page for a project must still be a DocNode, i.e. a page declared using the \page command. However, we do want to restrict the search to the pages in this documentation module only - for that purpose, a function for setting a local search order is introduced. Task-number: QTBUG-40241 Change-Id: Ibaa5af9c5de6436f34b7ae67e56733817fc090b9 Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions