[ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59394 ] 

Olivier Lamy commented on MNG-2099:
-----------------------------------

Ok.
We have just to wait the next maven-site-plugin ;-)
For the other point, do I need to create a new issue.
In fact, it looks easy to add a anchor after all section/subsection with the 
name.
For xdoc, just add in 
http://svn.apache.org/viewcvs.cgi/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?rev=348620&view=markup
Just to replace : 
                else if ( parser.getName().equals( "section" ) )
                {
                    sink.section1();

                    sink.sectionTitle1();

                    sink.text( parser.getAttributeValue( null, "name" ) );

                    sink.sectionTitle1_();
                }
by somthing like :

                else if ( parser.getName().equals( "section" ) )
                {
                    sink.section1();
                    sink.sectionTitle1();

                    sink.text( parser.getAttributeValue( null, "name" ) );

                    sink.sectionTitle1_();
                    sink.anchor (sink.text( parser.getAttributeValue( null, 
"name" ) );)

                }

Is it a good feature ?? (backward compatibility with m1 fore sure).
I don't know if this can be include in the apt parser too ??

Olivier




> Anchors in http://maven.apache.org/maven-model/maven.html are broken
> --------------------------------------------------------------------
>
>          Key: MNG-2099
>          URL: http://jira.codehaus.org/browse/MNG-2099
>      Project: Maven 2
>         Type: Bug

>   Components: Documentation:  General
>     Versions: 2.0.2
>     Reporter: Yann Le Du
>     Priority: Minor

>
>
> Anchors in http://maven.apache.org/maven-model/maven.html should be (e.g.) :
> <a name="class_project">
> instead of
> <a name="#class_project">

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to