diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-14 22:47:10 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-14 23:18:00 -0500 |
commit | 3b64a2e808ae25b437c30bec237ada89dc4bcfb3 (patch) | |
tree | 359dfe6569e3c0058af70f7e8431cf1ae6aa6633 /giscanner/doctemplates/Gjs/function.tmpl | |
parent | afe9d25896491db94bdbfac109f003d9ec9ff852 (diff) | |
download | gobject-introspection-3b64a2e808ae25b437c30bec237ada89dc4bcfb3.tar.gz |
doctool: Fix use of <dl> tag in templates
This isn't legal Mallard
Diffstat (limited to 'giscanner/doctemplates/Gjs/function.tmpl')
-rw-r--r-- | giscanner/doctemplates/Gjs/function.tmpl | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/giscanner/doctemplates/Gjs/function.tmpl b/giscanner/doctemplates/Gjs/function.tmpl index db2c8ae3..46c46271 100644 --- a/giscanner/doctemplates/Gjs/function.tmpl +++ b/giscanner/doctemplates/Gjs/function.tmpl @@ -34,15 +34,19 @@ ${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in </%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 and node.retval.type.ctype != 'void': -<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> |