You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/07/23 14:13:00 UTC
[jira] [Created] (DOXIASITETOOLS-266) Don't create anchors behind the user's back
Michael Osipov created DOXIASITETOOLS-266:
---------------------------------------------
Summary: Don't create anchors behind the user's back
Key: DOXIASITETOOLS-266
URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-266
Project: Maven Doxia Sitetools
Issue Type: Bug
Components: Site renderer
Affects Versions: 2.0.0-M3
Reporter: Michael Osipov
Assignee: Michael Osipov
Fix For: 2.0.0-M4
{{SiteRendererSink}} wraps the actual sink and intercepts all calls to section titles. While there it automatically adds anchors not requested by the user. This creates the following problems (non exhaustive):
* The user never requested to do so
* The output differs from direct Doxia invocation and is not documented. E.g., site plugin vs direct goal
* Apt format explicitly states that no anchors are generated for section titles
* Maven Reporting Impl's {{AbstractRenderer}} in {{#startSection()}} adds anchors to the section titles which results in two anchors for the same section title.
Stop manipulating output and make it consistent with non-site usecases and the specs of respective formats.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)