maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SebbASF (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (DOXIASITETOOLS-55) It does not appear to be possible to create an absolute link to a parent URL in a banner
Date Sun, 06 Mar 2011 15:44:22 GMT
It does not appear to be possible to create an absolute link to a parent URL in a banner
----------------------------------------------------------------------------------------

                 Key: DOXIASITETOOLS-55
                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-55
             Project: Maven Doxia Sitetools
          Issue Type: Bug
            Reporter: SebbASF


Sometimes it makes sense for a link to be absolute, even if it could be expressed as a relative
link.

For example, Apache Commons has many components, for example Math.

When shipping documentation with the Math release, it would be nice if the banner link for
Apache Commons referenced http://www.apache.commons/ rather than ../ which is what is currently
generated.

There does not seem to be any way to stop Maven from relativising the href in this case.

Note: the href is relativised before it is even passed to the VM template.

There needs to be a standard way to prevent such absolute URLs from being relativised.
Note that this needs to be done on a per link basis - e.g. in the case of Math, the banner
link to Math itself should remain relative.

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

        

Mime
View raw message