diff options
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/_method.tmpl')
-rw-r--r-- | giscanner/doctemplates/devdocs/Gjs/_method.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/_method.tmpl b/giscanner/doctemplates/devdocs/Gjs/_method.tmpl index 57520465..3109fd1b 100644 --- a/giscanner/doctemplates/devdocs/Gjs/_method.tmpl +++ b/giscanner/doctemplates/devdocs/Gjs/_method.tmpl @@ -13,10 +13,17 @@ in_params = formatter.get_in_parameters(m) out_params = formatter.get_out_parameters(m) %> - % if in_params: + % if in_params or isinstance(m, ast.Signal): <dt>Parameters:</dt> <dd> <ul> + % if isinstance(m, ast.Signal): + <li> + <strong>${formatter.to_lower_camel_case(m.parent.name)}</strong> + (<code>${m.parent.gi_name}</code>) + — the emitting object + </li> + %endif % for p in in_params: <li> <strong>${p.argname}</strong> |