summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/C/function.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/C/function.tmpl')
-rw-r--r--giscanner/doctemplates/C/function.tmpl16
1 files changed, 10 insertions, 6 deletions
diff --git a/giscanner/doctemplates/C/function.tmpl b/giscanner/doctemplates/C/function.tmpl
index c551bc2e..c2d393b9 100644
--- a/giscanner/doctemplates/C/function.tmpl
+++ b/giscanner/doctemplates/C/function.tmpl
@@ -47,15 +47,19 @@ ${formatter.format_type(arg.type) | x} ${arg.argname}\
</%block>
<%block name="details">
% if formatter.get_parameters(node) or node.retval:
-<dl>
+<terms>
% for arg in formatter.get_parameters(node):
-<dt><p>${arg.argname} :</p></dt>
-<dd>${formatter.format(node, arg.doc)}</dd>
+<item>
+<title><code>${arg.argname}</code></title>
+${formatter.format(node, arg.doc)}
+</item>
% endfor
% if node.retval:
-<dt><p>Returns :</p></dt>
-<dd>${formatter.format(node, node.retval.doc)}</dd>
+<item>
+<title><code>Returns</code></title>
+${formatter.format(node, node.retval.doc)}
+</item>
% endif
-</dl>
+</terms>
% endif
</%block>