[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-cvs
Subject: svn commit: r1842164 - /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
From: jailletc36 () apache ! org
Date: 2018-09-27 20:42:24
Message-ID: 20180927204225.01A243A05C4 () svn01-us-west ! apache ! org
[Download RAW message or body]
Author: jailletc36
Date: Thu Sep 27 20:42:24 2018
New Revision: 1842164
URL: http://svn.apache.org/viewvc?rev=1842164&view=rev
Log:
Revert r1842160
Some rules to help me detect un-needed links to directives, or missing ones were sent \
by error
Modified:
httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?rev=1842164&r1=1842163&r2=1842164&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Thu Sep 27 20:42:24 2018
@@ -542,7 +542,7 @@ if (typeof(prettyPrint) !== 'undefined')
<!-- ==================================================================== -->
<!-- handle subsections (lower level headings) -->
<!-- ==================================================================== -->
-<xsl:template match="section/section" priority="3">
+<xsl:template match="section/section">
<!-- Section heading -->
<h3>
<xsl:choose>
@@ -567,7 +567,7 @@ if (typeof(prettyPrint) !== 'undefined')
<!-- ==================================================================== -->
<!-- handle subsubsections (h4) -->
<!-- ==================================================================== -->
-<xsl:template match="section/section/section" priority="4">
+<xsl:template match="section/section/section">
<!-- Section heading -->
<h4>
<xsl:choose>
@@ -900,31 +900,6 @@ if (typeof(prettyPrint) !== 'undefined')
</xsl:variable>
<xsl:choose>
- <!-- No link if within the block that describe the directive itself -->
- <xsl:when test="$in-modulesynopsis and normalize-space(.) = ../../name">
- <xsl:if test="@type='section'"><</xsl:if>
- <xsl:value-of select="."/>
- <xsl:if test="@type='section'">></xsl:if>
- <xsl:message>Candidate (remove ref): <xsl:value-of \
select="."/></xsl:message>
- </xsl:when>
- <xsl:when test="$in-modulesynopsis and normalize-space(.) = ../../../name">
- <xsl:if test="@type='section'"><</xsl:if>
- <xsl:value-of select="."/>
- <xsl:if test="@type='section'">></xsl:if>
- <xsl:message>Candidate (remove ref): <xsl:value-of \
select="."/></xsl:message>
- </xsl:when>
- <xsl:when test="$in-modulesynopsis and normalize-space(.) = \
../../../../name">
- <xsl:if test="@type='section'"><</xsl:if>
- <xsl:value-of select="."/>
- <xsl:if test="@type='section'">></xsl:if>
- <xsl:message>Candidate (remove ref): <xsl:value-of \
select="."/></xsl:message>
- </xsl:when>
- <xsl:when test="$in-modulesynopsis and normalize-space(.) = \
../../../../../name">
- <xsl:if test="@type='section'"><</xsl:if>
- <xsl:value-of select="."/>
- <xsl:if test="@type='section'">></xsl:if>
- <xsl:message>Candidate (REMOVE ref): <xsl:value-of \
select="."/></xsl:message>
- </xsl:when>
<xsl:when test="$in-modulesynopsis and normalize-space(@module) = \
/modulesynopsis/name"> <a href="#{$lowerdirective}">
<xsl:if test="@type='section'"><</xsl:if>
@@ -942,13 +917,6 @@ if (typeof(prettyPrint) !== 'undefined')
</xsl:choose>
</xsl:when>
- <!-- Missing module reference -->
- <xsl:when test="$in-modulesynopsis and normalize-space(.) != ../../../name">
- <xsl:if test="@type='section'"><</xsl:if>
- <xsl:value-of select="."/>
- <xsl:if test="@type='section'">></xsl:if>
- <xsl:message>Candidate (ADD ref): <xsl:value-of select="."/></xsl:message>
- </xsl:when>
<xsl:otherwise>
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="."/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic