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

qdoc: Add a mechanism for defining redirects in .qdoc syntax

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13, 6.5, 6.6
    • Build tools: qdoc
    • None
    • Add a mechasi

    Description

      Add a qdoc command for saving 'redirect from' information in page metadata. This metadata could be used for automating the generation of redirects (301 code) for pages where the .html filename changed.

      This would be helpful for

      • More stable links, avoiding 404's . In fact, broken links might result in the page / website being ranked down in search engines
      • Having 'canonical' URL's that one can use e.g. in the context help

      Proposed syntax

      \meta redirect-from foo.html
      

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            treinio Topi Reiniƶ
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes