httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r1570864 - in /httpd/httpd/branches/2.4.x/docs/manual/style/xsl: directiveindex.xsl quickreference.xsl
Date Sat, 22 Feb 2014 17:47:54 GMT
Author: nd
Date: Sat Feb 22 17:47:54 2014
New Revision: 1570864

URL: http://svn.apache.org/r1570864
Log:
handle duplicate directives by sorting directive lists additionally by module name

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/style/xsl/directiveindex.xsl
    httpd/httpd/branches/2.4.x/docs/manual/style/xsl/quickreference.xsl

Modified: httpd/httpd/branches/2.4.x/docs/manual/style/xsl/directiveindex.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/style/xsl/directiveindex.xsl?rev=1570864&r1=1570863&r2=1570864&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/style/xsl/directiveindex.xsl (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/style/xsl/directiveindex.xsl Sat Feb 22 17:47:54
2014
@@ -104,6 +104,8 @@
                 [$letter = translate(substring(normalize-space(name), 1, 1),
                                      $lowercase, $uppercase)]">
 <xsl:sort select="name" />
+<xsl:sort select="../name" /> <!-- in case of duplicate directives -->
+
     <li>
         <a href="{../name}.html#{translate(name, $uppercase, $lowercase)}">
             <xsl:if test="position() = 1">

Modified: httpd/httpd/branches/2.4.x/docs/manual/style/xsl/quickreference.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/style/xsl/quickreference.xsl?rev=1570864&r1=1570863&r2=1570864&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/style/xsl/quickreference.xsl (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/style/xsl/quickreference.xsl Sat Feb 22 17:47:54
2014
@@ -219,6 +219,7 @@
     select="$directives[$letter=translate(substring(normalize-space(name), 1,1),
                                           $lowercase,$uppercase)]">
 <xsl:sort select="name" />
+<xsl:sort select="../name" /> <!-- in case of duplicate directives -->
 
     <xsl:choose>
     <xsl:when test="$modules[name=current()/../name]



Mime
View raw message