[yelp-xsl] xsldoc: Guide page for template stubs



commit 547bc02da4bd7d5acf9ffb2d6e2370db931a0cb6
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Jan 24 13:44:08 2012 -0500

    xsldoc: Guide page for template stubs

 doc/yelp-xsl/xsldoc-scan.xsl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/doc/yelp-xsl/xsldoc-scan.xsl b/doc/yelp-xsl/xsldoc-scan.xsl
index 7936e99..193530a 100644
--- a/doc/yelp-xsl/xsldoc-scan.xsl
+++ b/doc/yelp-xsl/xsldoc-scan.xsl
@@ -277,6 +277,9 @@ free software.
       <info>
         <link type="guide" xref="{$xsldoc.id}" group="{$type}"/>
         <link type="guide" xref="index__{$type}"/>
+        <xsl:if test="count(mal:info/xsldoc:stub) > 0">
+          <link type="guide" xref="stubs"/>
+        </xsl:if>
         <xsl:call-template name="revision"/>
         <xsl:copy-of select="mal:info/*[not(self::mal:revision)]"/>
       </info>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]