284958c222
This change makes qdoc support additional attributes and tags written to example/demo manifest files. The goal is to enable highlighting of selected items, as well as having additional content to make searching for specific categories work better in Qt Creator welcome screen. This meta-content is stored in manifest-meta.qdocconf, which is loaded globally for all modules. Tag handling is also changed to use a QSet to eliminate possible duplicate tags. Task-number: QTBUG-29354 Change-Id: I2c4b2dff6229172efbecc2bfc1c269017edc4d56 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
# Additional meta information (attributes for matched entries, as well as tags)
|
|
# to be added to manifest.xml files.
|
|
#
|
|
# manifestmeta.filters = <filter1>,<filter2>,...
|
|
#
|
|
# manifestmeta.<filter>.names = <Module1>/<name1>,<Module2>/<name2>,..
|
|
# manifestmeta.<filter>.attributes = <attribute1:value1>,<attribute2:value2>,..
|
|
# manifestmeta.<filter>.tags = <tag1>,<tag2>,..
|
|
#
|
|
# <filter>.names specify all the module/name combinations to apply the
|
|
# attributes/tags to. You can use simple wildcard matching by appending
|
|
# '*' at the end of name.
|
|
#
|
|
# Note: You cannot use operators (+, =, -) in the names.
|
|
#
|
|
# Examples: add a 'isHighlighted' attribute for two 'Analog Clock' examples,
|
|
# add a 'database' tag for QtSql all examples, a 'webkit' tag for QtWebKit
|
|
# examples, and a 'qt5' tag for all examples
|
|
#
|
|
# manifestmeta.filters = highlighted sql webkit global
|
|
#
|
|
# manifestmeta.highlighted.names = "QtGui/Analog Clock Window Example" \
|
|
# "QtWidgets/Analog Clock Example"
|
|
# manifestmeta.highlighted.attributes = isHighlighted:true
|
|
#
|
|
# manifestmeta.sql.names = "QtSql/*"
|
|
# manifestmeta.sql.tags = database
|
|
#
|
|
# manifestmeta.webkit.names = "QtWebKitExamples/*"
|
|
# manifestmeta.webkit.tags = webkit
|
|
#
|
|
# manifestmeta.global.names = *
|
|
# manifestmeta.global.tags = qt5
|