diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-01-23 10:58:57 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2020-01-24 11:18:25 +0000 |
commit | c0431f14b665a2d56ed7a064ba15e39f29905d77 (patch) | |
tree | af1950ad86637a5c068812df6a1c887a4e07e937 /tests | |
parent | ebfbea3fc0973e1b177b31803782d100a4057429 (diff) |
qdoc: Handle \qmlmodule pages that are marked \internal
A special case of QML type documentation is a one where a type does
not require an import statement to be usable, and is not a basic type.
If the \inqmlmodule command was omitted, QDoc warned about it and
generated an incomplete import statement in the type reference.
We still want to see those warnings as they often are valid, but
allow the above usecase by marking a QML module \internal:
/*!
\qmlmodule internal 1.0
\internal
*/
/*!
\qmltype SomeType
\inqmlmodule internal
*/
Such a type will generate otherwise normal reference page, but without
an import statement. Also, the (internal) module name will not appear
in the generated file names (qml-sometype.html).
Fixes: QTBUG-81613
Change-Id: I50bb08f48fc4e7dbc7602ab20de39e039213810b
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions