QDoc: Remove the text around previous and next page links.
Previously we printed "[Previous: <link>] and [Next: <link>]. After this change we only print the <link>, which should include an icon. Change-Id: I30d0c7d53b70ec2e537774d57a4ac9af01b26b16 Reviewed-by: Martin Smith <martin.smith@nokia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
parent
9ce1acd9e4
commit
ac090486c4
@ -1876,12 +1876,12 @@ void HtmlGenerator::generateHeader(const QString& title,
|
||||
out() << " <link rel=\"prev\" href=\""
|
||||
<< anchorPair.first << "\" />\n";
|
||||
|
||||
navigationLinks += "[Previous: <a href=\"" + anchorPair.first + "\">";
|
||||
navigationLinks += "<a href=\"" + anchorPair.first + "\">";
|
||||
if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty())
|
||||
navigationLinks += protect(anchorPair.second);
|
||||
else
|
||||
navigationLinks += protect(linkPair.second);
|
||||
navigationLinks += "</a>]\n";
|
||||
navigationLinks += "</a>\n";
|
||||
}
|
||||
if (node->links().contains(Node::NextLink)) {
|
||||
linkPair = node->links()[Node::NextLink];
|
||||
@ -1894,12 +1894,12 @@ void HtmlGenerator::generateHeader(const QString& title,
|
||||
out() << " <link rel=\"next\" href=\""
|
||||
<< anchorPair.first << "\" />\n";
|
||||
|
||||
navigationLinks += "[Next: <a href=\"" + anchorPair.first + "\">";
|
||||
navigationLinks += "<a href=\"" + anchorPair.first + "\">";
|
||||
if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty())
|
||||
navigationLinks += protect(anchorPair.second);
|
||||
else
|
||||
navigationLinks += protect(linkPair.second);
|
||||
navigationLinks += "</a>]\n";
|
||||
navigationLinks += "</a>\n";
|
||||
}
|
||||
if (node->links().contains(Node::StartLink)) {
|
||||
linkPair = node->links()[Node::StartLink];
|
||||
|
Loading…
Reference in New Issue
Block a user