httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drugg...@apache.org
Subject svn commit: r1673869 - /httpd/httpd/branches/2.4.x/docs/manual/style/xsl/synopsis.xsl
Date Wed, 15 Apr 2015 16:53:26 GMT
Author: druggeri
Date: Wed Apr 15 16:53:25 2015
New Revision: 1673869

URL: http://svn.apache.org/r1673869
Log:
Flip directives and topics sections after discussion around ordering

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

Modified: httpd/httpd/branches/2.4.x/docs/manual/style/xsl/synopsis.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/style/xsl/synopsis.xsl?rev=1673869&r1=1673868&r2=1673869&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/style/xsl/synopsis.xsl (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/style/xsl/synopsis.xsl Wed Apr 15 16:53:25 2015
@@ -168,6 +168,18 @@
             <xsl:if test="not($is-chm) or seealso">
                 <div id="quickview">
                     <xsl:if test="not($is-chm)">
+                        <xsl:if test="section">
+                            <h3>
+                                <xsl:value-of select="$message
+                                                      [@id='topics']" />
+                            </h3>&lf;
+
+                            <ul id="topics">&lf;
+                            <xsl:apply-templates
+                                select="section" mode="index" />
+                            </ul>
+                        </xsl:if>
+
                         <h3 class="directives">
                             <xsl:value-of select="$message
                                                   [@id='directives']" />
@@ -230,18 +242,6 @@
                             </p>&lf;
                         </xsl:otherwise>
                         </xsl:choose>
-
-                        <xsl:if test="section">
-                            <h3>
-                                <xsl:value-of select="$message
-                                                      [@id='topics']" />
-                            </h3>&lf;
-
-                            <ul id="topics">&lf;
-                            <xsl:apply-templates
-                                select="section" mode="index" />
-                            </ul>
-                        </xsl:if>
                     </xsl:if> <!-- /!is-chm -->
 
                     <xsl:if test="seealso">
@@ -268,6 +268,9 @@
                 </div> <!-- /#quickview -->
             </xsl:if>&lf; <!-- have sidebar -->
 
+            <!-- Sections of documentation about the module as a whole -->
+            <xsl:apply-templates select="section" />&lf;
+
             <xsl:variable name="this" select="directivesynopsis" />
 
             <!-- Directive documentation -->
@@ -285,9 +288,6 @@
                 </xsl:otherwise>
                 </xsl:choose>
             </xsl:for-each>
-
-            <!-- Sections of documentation about the module as a whole -->
-            <xsl:apply-templates select="section" />&lf;
         </div>&lf; <!-- /#page-content -->
 
         <xsl:call-template name="bottom" />&lf;



Mime
View raw message