summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2015-12-12 11:08:25 -0800
committerrockon999 <rockon999@users.noreply.github.com>2018-08-06 02:53:45 -0500
commitb7ee86ab4833f428e27429a75b2955c6b21159b1 (patch)
tree1986c2b42672543a2f669583b4fba801374fcee3
parent26560766ce3505ef4f5b09b41f13895346133f3a (diff)
downloadgobject-introspection-b7ee86ab4833f428e27429a75b2955c6b21159b1.tar.gz
devdocs: Describe bare functions
Pages for bare functions (not in a class) were missing descriptions of their arguments and return values.
-rw-r--r--giscanner/doctemplates/devdocs/Gjs/function.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/function.tmpl b/giscanner/doctemplates/devdocs/Gjs/function.tmpl
index 9d2b5238..2795ee3c 100644
--- a/giscanner/doctemplates/devdocs/Gjs/function.tmpl
+++ b/giscanner/doctemplates/devdocs/Gjs/function.tmpl
@@ -1 +1,3 @@
+<%namespace name="method" file="_method.tmpl"/>
<%inherit file="base.tmpl"/>
+${method.describe_parameters(node)}