Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49635 - in /trunk/doc: modules/yast2_modules.xslt scr/yast2_scr.xslt
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2008 13:07:04 -0000
  • Message-id: <20080804130704.9905C34412@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Mon Aug 4 15:07:04 2008
New Revision: 49635

URL: http://svn.opensuse.org/viewcvs/yast?rev=49635&view=rev
Log:
Generating also 'Authors:' for SCR Agents and YCP Modules


Modified:
trunk/doc/modules/yast2_modules.xslt
trunk/doc/scr/yast2_scr.xslt

Modified: trunk/doc/modules/yast2_modules.xslt
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/doc/modules/yast2_modules.xslt?rev=49635&r1=49634&r2=49635&view=diff
==============================================================================
--- trunk/doc/modules/yast2_modules.xslt (original)
+++ trunk/doc/modules/yast2_modules.xslt Mon Aug 4 15:07:04 2008
@@ -74,6 +74,18 @@
<para>
<xsl:value-of select="./header/summary"/>
</para>
+
+ <!-- bnc #401680 - Documentation with info about maintainer -->
+ <xsl:if test="./header/authors">
+ <sect2>
+ <title>Authors</title>
+ <itemizedlist>
+ <xsl:for-each select="./header/authors/ITEM">
+ <listitem><para><xsl:value-of select="."/></para></listitem>
+ </xsl:for-each>
+ </itemizedlist>
+ </sect2>
+ </xsl:if>
</xsl:template>

<!-- Module Provides... //-->

Modified: trunk/doc/scr/yast2_scr.xslt
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/doc/scr/yast2_scr.xslt?rev=49635&r1=49634&r2=49635&view=diff
==============================================================================
--- trunk/doc/scr/yast2_scr.xslt (original)
+++ trunk/doc/scr/yast2_scr.xslt Mon Aug 4 15:07:04 2008
@@ -34,6 +34,7 @@
</xsl:choose>
</title>
<xsl:call-template name="scr-summary"/>
+ <xsl:call-template name="scr-authors"/>
<sect3>
<title>Description</title>
<xsl:call-template name="scr-general"/>
@@ -55,6 +56,21 @@
</xsl:if>
</xsl:template>

+ <xsl:template name="scr-authors">
+ <!-- If has summary //-->
+ <!-- bnc #401680 - Documentation with info about maintainer -->
+ <xsl:if test="./authors">
+ <sect3>
+ <title>Authors</title>
+ <itemizedlist>
+ <xsl:for-each select="./authors/ITEM">
+ <listitem><para><xsl:value-of select="."/></para></listitem>
+ </xsl:for-each>
+ </itemizedlist>
+ </sect3>
+ </xsl:if>
+ </xsl:template>
+
<xsl:template name="scr-general">
<!-- If has access //-->
<xsl:if test="./general">

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages