diff options
Diffstat (limited to 'giscanner/doctemplates/Python/mallard-Python-signal.tmpl')
-rw-r--r-- | giscanner/doctemplates/Python/mallard-Python-signal.tmpl | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl index 8dda89be..a430d9b9 100644 --- a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl +++ b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl @@ -1,14 +1,9 @@ -<?xml version="1.0"?> -<page id="${namespace.name}.${node.parent.name}-${node.name}" - type="topic" - style="${page_style}" - xmlns="http://projectmallard.org/1.0/" - 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="signal"/> <title type="link" role="topic">${node.name}</title> - </info> - <title>${formatter.format_page_name(node)}</title> +</%block> +<%block name="content"> <synopsis><code mime="text/x-python"> def callback(${formatter.to_underscores(node.parent.name).lower()}, \ % for arg, ix in zip(node.parameters, range(len(node.parameters))): @@ -46,7 +41,6 @@ ${formatter.format(node, node.doc)} </tr> % endif </table> -% if node.version: -<p>Since ${node.version}</p> -% endif -</page> +${self.since_version()} +</%block> + |