summaryrefslogtreecommitdiffstats
path: root/doc/global/manifest-meta.qdocconf
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-02-14 10:39:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-15 17:48:36 +0100
commit284958c2221cabc9b5cbc9cacb2fc848204c9369 (patch)
tree9789fdf99e5742dc8c9643c51728fce680b2a1c0 /doc/global/manifest-meta.qdocconf
parent57953e0fea25a7b6ed5292401150869f708c7fd5 (diff)
Doc: Support for meta-content in manifest XML files
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>
Diffstat (limited to 'doc/global/manifest-meta.qdocconf')
-rw-r--r--doc/global/manifest-meta.qdocconf33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/global/manifest-meta.qdocconf b/doc/global/manifest-meta.qdocconf
new file mode 100644
index 0000000000..3bfc3e12d4
--- /dev/null
+++ b/doc/global/manifest-meta.qdocconf
@@ -0,0 +1,33 @@
+# 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