You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2016/02/02 21:12:26 UTC

svn commit: r1728201 - /maven/doxia/site/trunk/content/apt/macros/index.apt

Author: hboutemy
Date: Tue Feb  2 20:12:25 2016
New Revision: 1728201

URL: http://svn.apache.org/viewvc?rev=1728201&view=rev
Log:
[DOXIA-532] added ssi macro documentation

Modified:
    maven/doxia/site/trunk/content/apt/macros/index.apt

Modified: maven/doxia/site/trunk/content/apt/macros/index.apt
URL: http://svn.apache.org/viewvc/maven/doxia/site/trunk/content/apt/macros/index.apt?rev=1728201&r1=1728200&r2=1728201&view=diff
==============================================================================
--- maven/doxia/site/trunk/content/apt/macros/index.apt (original)
+++ maven/doxia/site/trunk/content/apt/macros/index.apt Tue Feb  2 20:12:25 2016
@@ -56,7 +56,7 @@ Doxia Macros Guide
 <!-- MACRO{macro_name|param1=value1|param2=value2|...} -->
 +----
 
- As of Doxia 1.1, the following macros are available:
+ As of Doxia 1.7, the following macros are available:
 
 %{toc|section=1|fromDepth=2|toDepth=2}
 
@@ -249,3 +249,29 @@ public class MyClass
 *-----------+--------------+
 
  For more information, see the {{{./swf-macro.html}SWF Macro}} page.
+
+* {SSI Macro}
+
+ Since Doxia 1.7, the <SSI> macro prints a server side include. For instance, in an APT file,
+ you could write:
+
++----
+%{ssi|function=include|file=included-file.html}
++----
+
+ In a xdoc file, it will be:
+
++----
+<macro name="ssi">
+  <param name="function" value="include"/>
+  <param name="file" value="included-file.html"/>
+</macro>
++----
+
+*-----------+--------------+
+|| Parameter || Description  |
+*-----------+--------------+
+| function  | The SSI function to insert.
+*-----------+--------------+
+| <any>     | Parameter that will be added to the SSI directive.
+*-----------+--------------+