You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Yann Le Du (JIRA)" <ji...@codehaus.org> on 2006/02/22 03:32:35 UTC

[jira] Created: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2099?page=all ]

Olivier Lamy updated MNG-2099:
------------------------------

    Attachment: MNG-2099.diff

> 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
>  Attachments: MNG-2099.diff
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59362 ] 

Yann Le Du commented on MNG-2099:
---------------------------------

I don't get the problem with doxia trunk - anchors are correct. Maybe it's already corrected ??
Would it solve http://maven.apache.org/maven-model/maven.html also ? (I don't know how this page is generated from model)

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59387 ] 

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

Hi,
I have noticed a change in xDoc Renderer between m1 and m2.
With m1, a xdoc section/subsection is rendered with the <a name="${sectionName">
But not with m2.
Simply look at the source difference between http://maven.apache.org/ and http://maven.apache.org/maven-1.x/
Is it a related issue or an other on exists ?
Emmanuel : you speak about XhtmlSink  but where is it in http://svn.apache.org/viewcvs.cgi/maven/doxia/trunk/
Thanks,
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59355 ] 

Yann Le Du commented on MNG-2099:
---------------------------------

I've noticed the same thing in FAQs, e.g. http://maven.apache.org/general.html
Am I wrong or is it a problem with FML ? There is no # for name in HTML specs : http://www.w3.org/TR/html4/struct/links.html#edef-A

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59361 ] 

Emmanuel Venisse commented on MNG-2099:
---------------------------------------

it's a pb with XhtmlSink in achor method

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2099?page=comments#action_59388 ] 

Emmanuel Venisse commented on MNG-2099:
---------------------------------------

http://svn.apache.org/viewcvs.cgi/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-2099) Anchors in http://maven.apache.org/maven-model/maven.html are broken

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org