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

QDoc: Clean up html output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.2.0 Alpha
    • 6.2.0
    • Build tools: qdoc
    • None
    • e8ebf4f0be2349d80c86ca04bfca0bef5cb8c07b (qt/qttools/dev)
    • Da Vinci sprint 34

    Description

      Running tidy (find . -type f -name "*.html" -exec echo {} \; -exec tidy -e --show-info no {} \;) on our expected output data for the generatedOutput test generates some warnings about malformed html:

      ./properties/testqdoc-testderived.html
      line 148 column 102 - Warning: discarding unexpected </a>
      Tidy found 1 warning and 0 errors!

      ./qml-qdoc-test-type.html
      line 27 column 245 - Warning: missing </a> before <a>
      line 33 column 16 - Warning: nested emphasis <b>
      line 34 column 16 - Warning: nested emphasis <b>
      line 35 column 16 - Warning: nested emphasis <b>
      line 36 column 16 - Warning: nested emphasis <b>
      line 37 column 16 - Warning: nested emphasis <b>
      line 38 column 16 - Warning: nested emphasis <b>
      line 41 column 16 - Warning: nested emphasis <b>
      line 42 column 16 - Warning: nested emphasis <b>
      line 46 column 16 - Warning: nested emphasis <b>
      line 50 column 16 - Warning: nested emphasis <b>
      line 51 column 16 - Warning: nested emphasis <b>
      line 55 column 16 - Warning: nested emphasis <b>
      line 59 column 21 - Warning: nested emphasis <b>
      line 60 column 16 - Warning: nested emphasis <b>
      line 61 column 16 - Warning: nested emphasis <b>
      line 72 column 28 - Warning: <p> anchor "fifth-prop" already defined
      line 75 column 28 - Warning: <p> anchor "fourth-prop" already defined
      line 86 column 28 - Warning: <p> anchor "group.first-prop" already defined
      line 89 column 28 - Warning: <p> anchor "group.second-prop" already defined
      line 92 column 28 - Warning: <p> anchor "group.third-prop" already defined
      line 102 column 28 - Warning: <p> anchor "id-prop" already defined
      line 112 column 28 - Warning: <p> anchor "name-prop" already defined
      line 123 column 28 - Warning: <p> anchor "type-attached-prop" already defined
      line 137 column 28 - Warning: <p> anchor "completed-signal" already defined
      line 148 column 28 - Warning: <p> anchor "group.created-signal" already defined
      line 160 column 28 - Warning: <p> anchor "configured-signal" already defined
      line 173 column 28 - Warning: <p> anchor "disable-method" already defined
      line 176 column 28 - Warning: <p> anchor "enable-method" already defined
      line 186 column 28 - Warning: <p> anchor "copy-method" already defined
      Tidy found 30 warnings and 0 errors!

       

      ./qml-uicomponents-tabwidget.html
      line 29 column 16 - Warning: nested emphasis <b>
      line 30 column 16 - Warning: nested emphasis <b>
      line 60 column 28 - Warning: <p> anchor "current-prop" already defined
      Tidy found 3 warnings and 0 errors!

       

      ./qml-qdoc-test-doctest.html
      line 31 column 16 - Warning: nested emphasis <b>
      line 32 column 16 - Warning: nested emphasis <b>
      line 36 column 16 - Warning: nested emphasis <b>
      line 37 column 16 - Warning: nested emphasis <b>
      line 41 column 16 - Warning: nested emphasis <b>
      line 42 column 16 - Warning: nested emphasis <b>
      line 54 column 28 - Warning: <p> anchor "active-prop" already defined
      line 65 column 28 - Warning: <p> anchor "name-prop" already defined
      line 80 column 28 - Warning: <p> anchor "completed-signal" already defined
      line 90 column 28 - Warning: <p> anchor "foo-signal" already defined
      line 102 column 28 - Warning: <p> anchor "fail-method" already defined
      line 113 column 28 - Warning: <p> anchor "fail_hard-method" already defined
      Tidy found 12 warnings and 0 errors!

       

      ./qml-uicomponents-switch.html
      line 29 column 16 - Warning: nested emphasis <b>
      line 33 column 16 - Warning: nested emphasis <b>
      line 46 column 28 - Warning: <p> anchor "on-prop" already defined
      line 57 column 28 - Warning: <p> anchor "toggle-method" already defined
      Tidy found 4 warnings and 0 errors!

      ./headerfile/testheader.html
      line 14 column 1 - Warning: trimming empty <ul>
      Tidy found 1 warning and 0 errors!

      One or more empty elements were present in the source document but
      dropped on output. If these elements are necessary or you don't want
      this behavior, then consider setting the option "drop-empty-elements"
      to no.

       

      ./qml-qdoc-test-type-obsolete.html
      line 14 column 16 - Warning: nested emphasis <b>
      Tidy found 1 warning and 0 errors!

      ./qml-qdoc-test-type-members.html
      line 13 column 16 - Warning: nested emphasis <b>
      line 14 column 16 - Warning: nested emphasis <b>
      line 15 column 16 - Warning: nested emphasis <b>
      line 16 column 16 - Warning: nested emphasis <b>
      line 17 column 16 - Warning: nested emphasis <b>
      line 18 column 16 - Warning: nested emphasis <b>
      line 21 column 16 - Warning: nested emphasis <b>
      line 22 column 16 - Warning: nested emphasis <b>
      line 23 column 16 - Warning: nested emphasis <b>
      line 24 column 16 - Warning: nested emphasis <b>
      line 25 column 16 - Warning: nested emphasis <b>
      line 26 column 21 - Warning: nested emphasis <b>
      line 27 column 16 - Warning: nested emphasis <b>
      line 28 column 16 - Warning: nested emphasis <b>
      line 29 column 16 - Warning: nested emphasis <b>
      line 30 column 16 - Warning: nested emphasis <b>
      Tidy found 16 warnings and 0 errors!

      ./qml-int.html
      line 21 column 20 - Warning: nested emphasis <b>
      line 32 column 28 - Warning: <p> anchor "abs-method" already defined
      Tidy found 2 warnings and 0 errors!

      ./includefromexampledirs/qml-qdoc-test-abstractparent-members.html
      line 13 column 16 - Warning: nested emphasis <b>
      line 14 column 21 - Warning: nested emphasis <b>
      Tidy found 2 warnings and 0 errors!

      ./includefromexampledirs/qml-qdoc-test-abstractparent.html
      line 30 column 16 - Warning: nested emphasis <b>
      line 34 column 21 - Warning: nested emphasis <b>
      line 45 column 28 - Warning: <p> anchor "children-prop" already defined
      line 57 column 28 - Warning: <p> anchor "rear-method" already defined
      Tidy found 4 warnings and 0 errors!

      ./crossmodule/testtype.html
      line 51 column 1 - Warning: inserting implicit <p>
      line 51 column 1 - Warning: trimming empty <p>
      Tidy found 2 warnings and 0 errors!

      One or more empty elements were present in the source document but
      dropped on output. If these elements are necessary or you don't want
      this behavior, then consider setting the option "drop-empty-elements"
      to no.

       

      ./qml-test-nover-typenoversion.html
      line 22 column 242 - Warning: missing </a> before <a>
      Tidy found 1 warning and 0 errors!

      ./qml-uicomponents-progressbar.html
      line 28 column 16 - Warning: nested emphasis <b>
      line 29 column 16 - Warning: nested emphasis <b>
      line 30 column 16 - Warning: nested emphasis <b>
      line 31 column 16 - Warning: nested emphasis <b>
      line 32 column 16 - Warning: nested emphasis <b>
      line 45 column 28 - Warning: <p> anchor "color-prop" already defined
      line 56 column 28 - Warning: <p> anchor "maximum-prop" already defined
      line 66 column 28 - Warning: <p> anchor "minimum-prop" already defined
      line 87 column 28 - Warning: <p> anchor "value-prop" already defined
      Tidy found 9 warnings and 0 errors!

       

      ./qml-qdoc-test-yetanotherchild.html
      line 28 column 16 - Warning: nested emphasis <b>
      line 38 column 28 - Warning: <p> anchor "prop-prop" already defined
      Tidy found 2 warnings and 0 errors!

      ./qmlpropertygroups/qml-qdoc-test-anotherchild-members.html
      line 13 column 16 - Warning: nested emphasis <b>
      line 17 column 16 - Warning: nested emphasis <b>
      line 18 column 16 - Warning: nested emphasis <b>
      line 19 column 16 - Warning: nested emphasis <b>
      line 20 column 16 - Warning: nested emphasis <b>
      Tidy found 5 warnings and 0 errors!

      ./qmlpropertygroups/qml-qdoc-test-parent.html
      line 29 column 16 - Warning: nested emphasis <b>
      line 30 column 16 - Warning: nested emphasis <b>
      line 31 column 16 - Warning: nested emphasis <b>
      line 32 column 16 - Warning: nested emphasis <b>
      line 45 column 28 - Warning: <p> anchor "group.a-prop" already defined
      line 48 column 28 - Warning: <p> anchor "group.b-prop" already defined
      line 51 column 28 - Warning: <p> anchor "group.c-prop" already defined
      Tidy found 7 warnings and 0 errors!

      ./qml-qdoc-test-child.html
      line 30 column 16 - Warning: nested emphasis <b>
      line 31 column 16 - Warning: nested emphasis <b>
      line 35 column 21 - Warning: nested emphasis <b>
      line 36 column 21 - Warning: nested emphasis <b>
      line 37 column 21 - Warning: nested emphasis <b>
      line 47 column 28 - Warning: <p> anchor "children-prop" already defined
      line 57 column 28 - Warning: <p> anchor "name-prop" already defined
      line 68 column 28 - Warning: <p> anchor "name-method-1" already defined
      line 78 column 28 - Warning: <p> anchor "name-method" already defined
      line 88 column 28 - Warning: <p> anchor "rear-method" already defined
      Tidy found 10 warnings and 0 errors!

      ./qml-linkmodule-grandchild-members.html
      line 14 column 16 - Warning: nested emphasis <b>
      line 18 column 16 - Warning: nested emphasis <b>
      line 19 column 16 - Warning: nested emphasis <b>
      line 20 column 16 - Warning: nested emphasis <b>
      line 21 column 16 - Warning: nested emphasis <b>
      Tidy found 5 warnings and 0 errors!

      ./qml-qdoc-test-abstractparent.html
      line 30 column 16 - Warning: nested emphasis <b>
      line 31 column 16 - Warning: nested emphasis <b>
      line 35 column 21 - Warning: nested emphasis <b>
      line 36 column 21 - Warning: nested emphasis <b>
      line 37 column 21 - Warning: nested emphasis <b>
      line 47 column 28 - Warning: <p> anchor "children-prop" already defined
      line 57 column 28 - Warning: <p> anchor "name-prop" already defined
      line 68 column 28 - Warning: <p> anchor "name-method-1" already defined
      line 78 column 28 - Warning: <p> anchor "name-method" already defined
      line 88 column 28 - Warning: <p> anchor "rear-method" already defined
      Tidy found 10 warnings and 0 errors!

      Attachments

        For Gerrit Dashboard: QTBUG-93876
        # Subject Branch Project Status CR V

        Activity

          People

            paulwicking Paul Wicking
            paulwicking Paul Wicking
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes