summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/_doc.tmpl')
-rw-r--r--giscanner/doctemplates/devdocs/Gjs/_doc.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl b/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
index d645df17..dbdb8259 100644
--- a/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
+++ b/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
@@ -29,3 +29,9 @@
deprecated
% endif
</%def>
+
+<%def name="introspectable(node)">
+ % if getattr(node, "introspectable", True):
+ ${caller.body()}
+ % endif
+</%def>