Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-266

Don't create anchors behind the user's back

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M3
    • 2.0.0-M4, 2.0.0
    • Site renderer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: