You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/10 00:43:49 UTC

(maven-acr-plugin) branch faq-drop-duplicate-anchor created (now fcab980)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch faq-drop-duplicate-anchor
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git


      at fcab980  Drop the FAQ anchor that duplicates the heading id

This branch includes the following new commits:

     new fcab980  Drop the FAQ anchor that duplicates the heading id

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-acr-plugin) 01/01: Drop the FAQ anchor that duplicates the heading id

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch faq-drop-duplicate-anchor
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git

commit fcab9801ef003f922ae1595a742d0d073d7737df
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 10 02:43:40 2026 +0200

    Drop the FAQ anchor that duplicates the heading id
    
    The converted FAQ writes an explicit anchor before every question. For
    this page's first question that anchor is byte-identical to the id Doxia
    already derives from the heading text, so the same id lands on the page
    twice:
    
      <a id="How_can_I_specify_..."></a>
      <h3><a id="How_can_I_specify_..."></a>How can I specify ...
    
    Duplicate ids are invalid HTML, and Doxia logs "Anchor name ... used more
    than once". The heading supplies the anchor on its own, so the explicit
    one is removed. The second question keeps its explicit anchor, because
    there the FML id (#extensions) bears no relation to the heading text.
    
    Verified by rebuilding the site: no id appears twice, and every anchor
    the page served before is still served.
    
    Generated-by: Claude Opus 5 (1M context)
---
 src/site/markdown/faq.md | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/site/markdown/faq.md b/src/site/markdown/faq.md
index f07459e..bbce590 100644
--- a/src/site/markdown/faq.md
+++ b/src/site/markdown/faq.md
@@ -28,8 +28,6 @@ under the License.
 1. [How can I specify a Class-Path: entry in the manifest of an Application Client jar?](#How_can_I_specify_a_Class-Path.3A_entry_in_the_manifest_of_an_Application_Client_jar.3F)
 2. [Why the app-client packaging type is not recognized?](#extensions)
 
-<a id="How_can_I_specify_a_Class-Path.3A_entry_in_the_manifest_of_an_Application_Client_jar.3F"></a>
-
 ### How can I specify a Class-Path: entry in the manifest of an Application Client jar?
 
 You just have to configure it: