summaryrefslogtreecommitdiff
path: root/giscanner/mallard-Python-class.tmpl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2011-08-24 11:32:18 -0400
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-17 10:27:40 +0100
commit30219d837fc7e97ff3f776e1cc9fe6e63dcff76f (patch)
tree5fa171cae0a385a62330cb1fabf281458205e645 /giscanner/mallard-Python-class.tmpl
parent836259072ee674bcadb57ae0dcb23ab7db6ae211 (diff)
downloadgobject-introspection-30219d837fc7e97ff3f776e1cc9fe6e63dcff76f.tar.gz
g-ir-doc-tool: Consolidating the function templates
Diffstat (limited to 'giscanner/mallard-Python-class.tmpl')
-rw-r--r--giscanner/mallard-Python-class.tmpl16
1 files changed, 13 insertions, 3 deletions
diff --git a/giscanner/mallard-Python-class.tmpl b/giscanner/mallard-Python-class.tmpl
index 6803dfbb..b317b432 100644
--- a/giscanner/mallard-Python-class.tmpl
+++ b/giscanner/mallard-Python-class.tmpl
@@ -3,11 +3,12 @@
type="guide"
style="class"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="class"/>
</info>
- <title>${node.namespace.name}.${node.name}</title>
+ <title>${namespace.name}.${node.name}</title>
${formatter.format(node.doc)}
<synopsis ui:expanded="no">
<title>Hierarchy</title>
@@ -17,12 +18,21 @@ ${formatter.format(node.doc)}
</item>
</tree>
</synopsis>
- <links type="topic" ui:expanded="yes" groups="constructor" style="linklist">
+ <links type="topic" ui:expanded="yes"
+ api:type="function" api:mime="text/x-python"
+ groups="constructor" style="linklist">
<title>Constructors</title>
</links>
- <links type="topic" ui:expanded="yes" groups="method" style="linklist">
+ <links type="topic" ui:expanded="yes"
+ api:type="function" api:mime="text/x-python"
+ groups="method" style="linklist">
<title>Methods</title>
</links>
+ <links type="topic" ui:expanded="yes"
+ api:type="function" api:mime="text/x-python"
+ groups="function" style="linklist">
+ <title>Functions</title>
+ </links>
<links type="topic" ui:expanded="yes" groups="property" style="linklist">
<title>Properties</title>
</links>