summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/devdocs/Gjs/_method.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/_method.tmpl')
-rw-r--r--giscanner/doctemplates/devdocs/Gjs/_method.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/_method.tmpl b/giscanner/doctemplates/devdocs/Gjs/_method.tmpl
index 0374ba40..3e4d596e 100644
--- a/giscanner/doctemplates/devdocs/Gjs/_method.tmpl
+++ b/giscanner/doctemplates/devdocs/Gjs/_method.tmpl
@@ -1,3 +1,5 @@
+<%namespace name="doc" file="_doc.tmpl"/>
+
<%def name="describe_parameters(m, static=False, virtual=False)">
<dl>
% if static:
@@ -44,5 +46,5 @@
-->(${formatter.format_in_parameters(m)})
</h3>
${describe_parameters(m, static, virtual)}
- ${formatter.format(m, m.doc)}
+ ${doc.format_documentation(m)}
</%def>