You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/08/21 08:42:09 UTC

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

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

Brett Porter updated MPXDOC-131:
--------------------------------

    Description: 
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.

  was:
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.

    Environment: 
        Summary: allow i18n links  (was: Allow velocity in user-documentation and expose pom)

I think this is a good idea.

> 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
>     Assignee: Arnaud Heritier
>  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