diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-01-31 18:44:09 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 19:47:41 -0500 |
commit | 44dea29977be349304a905e01b3ec89f7bdc6168 (patch) | |
tree | b81a817f9642a788813e7f28d80f3bef4ac6f30c /giscanner/doctemplates/C/vfunc.tmpl | |
parent | 217916ca496827aa494d956787e2700b21c66aaa (diff) | |
download | gobject-introspection-44dea29977be349304a905e01b3ec89f7bdc6168.tar.gz |
doctool: Rename templates to exclude mallard/the language
As templates are in their own directory and segregated into language
already, this is sort of repeating the issue. At the same time, always
explicitly use relative ("./") or absolute ("/") lookups for templates.
We want to eventually have base templates to share between languages, so
to do so without namespace clashes makes sense.
Diffstat (limited to 'giscanner/doctemplates/C/vfunc.tmpl')
-rw-r--r-- | giscanner/doctemplates/C/vfunc.tmpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/giscanner/doctemplates/C/vfunc.tmpl b/giscanner/doctemplates/C/vfunc.tmpl new file mode 100644 index 00000000..902b8864 --- /dev/null +++ b/giscanner/doctemplates/C/vfunc.tmpl @@ -0,0 +1,22 @@ +<%inherit file="/base.tmpl"/> +<%block name="info"> + <link type="guide" xref="${namespace.name}.${node.parent.name}" group="vfunc"/> +</%block> +<%block name="synopsis"> +<synopsis><code mime="text/x-csrc"> +</code></synopsis> +</%block> +<%block name="details"> +% if node.parameters or node.retval: +<dl> +% for arg, ix in zip(node.parameters, range(len(node.parameters))): +<dt><p>${arg.argname} :</p></dt> +<dd>${formatter.format(node, arg.doc)}</dd> +% endfor +% if node.retval: +<dt><p>Returns :</p></dt> +<dd>${formatter.format(node, node.retval.doc)}</dd> +% endif +</dl> +% endif +</%block> |