Maven Doxia

wrong section counting in TOC macro

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

Description

Eg site-plugin-2.0 generates two different tocs for the following:

%{toc|section=1|fromDepth=1|toDepth=1}
%{toc|section=2|fromDepth=1|toDepth=1}

Section 1

* Sub-section 1.1
* Sub-section 1.2

Section 2

* Sub-section 2.1
* Sub-section 2.2

The toc for section 1 contains the two sub-sections, while the one for section 2 (correctly) contains only the section.

Issue Links

Activity

Hide
Lukas Theussl added a comment -

This is fixed in Doxia-1.1, see DOXIA-316, there will be no more 1.0.x release.

Show
Lukas Theussl added a comment - This is fixed in Doxia-1.1, see DOXIA-316, there will be no more 1.0.x release.
Hide
Dennis Lundberg added a comment -

Using Site Plugin 2.1.1 (doxia 1.1.3) both tocs contain only the section, so works as expected.

Do we really want to make a 1.0.1 release of doxia?

Show
Dennis Lundberg added a comment - Using Site Plugin 2.1.1 (doxia 1.1.3) both tocs contain only the section, so works as expected. Do we really want to make a 1.0.1 release of doxia?

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: