You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chatra Nakkawita (JIRA)" <ji...@apache.org> on 2007/03/28 11:34:32 UTC

[jira] Commented: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

    [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484788 ] 

Chatra Nakkawita commented on AXIS2-2412:
-----------------------------------------

Will it be possible to rename a directory using a such filter to add in the version name to the directory in the generated docs? That way we will not even have to rename version specific content directory inside xdocs (eg: xdocs/1_1) at every release inside the trunk.

Also if dir name inside xdocs is equal to name URL carries for that directorty (eg: @version_@ ) in xdocs then the URL links will not just only work in generated docs but also in xdocs. This will be helpful when updating and maintaining documents.

Is this possible?

Thanks,
Chatra

> [xdocs] dynamic labels for documentation using maven resource filter
> --------------------------------------------------------------------
>
>                 Key: AXIS2-2412
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2412
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: documentation
>         Environment: any
>            Reporter: sumedha rubasinghe
>         Attachments: axis-2412.patch
>
>
> Right now release versions, dates are hard coded in the HTML files themselves. I have added a maven resource filter to take them to a separate resource file. Thus these values can be made dynamic with respective to static HTML files.
> Steps :
> 1. Locate 'dynamic-labels.properties' inside xdocs folder
> 2. Add an entry (adhering to pattern labelname=value) to it.
> 3. Open any html file inside xdocs folder & put @labelname@ in the place where you want 'valuet' o appear. 
> 4. Run dist-docs goal & check the generated artifact.
> I have added an example to xdocs/index.html file.
> Thank you.
> sumedha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org