]> granicus.if.org Git - apache/commitdiff
Flip directives and topics sections after discussion around ordering
authorDaniel Ruggeri <druggeri@apache.org>
Wed, 15 Apr 2015 16:53:25 +0000 (16:53 +0000)
committerDaniel Ruggeri <druggeri@apache.org>
Wed, 15 Apr 2015 16:53:25 +0000 (16:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673869 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/synopsis.xsl

index e17eb4a4ecdac818cd702b89e5d270b448b6411a..638747b494525bac662ef644f08cc17b17b0d549 100644 (file)
             <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']" />
                             </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">
                 </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 -->
                 </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;