[
http://jira.codehaus.org/browse/DOXIA-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176223#action_176223
]
Lukas Theussl commented on DOXIA-319:
-------------------------------------
I don't think the TOC macro was meant to provide this functionality. It was
designed to work within single pages, not whole sites (DOXIA-40).
What you want should rather be accomplished by some outside plugin, like the
site plugin does with site.xml, and I am currently thinking about the same
functionality for the pdf plugin.
So as far as Doxia is concerned, I will close this issue as fixed, you may open
another feature request for the site renderer or site plugin.
> Improve toc macro for CSS
> -------------------------
>
> Key: DOXIA-319
> URL: http://jira.codehaus.org/browse/DOXIA-319
> Project: Maven Doxia
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1
> Environment: any
> Reporter: Albert Kurucz
> Assignee: Lukas Theussl
> Priority: Minor
>
> The toc macro in APT works great!
> example: %{toc|section=0}
> But.
> It would be nice to make it CSS friendly with an divId= and/or divClass=
> parameter.
> example: %{toc|section=0|divID=myTOC}
> If divId or div/Class parameter exists, the toc macro should change the
> enclosing <div class="section"> accordingly.
> If there is no enclosing <div class="section">, then create an additional
> <div> around the generated <ul><li> structure, which has the id/class as
> specified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira