Author: tchemit Date: 2009-11-24 16:29:28 +0100 (Tue, 24 Nov 2009) New Revision: 635 Modified: trunk/src/site/apt/index.apt trunk/src/site/apt/mojo-usages.apt Log: add documentation for generate-site-index goal Modified: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt 2009-11-24 14:47:57 UTC (rev 634) +++ trunk/src/site/apt/index.apt 2009-11-24 15:29:28 UTC (rev 635) @@ -29,6 +29,8 @@ * {{{share-server-secret-mojo.html} helper:share-server-secret}} to expose a server secret data in project. + * {{{generate-site-index-mojo.html} helper:generate-site-index}} to generate a simple redirect index.html page when using the symetric layout in site plugin. + Consult the {{{mojo-usages.html}usages}} page to have more details of mojos. Consult the {{{mojo-examples.html}examples}} page to have some examples of mojos. Modified: trunk/src/site/apt/mojo-usages.apt =================================================================== --- trunk/src/site/apt/mojo-usages.apt 2009-11-24 14:47:57 UTC (rev 634) +++ trunk/src/site/apt/mojo-usages.apt 2009-11-24 15:29:28 UTC (rev 635) @@ -80,6 +80,7 @@ </configuration> </plugin> ------------------------------------------------------------------------------ + share-server-secret This goal shares servers informations (from your <settings.xml>) @@ -129,3 +130,26 @@ </executions> </plugin> ------------------------------------------------------------------------------ + +generate-site-index + + This goal generate a simple redirect index.html page when using the symetric layout in site. + + This will generates by default a index.html in <<target/site>> directory which will redirect to the default locale site. + +------------------------------------------------------------------------------ +<plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>generate-site-index</goal> + </goals> + <configuration> + <locales>${maven.site.locales}</locales> + </configuration> + </execution> + </executions> +</plugin> +------------------------------------------------------------------------------
participants (1)
-
tchemit@users.nuiton.org