summaryrefslogtreecommitdiff
path: root/giscanner/mallard-Python-class.tmpl
diff options
context:
space:
mode:
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>