[gobject-introspection/mallard-templates] g-ir-doc-tool: Add Since: tag to classes



commit 36790f0ce9219e1d5168d0f8c9c50e925580553c
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date:   Sat Feb 18 17:00:51 2012 +0100

    g-ir-doc-tool: Add Since: tag to classes

 giscanner/mallard-C-class.tmpl      |    3 +++
 giscanner/mallard-Python-class.tmpl |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/mallard-C-class.tmpl b/giscanner/mallard-C-class.tmpl
index ad2735e..2d73904 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 b317b43..1dd8644 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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]