diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-09-29 14:01:40 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2015-09-30 10:30:19 +0000 |
commit | 0678bc8d0676907c0a6f60a6b121d1f10b973e1e (patch) | |
tree | 22ee365d26aeae3b8a3c70eb3b1d6c15cc9431b9 /src/quick/doc | |
parent | 98637d8ba2bb40d5bfa0fa63dbc56541ac8ddd64 (diff) |
Doc: replaced \target with \keyword if at top of page
A \target whose purpose is to link to the top of a
page (and not to a section within a page) works better
as a \keyword, because \target generates a
new html anchor which, in this case, is not tied to
any title element on the page.
A \keyword links to the page itself, as expected.
Change-Id: Ic7c83efc5066674aba3d65164bf2cf53697df4d6
Task-number: QTBUG-48482
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/quick/doc')
-rw-r--r-- | src/quick/doc/src/concepts/positioning/anchors.qdoc | 2 | ||||
-rw-r--r-- | src/quick/doc/src/examples.qdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/doc/src/concepts/positioning/anchors.qdoc b/src/quick/doc/src/concepts/positioning/anchors.qdoc index 71af38b587..259dcbe671 100644 --- a/src/quick/doc/src/concepts/positioning/anchors.qdoc +++ b/src/quick/doc/src/concepts/positioning/anchors.qdoc @@ -30,7 +30,7 @@ \title Positioning with Anchors \brief placing items with anchor properties -\target anchor-layout +\keyword anchor-layout In addition to the more traditional \l Grid, \l Row, and \l Column, Qt Quick also provides a way to layout items using the concept of \e anchors. Each item can be thought of as having a set of 7 invisible "anchor lines": diff --git a/src/quick/doc/src/examples.qdoc b/src/quick/doc/src/examples.qdoc index dd21270673..e69c2f6551 100644 --- a/src/quick/doc/src/examples.qdoc +++ b/src/quick/doc/src/examples.qdoc @@ -32,7 +32,7 @@ \brief Building UIs with QML \ingroup all-examples \ingroup qtquick -\target qtquick-samples +\keyword qtquick-samples Qt includes several examples to demonstrate a particular usage. The examples run as applications or as non-GUI examples in Qt Creator. Qt tutorials show |