summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/mallard-C-class.tmpl3
-rw-r--r--giscanner/mallard-Python-class.tmpl3
2 files changed, 6 insertions, 0 deletions
diff --git a/giscanner/mallard-C-class.tmpl b/giscanner/mallard-C-class.tmpl
index ad2735e0..2d739043 100644
--- a/giscanner/mallard-C-class.tmpl
+++ b/giscanner/mallard-C-class.tmpl
@@ -10,6 +10,9 @@
</info>
<title>${node.ctype}</title>
${formatter.format(node.doc)}
+% if node.version:
+<p>Since ${node.version}</p>
+% endif
<synopsis ui:expanded="no">
<title>Hierarchy</title>
<tree>
diff --git a/giscanner/mallard-Python-class.tmpl b/giscanner/mallard-Python-class.tmpl
index b317b432..1dd8644d 100644
--- a/giscanner/mallard-Python-class.tmpl
+++ b/giscanner/mallard-Python-class.tmpl
@@ -10,6 +10,9 @@
</info>
<title>${namespace.name}.${node.name}</title>
${formatter.format(node.doc)}
+% if node.version:
+<p>Since ${node.version}</p>
+% endif
<synopsis ui:expanded="no">
<title>Hierarchy</title>
<tree>