summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-02-25 18:59:07 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-26 17:27:08 +0100
commit1e8a4a19a4800acdc7c348943e86ed9287ea0d9c (patch)
tree34653366b6dee49ffa6814a0870ce00a2366c76e /giscanner/doctemplates
parent17b4a3bdb94d818a8bd67f14b72fb6a6c98229d9 (diff)
downloadgobject-introspection-1e8a4a19a4800acdc7c348943e86ed9287ea0d9c.tar.gz
docwriter/Gjs: include static methods in the enum page
Switch enum from a topic to a guide page, and include links to all static methods.
Diffstat (limited to 'giscanner/doctemplates')
-rw-r--r--giscanner/doctemplates/Gjs/enum.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/giscanner/doctemplates/Gjs/enum.tmpl b/giscanner/doctemplates/Gjs/enum.tmpl
index 35cdd439..e239de18 100644
--- a/giscanner/doctemplates/Gjs/enum.tmpl
+++ b/giscanner/doctemplates/Gjs/enum.tmpl
@@ -1,3 +1,4 @@
+<%! page_type="guide" %>
<%inherit file="/base.tmpl"/>
<%block name="details">
% if node.members:
@@ -11,3 +12,10 @@ ${formatter.format(node, member.doc)}
</terms>
% endif
</%block>
+<%block name="links">\
+ <links type="topic" ui:expanded="true"
+ api:type="function" api:mime="${formatter.mime_type}"
+ groups="function" style="linklist">
+ <title>Functions</title>
+ </links>\
+</%block> \ No newline at end of file