[gobject-introspection] docwriter/Gjs: include static methods in the enum page
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] docwriter/Gjs: include static methods in the enum page
- Date: Wed, 26 Feb 2014 16:28:29 +0000 (UTC)
commit 1e8a4a19a4800acdc7c348943e86ed9287ea0d9c
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue Feb 25 18:59:07 2014 +0100
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.
giscanner/doctemplates/Gjs/enum.tmpl | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/doctemplates/Gjs/enum.tmpl b/giscanner/doctemplates/Gjs/enum.tmpl
index 35cdd43..e239de1 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]