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/08/20 19:29:00 UTC
[jira] [Closed] (DOXIASITETOOLS-266) Don't create anchors behind the user's back
[ https://issues.apache.org/jira/browse/DOXIASITETOOLS-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed DOXIASITETOOLS-266.
-----------------------------------------
Resolution: Fixed
Fixed with [4209995afbb69c779c90ba41edf1e2959d429450|https://gitbox.apache.org/repos/asf?p=maven-doxia-sitetools.git;a=commit;h=4209995afbb69c779c90ba41edf1e2959d429450].
> 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
> Priority: Major
> 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)