summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/Gjs/field.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/Gjs/field.tmpl')
-rw-r--r--giscanner/doctemplates/Gjs/field.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/giscanner/doctemplates/Gjs/field.tmpl b/giscanner/doctemplates/Gjs/field.tmpl
new file mode 100644
index 00000000..dda82469
--- /dev/null
+++ b/giscanner/doctemplates/Gjs/field.tmpl
@@ -0,0 +1,9 @@
+<%inherit file="/base.tmpl"/>
+<%block name="info">
+ ${formatter.format_xref(node.parent, type="guide", group=page_kind)}
+ <title type="link" role="topic">${node.name}</title>
+</%block>
+<%block name="synopsis">
+ <synopsis><code mime="text/x-gjs">
+${node.parent.name}.${formatter.to_underscores(node)}: ${formatter.format_type(node.type, True)} (${formatter.format_property_flags(node)})
+ </code></synopsis></%block>