You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by si...@apache.org on 2011/12/27 01:12:10 UTC
svn commit: r1224838 -
/maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm
Author: simonetripodi
Date: Tue Dec 27 00:12:10 2011
New Revision: 1224838
URL: http://svn.apache.org/viewvc?rev=1224838&view=rev
Log:
added github ribbons documentation
Modified:
maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm
Modified: maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm?rev=1224838&r1=1224837&r2=1224838&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm (original)
+++ maven/skins/trunk/maven-fluido-skin/src/site/apt/index.apt.vm Tue Dec 27 00:12:10 2011
@@ -170,3 +170,30 @@ ${project.name}
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 <Fork me on GitHub> banner integration. Users must define:
+
+ * <<<custom.fluidoSkin.gitHub.projectId>>>: <<required>>, it is the project id on GitHub and will be used to build the project page URL;
+
+ * <<<custom.fluidoSkin.gitHub.ribbonOrientation>>>: <<optional>>, it is the the ribbon position, <<<left>>>/<<<right>>> only accepted (<<<left>>> by default);
+
+ * <<<custom.fluidoSkin.gitHub.ribbonColor>>>: <<optional>>, it is the the ribbon color, <<<red>>>/<<<green>>>/<<<black>>>/<<<orange>>>/<<<gray>>> only accepted only accepted (<<<red>>> by default).
+
++-----+
+<project>
+ [...]
+ <custom>
+ <fluidoSkin>
+ <gitHub>
+ <projectId>99soft/backport-spi</projectId>
+ <ribbonOrientation>right</ribbonOrientation>
+ <ribbonColor>black</ribbonColor>
+ </gitHub>
+ </fluidoSkin>
+ </custom>
+ [...]
+</project>
++-----+