summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/Python/enum.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/Python/enum.tmpl')
-rw-r--r--giscanner/doctemplates/Python/enum.tmpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/giscanner/doctemplates/Python/enum.tmpl b/giscanner/doctemplates/Python/enum.tmpl
index 2624c425..35cdd439 100644
--- a/giscanner/doctemplates/Python/enum.tmpl
+++ b/giscanner/doctemplates/Python/enum.tmpl
@@ -1,11 +1,13 @@
<%inherit file="/base.tmpl"/>
<%block name="details">
% if node.members:
-<dl>
+<terms>
% for member in node.members:
-<dt><p>${node.name}.${member.name.upper()} :</p></dt>
-<dd>${formatter.format(node, member.doc)}</dd>
+<item>
+<title><code>${node.name}.${member.name.upper()}</code></title>
+${formatter.format(node, member.doc)}
+</item>
% endfor
-</dl>
+</terms>
% endif
</%block>