You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/08/29 23:57:03 UTC

[jira] Commented: (MPXDOC-131) allow i18n links

    [ http://jira.codehaus.org/browse/MPXDOC-131?page=comments#action_45436 ] 

Lukas Theussl commented on MPXDOC-131:
--------------------------------------

Ignacio,
I have checked your latest patch (hrefkey.patch). Unless I'm missing something, the test that you attached does not produce the desired result (an element <a hrefkey="testlinks.mysite1">empty document</a> is generated instead of <a href="http://mysite1.com">empty document</a>) . If you could fix that we'll include it in our next release.

> allow i18n links
> ----------------
>
>          Key: MPXDOC-131
>          URL: http://jira.codehaus.org/browse/MPXDOC-131
>      Project: maven-xdoc-plugin
>         Type: Improvement
>     Reporter: Ignacio G. Mac Dowell
>  Attachments: hrefkey.patch, last.cumulative.patch, last.docs.patch, last.main.patch, last.test.patch, plugin.jelly.patch, plugin.properties.patch
>
>
> Currently, we can't directly use the pom or velocity in user-documentation. 
> JSL is applied to the user-docs as-is. I suggest having a property called maven.docs.src.templates (defaults to false) that when set to true treats user-docs as templates.
> Then, slightly modify the goal xdoc:jelly-transform.
> We need to var's:
> <j:set var="mergeUserDocs" value="${maven.docs.src.templates}"/>
> <j:set var="hasUserDocs" value="${maven.docs.src.available}"/>
> If both evaluate to true then velocity:merge the user docs before doing jsl. If they evaluate to false do as before.
> It would probably be nice to be able to use jelly as well as user-supplied docs.

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