summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-18 17:00:51 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-18 17:00:51 +0100
commit36790f0ce9219e1d5168d0f8c9c50e925580553c (patch)
tree06f0a443bdd788eca7287e658056894975b63567
parent51b0488d5323b518650d89653f59effa9bd16112 (diff)
downloadgobject-introspection-36790f0ce9219e1d5168d0f8c9c50e925580553c.tar.gz
g-ir-doc-tool: Add Since: tag to classes
-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>