diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2018-09-27 22:42:24 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2018-09-27 22:42:24 +0200 |
commit | 695c187293a66d8c7e4253651eaebc860f377c5e (patch) | |
tree | ade8c23e88edb9f6e999eb4e141300a33b7f65fe /docs/manual/style/xsl/common.xsl | |
parent | The XSLT Saxon engine warns about some "Ambiguous rule matches". (diff) | |
download | apache2-695c187293a66d8c7e4253651eaebc860f377c5e.tar.xz apache2-695c187293a66d8c7e4253651eaebc860f377c5e.zip |
Revert r1842160
Some rules to help me detect un-needed links to directives, or missing ones were sent by error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | docs/manual/style/xsl/common.xsl | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index e3fe27fd0d..f0a0cea5a9 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -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="."/> |