Added minimal documentation
[maven-thymeleaf-skin] / src / site / xhtml / usage.xhtml
index 3c573e4..9487b3e 100644 (file)
@@ -5,6 +5,19 @@
  </head>
  <body>
   <h1>Usage</h1>
  </head>
  <body>
   <h1>Usage</h1>
-  <p><em>TODO...</em></p>
+  <p>
+    To use this skin in your project, use the skin element of
+    <a href="http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html">the <code>site.xml</code> site descriptor</a>:
+  </p>
+  <pre class="prettyprint linenums" id="redirect"><code class="xml">&lt;project name="xxx"&gt;
+  [...]
+  &lt;skin&gt;
+    &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
+    &lt;artifactId&gt;${project.artifactId}&lt;/artifactId&gt;
+    &lt;version&gt;${project.version}&lt;/version&gt;
+  &lt;/skin&gt;
+  [...]
+&lt;/project&gt;
+  </code></pre>
  </body>
 </html>
  </body>
 </html>