]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove dead "Comments" link from See also sidebar
authorRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 18:50:14 +0000 (18:50 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 18:50:14 +0000 (18:50 +0000)
The comments system was removed long ago, but the link to
#comments_section remained in the See also sidebar on every page.
The target anchor no longer exists (common.xsl already has
"<!-- Comments section used to be here -->"), making this a dead link.

Remove from manualpage.xsl, synopsis.xsl, and overrideindex.xsl.
The lang/*/messages "comments" strings are left in place (harmless,
and removing them would require touching all 11 language files).

Resolves bz#70046

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934241 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/manualpage.xsl
docs/manual/style/xsl/overrideindex.xsl
docs/manual/style/xsl/synopsis.xsl

index 32a3e05b8262261e1436aa8f70357d6b16671e44..66a5100a8c79bac313d4450e3aa21b05a6e568e7 100644 (file)
                                 <xsl:apply-templates />
                             </li>
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                        select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
                     </xsl:if>
                 </div>&lf; <!-- /#quickview -->
index e65d28bea3e7887093fbffcf90c25a382e9ee700..60fa02a9f6cc563e374279eeb289ad71eba9a06a 100644 (file)
                                 <xsl:apply-templates />
                             </li>&lf;
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                    select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
                     </xsl:if>
                 </div> <!-- /#quickview -->
index 769d1815088974b2ad5cadb5b8d457d5b42badad..cfcbb9343468978acc8a6f967d5b698cf48e768e 100644 (file)
                                 <xsl:apply-templates />
                             </li>&lf;
                         </xsl:for-each>
-                        <xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
-                            <li><a href="#comments_section"><xsl:value-of
-                                    select="$message[@id='comments']" /></a>
-                            </li>
-                        </xsl:if>
                         </ul>
                     </xsl:if>
                 </div> <!-- /#quickview -->