summaryrefslogtreecommitdiff
path: root/giscanner/mallard-Python-property.tmpl
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-20 11:30:21 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-20 11:30:21 +0100
commit1ff74fb0a469f3f1f00692e20834cce3bd7b212a (patch)
treeb22c1451cb46b47e692d32199d97d825c4b766dc /giscanner/mallard-Python-property.tmpl
parent9f81ad162fd382a4e6a969d20da929b9c5aded4b (diff)
downloadgobject-introspection-1ff74fb0a469f3f1f00692e20834cce3bd7b212a.tar.gz
g-ir-doc-tool: Add details for properties in Python
Diffstat (limited to 'giscanner/mallard-Python-property.tmpl')
-rw-r--r--giscanner/mallard-Python-property.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/mallard-Python-property.tmpl b/giscanner/mallard-Python-property.tmpl
index 3570a7fe..c018e143 100644
--- a/giscanner/mallard-Python-property.tmpl
+++ b/giscanner/mallard-Python-property.tmpl
@@ -9,5 +9,8 @@
<title type="link" role="topic">${node.name}</title>
</info>
<title>${namespace.name}.${node.parent.name}:${node.name}</title>
+<synopsis><code mime="text/x-python">
+"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
+</code></synopsis>
${formatter.format(node.doc)}
</page>