Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104369

qdoc should prefer links to a type's own API rather than outside targets when encountering ambiguity

    XMLWordPrintable

    Details

    • Commits:
      f92c4463e6 (qt/qttools/dev) f92c4463e6 (qt/tqtc-qttools/dev) 71b65c8154 (qt/qttools/6.4) 71b65c8154 (qt/tqtc-qttools/6.4)

      Description

      I just noticed that the link whose text is "custom delegate" on https://doc.qt.io/qt-6/qml-qtquick-controls2-monthgrid.html#details leads to the Delegate section of the Chat Tutorial instead of MonthGrid's own delegate property. To me this behaviour is wrong: it should always prioritise linking to targets that come from the type itself (or base types) before searching for other targets. Doing this would allow us to keep nice, short section titles and/or avoid the need to qualify links with the type name.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            treinio Topi Reiniƶ
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes