]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
handle duplicate directives by sorting directive lists additionally by module name
authorAndré Malo <nd@apache.org>
Sat, 22 Feb 2014 17:48:56 +0000 (17:48 +0000)
committerAndré Malo <nd@apache.org>
Sat, 22 Feb 2014 17:48:56 +0000 (17:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1570865 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/directiveindex.xsl
docs/manual/style/xsl/quickreference.xsl

index 75d81de5c37d7f3e08fac68657dc4cc9ee22cbff..0216e1a4a65bd3044bb7e2ee76c73c35968f3a65 100644 (file)
                 [$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">
index 76ed49339f33b1ea9be1ab7bbac03fd9da9321c1..5d4c6e6979c81c39cc77056b70b131d228915555 100644 (file)
     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]