I added a new project outside our branches structure for hosting a
maven skin for the site plugin. This enables us to create and generate
consistent styles for maven generated sites.

You can find the skin here:

https://svn.apache.org/repos/asf/incubator/wicket/common/wicket-site-skin

Because it is a snapshot (not 100% done), and because we're still in
incubator you have to build it from source your self if you want to
generate a site yourself.

svn co https://svn.apache.org/repos/asf/incubator/wicket/common/wicket-site-skin

cd wicket-site-skin
mvn install

To use the skin you have to add the skin part to the site.xml of your project:

<project name="Wicket">
        <skin>
                <groupId>org.apache.wicket</groupId>
                <artifactId>wicket-site-skin</artifactId>
                <version>1.0-incubating-SNAPSHOT</version>
        </skin>
<body>
        <menu name="Apache Wicket">
                <item name="About" href="/index.html" />
                <item name="Website" href="http://incubator.apache.org/wicket"; 
/>
                <item name="License" href="/license.html" />
        </menu>
        <menu name="Project Info">
                <item name="Javadoc" href="/apidocs/index.html" target="_blank"
class="newwindow" />
                <item name="Mailing Lists" href="/mail-lists.html" />
                <item name="Issue Tracker"
href="http://issues.apache.org/jira/browse/WICKET"; />
                <item name="SVN Access" href="/source-repository.html" />
        </menu>
</body>
</project>

This set up removes the need to have a stylesheet and template in each
project. Now the documentation part only has to set the skin and focus
on the docs instead.

Martijn

--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

Reply via email to