Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
39abb5786 (dev), 68eeab718 (6.10), 81bf1ab9e (6.9)
-
framework-content 14
Description
Some snippets at https://doc.qt.io/qt-6/qtgraphs-2d-quickwidgetgraphs-example.html have indentation problems even though the C++ source itself is indented correctly:
- "Main View">"4.": https://github.com/qt/qtgraphs/blob/v6.9.1/examples/graphs/2d/quickwidgetgraphs/piewidget.cpp#L37-L40
- "Manipulating Graph data">"2.": https://github.com/qt/qtgraphs/blob/v6.9.1/examples/graphs/2d/quickwidgetgraphs/piegraph.h#L23-L34
Could the issue be because the //! lines are indented? If so, could qdoc warn about these?
Attachments
Issue Links
- resulted in
-
QTBUG-138501 qdoc: Detect and warn if snippet markers are more indented than snippet contents
-
- Reported
-
For Gerrit Dashboard: QTBUG-138492 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
661222,4 | Doc: Fix indentation in the "Graphs 2D in Qt Widgets" example | dev | qt/qtgraphs | Status: MERGED | +2 | 0 |
661708,2 | Doc: Fix indentation in the "Graphs 2D in Qt Widgets" example | 6.10 | qt/qtgraphs | Status: MERGED | +2 | 0 |
661805,2 | Doc: Fix indentation in the "Graphs 2D in Qt Widgets" example | 6.9 | qt/qtgraphs | Status: MERGED | +2 | 0 |