------ Introduction ------ Hervé Boutemy, Simone "Simo" Tripodi ------ 2012-06-28 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html Welcome to ${project.name}! The Apache Maven Fluido Skin is an Apache Maven site skin built on top of {{{http://twitter.github.com/bootstrap/}Twitter's bootstrap}}. A {{{./sample.html}sample page}} is provided to see the skin in action, and 2 complete sites to show skin configurations: one for {{{./sidebar/}sidebar layout (default)}} and the other for {{{./topbar/}topbar layout}}. * Usage To use this skin in your project, use the skin element of {{{/doxia/doxia-sitetools/doxia-decoration-model/decoration.html}the <<>> site descriptor}}: +-----+ [...] ${project.groupId} ${project.artifactId} ${project.version} [...] +-----+ ** TopBar and/or sideBar The skin supports different layouts, enabling/disabling the left sidebar menu and the topbar menu. Users have just play with flags in the <<>> element in <<>>: +-----+ [...] true false [...] +-----+ That allows users having 4 skins in only 1! [[1]] sidebar only; [[2]] topbar only; [[3]] both side/top bars; [[4]] none at all. [] Default skin setting is the option <<1>>. ** TopBarIcon When users decide to enable the topbar, they can plug a small icon/logo there (typically 108*20 px) just configuring the <<>> element in <<>>: +-----+ [...] true Maven Fluido Skin Maven Fluido Skin /images/topbar-logo.png /index.html [...] +-----+ ** TopBarContainerStyle You can configure the style attribute value of the div container for your topbar +-----+ [...] true width: 90%; [...] +-----+ ** NavBarStyle You can configure style of your top bar nav (since bootstrap 2.1.0 is not anymore black by default). Use navbar-inverse to have the black one. +-----+ [...] true navbar-inverse [...] +-----+ ** Configuring column class When using sidebar, the left column used by default span3 class and body column use span9. To prevent weird/ugly result, the sum must be 12. You can change that using: +-----+ [...] span2 span10 [...] +-----+ ** GoogleSearch Users can optionally enable the <> for the generated site, requirements are: * the <<>> property in <<>>, unless the <<>> property is set in the <<>>: +-----+ [...] http://maven.apache.org/skins/${project.artifactId} [...] +-----+ * the <<>> element in <<>>: +-----+ [...] [...] +-----+ [] By default, the search form: * is enabled; adding <<>> is enough to enable the searchbox. * is rendered in the sidebar, if the topbar only is available it will be rendered there. [] External links are either rendered in the sidebar or the topbar. When both sidebar and topbar are enabled, they are rendered as dropdown in the topbar only. ** SourceLineNumbers Source code sections are enhanced by {{{http://code.google.com/p/google-code-prettify/}Google Code Prettify}}, users can optionally enable line numbers rendering (disabled by default): +-----+ [...] true [...] +-----+ ** Footers placeholders Since <<<#eval>>> Velocity macro is not supported yet, the only placeholder available in additional footers is <<<@project.name@>>>. ** GitHub ribbons Since version <<1.1>>, fluido-skin supports {{{https://github.com/blog/273-github-ribbons}GitHub ribbons}} to simplify the banner integration. Users must define: * <<>>: <>, it is the project id on GitHub and will be used to build the project page URL; * <<>>: <>, it is the the ribbon position, <<>>/<<>> only accepted (<<>> by default); * <<>>: <>, it is the the ribbon color, <<>>/<<>>/<<>>/<>/<<>>/<<>> only accepted only accepted (<<>> by default). +-----+ [...] 99soft/backport-spi right black [...] +-----+ ** Project profile As shown in the MOJOs {{{http://mojo.codehaus.org/plugins.html}list}}, plugins life-cycle are characterized by different status/stages: * Production * Pre-release * Sandbox * Graveyard (retired projects) Users can configure different backgrounds depending on the project status (except the production) to warrant users they are not using a production ready software: +-----+ [...] (pre-release|sandbox|retired) [...] +-----+ ** Twitter follow button Since version <<1.1>>, fluido-skin supports the Twitter {{{https://dev.twitter.com/docs/follow-button}follow button}} to simplify its integration. Users must define: * <<>>: <>, it is the Twitter id to suggest to follow; * <<>>: <>, flag to mark the user has to be shown (<<>> by default); * <<>>: <>, flag to mark the followers ribbon has to be shown (<<>> by default). +-----+ [...] simonetripodi true true [...] +-----+ By default, it is rendered in the sidebar, if the topbar only is available it will be rendered there. ** Ohloh widgets Since version <<1.1>>, fluido-skin supports the Ohloh {{{https://www.ohloh.net/p/maven2/widgets}widgets}} to simplify its integration. Users must define: * <<>>: <>, it is the project identifier in Ohloh (could be the numeric id or the project name); * <<>>: <>, it is the kind of widget has to be rendered, admitted values are: * <<>> (default) * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> * <<>> +-----+ [...] 3499 factoids [...] +-----+ Ohloh widgets will be rendered always in the footer as last element ** Facebook like button Since version <<1.2>>, fluido-skin supports the Facebook {{{http://developers.facebook.com/docs/reference/plugins/like/}like}} integration. Users have just to declare: +-----+ [...] [...] +-----+ By default, it is rendered in the sidebar, if the topbar only is available it will be rendered there. <> in order the Facebook like button appears, <<<$\{project.url\}>>> property <> be set in the <<>>! ** Google plusone button Since version <<1.2>>, fluido-skin supports the Google {{{https://developers.google.com/+/plugins/+1button/}plusone}} integration. Users have just to declare: +-----+ [...] [...] +-----+ By default, it is rendered in the sidebar, if the topbar only is available it will be rendered there. <> in order the Google plusone button appears, <<<$\{project.url\}>>> property <> be set in the <<>>! Acknowledgment ${project.name} contains/redistributes {{{http://glyphicons.com}Glyphicons Halflings}} as part of Bootstrap by Twitter, released under {{{http://creativecommons.org/licenses/by/3.0/deed.en}Creative Commons Attribution 3.0 Unported (CC BY 3.0)}}.