Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
e54971170 (dev), e5912919a (6.6), 25575b905 (6.5), f2e622a75 (dev)
-
DaVinci 88
Description
qdoc could warn if the string passed to \deprecated doesn't end with a dot, as this will lead to incorrect grammar in the generated documentation.
E.g.
/*! \deprecated [6.9] Use setTimeZone() instead [...] */ void QDateTime::setTimeSpec(Qt::TimeSpec spec)
generates
void QDateTime::setTimeSpec(Qt::TimeSpec spec)
This function is deprecated since 6.9. We strongly advise against using it in new code.
Use setTimeZone() instead
The last sentence looks out of place, as it doesn't end with a end-of-sentence marker. Anyhow, that is not obvious in qdoc.
Attachments
Issue Links
- is blocked by
-
QTBUG-114157 qdoc: Consolidate and emphasize \deprecated messages for QML and C++
- Open
- resulted from
-
QTBUG-117636 QDoc: Add full stops to briefs without proper punctuation
- Open
Gerrit Reviews
For Gerrit Dashboard: QTBUG-117470 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
507265,10 | WIP: QDoc: Insert missing full stop for briefs | dev | qt/qttools | Status: NEW | -2 | 0 |