You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2012/10/23 12:37:12 UTC

[jira] [Created] (COMMONSSITE-72) Workround for MSITE-646/MSITE-660: relative Javadoc links are mangled

Sebb created COMMONSSITE-72:
-------------------------------

             Summary: Workround for MSITE-646/MSITE-660: relative Javadoc links are mangled
                 Key: COMMONSSITE-72
                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-72
             Project: Commons All
          Issue Type: Improvement
            Reporter: Sebb


As reported in FUNCTOR-23, relative links to Javadoc methods are mangled by Doxia.

Since absolute links are not mangled, one work-round is to convert all such Javadoc links to absolute links. However that causes various problems.

An alternative work-round is to convert links to absolute, but using a fixed dummy host name prefix, and then remove the dummy prefix after the output has been processed by Doxia.

This is easy to do using the Velocity Macro stylesheet.

See attached patch to follow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COMMONSSITE-72) Workround for MSITE-646/MSITE-660: relative Javadoc links are mangled

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COMMONSSITE-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated COMMONSSITE-72:
----------------------------

    Attachment: COMMONSSITE-72.patch
    
> Workround for MSITE-646/MSITE-660: relative Javadoc links are mangled
> ---------------------------------------------------------------------
>
>                 Key: COMMONSSITE-72
>                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-72
>             Project: Commons All
>          Issue Type: Improvement
>            Reporter: Sebb
>         Attachments: COMMONSSITE-72.patch
>
>
> As reported in FUNCTOR-23, relative links to Javadoc methods are mangled by Doxia.
> Since absolute links are not mangled, one work-round is to convert all such Javadoc links to absolute links. However that causes various problems.
> An alternative work-round is to convert links to absolute, but using a fixed dummy host name prefix, and then remove the dummy prefix after the output has been processed by Doxia.
> This is easy to do using the Velocity Macro stylesheet.
> See attached patch to follow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira