summaryrefslogtreecommitdiff
path: root/giscanner/doctemplates/devdocs/Gjs/base.tmpl
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2015-11-21 21:02:02 -0800
committerrockon999 <rockon999@users.noreply.github.com>2018-08-06 02:53:45 -0500
commit9719dd21669084b6ccaaef07899db8416e235a74 (patch)
tree42274386b8e376db2d4945f70d728dd6db6b1b31 /giscanner/doctemplates/devdocs/Gjs/base.tmpl
parent7f67146d8254464f396b289ed41c8954d61fe03d (diff)
downloadgobject-introspection-9719dd21669084b6ccaaef07899db8416e235a74.tar.gz
devdocs: Render a summary at the top of each page
This summary, heavily inspired by the one from pgi-docs, is useful when browsing the page rather than searching for a specific term. It's also similar to the summary at the top of gtk-doc pages.
Diffstat (limited to 'giscanner/doctemplates/devdocs/Gjs/base.tmpl')
-rw-r--r--giscanner/doctemplates/devdocs/Gjs/base.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/doctemplates/devdocs/Gjs/base.tmpl b/giscanner/doctemplates/devdocs/Gjs/base.tmpl
index 95800da8..91ffa105 100644
--- a/giscanner/doctemplates/devdocs/Gjs/base.tmpl
+++ b/giscanner/doctemplates/devdocs/Gjs/base.tmpl
@@ -2,6 +2,7 @@
<body>
<section>
<h1 class="${page_kind}">${formatter.format_page_name(node)}</h1>
+ <%include file="_index.tmpl"/>
<h2>Details</h2>
${formatter.format(node, node.doc)}
<%include file="_staticmethods.tmpl"/>