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:57:36 UTC
(maven-acr-plugin) branch master updated: Drop the FAQ anchor that duplicates the heading id
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-acr-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 94f01b4 Drop the FAQ anchor that duplicates the heading id
94f01b4 is described below
commit 94f01b4c94d691af50aed6b7b6866e68ec57321b
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: