summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/doctemplates/C/mallard-C-vfunc.tmpl')
-rw-r--r--giscanner/doctemplates/C/mallard-C-vfunc.tmpl23
1 files changed, 7 insertions, 16 deletions
diff --git a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
index 3363ea8c..b27b2cef 100644
--- a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
+++ b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
@@ -1,18 +1,11 @@
-<?xml version="1.0"?>
-<page id="${page_id}"
- type="topic"
- style="${page_style}"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:api="http://projectmallard.org/experimental/api/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
+<%inherit file="mallard-base.tmpl"/>
+<%block name="info">
<link type="guide" xref="${namespace.name}.${node.parent.name}" group="vfunc"/>
- </info>
- <title>${formatter.format_page_name(node)}</title>
+</%block>
+<%block name="content">
<synopsis><code mime="text/x-csrc">
</code></synopsis>
-${formatter.format(node, node.doc)}
-
+${parent.content()}
% if node.parameters or node.retval:
<table>
% for arg, ix in zip(node.parameters, range(len(node.parameters))):
@@ -29,7 +22,5 @@ ${formatter.format(node, node.doc)}
% endif
</table>
% endif
-% if node.version:
-<p>Since ${node.version}</p>
-% endif
-</page>
+${self.since_version()}
+</%block>