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

QDoc recognizes section headers as link targets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.1.0
    • 5.0.0 Beta 2
    • Documentation
    • None
    • 86b551a6331fdc9cc1feff0958b0cd9a3971cadd

      Take for example addons.qdoc in the qtdoc repository. This has sections for several modules, which are intended to link on to the module landing pages.

      Like this:

      \section1 Qt Script
      
      The \l{Qt Script} Module blah blah.
      

      With qdoc this currently doesn't work, because the \l

      {Qt Script}

      prefers the section itself as target for the link instead of the module landing page. Currently the section names in that page have to be renamed to work around the issue.

      There should be some way to override the behavior, so that you can use section names which are the same as page names.

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

            gbk Martin Smith (Qt)
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes