summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/Gjs/property.tmpl
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-01-31 23:40:20 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 19:47:42 -0500
commit7169562133632e11fb4f564211a1db1aa61bab5c (patch)
tree5046869e9d49e1178a18897a10feb8859833814c /giscanner/doctemplates/Gjs/property.tmpl
parent3209fdf04bdff42033e1f833913c394adcaa2e67 (diff)
downloadgobject-introspection-7169562133632e11fb4f564211a1db1aa61bab5c.tar.gz
doctool: Initial import of a Gjs language that we support
Copy/pasted from Python.
Diffstat (limited to 'giscanner/doctemplates/Gjs/property.tmpl')
-rw-r--r--giscanner/doctemplates/Gjs/property.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/giscanner/doctemplates/Gjs/property.tmpl b/giscanner/doctemplates/Gjs/property.tmpl
new file mode 100644
index 00000000..f05bc820
--- /dev/null
+++ b/giscanner/doctemplates/Gjs/property.tmpl
@@ -0,0 +1,10 @@
+<%inherit file="/base.tmpl"/>
+<%block name="info">
+ <link type="guide" xref="${namespace.name}.${node.parent.name}" group="property"/>
+ <title type="link" role="topic">${node.name}</title>
+</%block>
+<%block name="synopsis">
+<synopsis><code mime="text/x-python">
+"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
+</code></synopsis>
+</%block>