Author: dennisl Date: Sat Nov 10 05:53:36 2007 New Revision: 593776 URL: http://svn.apache.org/viewvc?rev=593776&view=rev Log: o Add a link to a wiki page with examples of existing skins. o Adjust title.
Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creatingskins.apt Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creatingskins.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creatingskins.apt?rev=593776&r1=593775&r2=593776&view=diff ============================================================================== --- maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creatingskins.apt (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/apt/examples/creatingskins.apt Sat Nov 10 05:53:36 2007 @@ -1,5 +1,5 @@ ------ - Creating a Skin for the Maven 2 Site Plugin + Creating Skins ------ Brett Porter ------ @@ -24,7 +24,7 @@ ~~ http://maven.apache.org/guides/mini/guide-apt-format.html -Creating a Skin for the Maven 2 Site Plugin +Creating Skins * About @@ -32,15 +32,14 @@ * Resources to copy into each project (such as images used by the CSS) - * A <<<maven-theme.css>>> file, containing the visual styling. + * A couple of css files, containing the visual styling. * An optional Velocity template for an alternate HTML rendering of the site. - For a sample skin, see {{{http://svn.apache.org/viewvc/maven/skins/trunk/maven-classic-skin}http://svn.apache.org/viewvc/maven/skins/trunk/maven-classic-skin}} - * Building - A skin is built like any other JAR - with a <<<packaging>>> of <<<jar>>>. No additional plugins are needed. + A skin is built like any other JAR - with a <<<packaging>>> of <<<jar>>>. + No additional plugins are needed. Resources should be put in the normal <<<src/main/resources>>> directory. @@ -50,13 +49,20 @@ <<More information is needed here on constructing the CSS.>> - If you are interested in constructing your own CSS, it is recommended that you copy an existing skin's - <<<maven-theme.css>>> file and modify it to suit your needs. + If you are interested in constructing your own CSS, it is recommended that + you copy an existing skin's <<<maven-theme.css>>> file and modify it to suit + your needs. * Customizing the HTML output with a Velocity template <<Details on the velocity template variables and use should be included>>. - The format of the velocity template is currently out of scope for this document. To attempt this, start by copying - <<<default-site.vm>>> from the <<<doxia-site-renderer>>> JAR to <<<src/main/resources/META-INF/maven/site.vm>>> - and modify it to your needs. + The format of the velocity template is currently out of scope for this + document. To attempt this, start by copying <<<default-site.vm>>> from the + <<<doxia-site-renderer>>> JAR to + <<<src/main/resources/META-INF/maven/site.vm>>> and modify it to your needs. + +* Examples of existing skins + + A list of links to skins that can be used as inspiration can be found on + {{{http://docs.codehaus.org/display/MAVENUSER/Maven+Skins}the wiki}}.