[Closed] (MSITE-434) Use a symetric directory layout (default locale is not on root directory)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Closed] (MSITE-434) Use a symetric directory layout (default locale is not on root directory)

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/MSITE-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MSITE-434.
--------------------------------
    Resolution: Incomplete

No test happened for three years.

> Use a symetric directory layout (default locale is not on root directory)
> -------------------------------------------------------------------------
>
>                 Key: MSITE-434
>                 URL: https://issues.apache.org/jira/browse/MSITE-434
>             Project: Maven Site Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.0.1
>         Environment: any ?
>            Reporter: Tony Chemit
>            Priority: Major
>         Attachments: MSITE-434-maven-site-plugin.patch
>
>
> Abstract
> --------
> Make possible to break to default locale directory layout (adding a parameter symetricLayout)
> Actually, when using two locales (en,fr) to generate site, the source directory layout is like this (symetricLayout=false) :
> src/site/
> |-- apt
> |   `-- index.apt
> |-- fr
> |   `-- apt
> |       `-- index.apt
> |-- site_en.xml
> `-- site_fr.xml
> And it generates like this :
> target/site/
> |-- index.html
> `-- fr
>     `-- index.html
> With the parameter symetricLayout=true, the source directory layout is like this :
> src/site/
> |-- en
> |   `-- apt
> |       `-- index.apt
> |-- fr
> |   `-- rst
> |       `-- index.apt
> |-- site_en.xml
> `-- site_fr.xml
> And it generates this :
> target/site/
> |-- en
> |   `-- index.html
> `-- fr
>     `-- index.html
> By default the parameter symetricLayout is to false (so nothing is changing :)).
> Note
> ----
> when using a single locale, the symetricLayout should always be to false.
> Why doing this ?
> ----------------
> We are developping a tool to edit (as a wiki) the generated site and store the changed directly in the svn of the project (Each night the site should be regenerated).
> The purpose of this tools is to make possible external users (mainly our clients with credential on svn of course) to improve the documentation of their application without our help.
> Using a symetric layout without distinguish a default locale is a lot easier for us.
> Hope the patch will be accepted :)
> Tony.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)