maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1721076 - in /maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats: pom.xml src/site/apt/index.apt src/site/apt/velocity-context.apt.vm
Date Mon, 21 Dec 2015 00:19:54 GMT
Author: hboutemy
Date: Mon Dec 21 00:19:54 2015
New Revision: 1721076

URL: http://svn.apache.org/viewvc?rev=1721076&view=rev
Log:
added Velocity context demo

Added:
    maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
  (with props)
Modified:
    maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/pom.xml
    maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/index.apt

Modified: maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/pom.xml?rev=1721076&r1=1721075&r2=1721076&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/pom.xml (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/pom.xml Mon Dec 21 00:19:54
2015
@@ -29,6 +29,9 @@ under the License.
   <packaging>pom</packaging>
   <name>Doxia formats tests</name>
 
+  <properties>
+    <property-project-version>@project.version@</property-project-version>
+  </properties>
 
   <build>
     <pluginManagement>

Modified: maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/index.apt?rev=1721076&r1=1721075&r2=1721076&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/index.apt Mon
Dec 21 00:19:54 2015
@@ -52,3 +52,5 @@ Doxia Formats
   require to explicitely add a dependency to maven-site-plugin when using it.
 
 Velocity
+
+  See {{{./velocity-context.html} Doxia Site Renderer Velocity Context demo}}.
\ No newline at end of file

Added: maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm?rev=1721076&view=auto
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
(added)
+++ maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
Mon Dec 21 00:19:54 2015
@@ -0,0 +1,126 @@
+ -----
+ Doxia Site Renderer Velocity Context
+ -----
+ Hervé Boutemy
+ -----
+ 2015-12-20
+ -----
+
+~~ 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
+
+Doxia Site Renderer Velocity Context
+
+  See {{{http://maven.apache.org/doxia/doxia-sitetools/doxia-site-renderer/} doxia-site-renderer}}.
+
+* Document Variables
+
+*-----------------------*-------------------------------------------------------*
+|| variable             || examples                                             ||
+*-----------------------+-------------------------------------------------------+
+| <<<alignedFileName>>> | = <<<$alignedFileName>>>
+*-----------------------+-------------------------------------------------------+
+| <<<decoration>>>      | <<<decoration.name>>> = <<<$decoration.name>>>
+*-----------------------+-------------------------------------------------------+
+| <<<currentDate>>>     | = <<<$currentDate>>>, <<<dateFormat.format(currentDate)>>>
= <<<$dateFormat.format(${currentDate})>>>
+*-----------------------+-------------------------------------------------------+
+| <<<currentFileName>>> | = <<<$currentFileName>>>
+*-----------------------+-------------------------------------------------------+
+| <<<dateFormat>>>      | = <<<$dateFormat>>>
+*-----------------------+-------------------------------------------------------+
+| <<<dateRevision>>>    | = <<<$dateRevision>>>
+*-----------------------+-------------------------------------------------------+
+| <<<doxiaSiteRendererVersion>>> | = <<<$doxiaSiteRendererVersion>>>
+*-----------------------+-------------------------------------------------------+
+| <<<locale>>>          | = <<<$locale>>>
+*-----------------------+-------------------------------------------------------+
+| <<<publishDate>>>     | = <<<$publishDate>>>
+*-----------------------+-------------------------------------------------------+
+| <<<relativePath>>>    | = <<<$relativePath>>>
+*-----------------------+-------------------------------------------------------+
+| <<<supportedLocales>>> | = <<<$supportedLocales>>>
+*-----------------------+-------------------------------------------------------+
+
+* Tools
+
+*-----------------------*-------------------------------------------------------*
+|| variable             || examples                                             ||
+*-----------------------+-------------------------------------------------------+
+| <<<FileUtils>>>       | = <<<$FileUtils>>>
+*-----------------------+-------------------------------------------------------+
+| <<<i18n>>>            | = <<<$i18n>>>
+*-----------------------+-------------------------------------------------------+
+| <<<PathTool>>>        | = <<<$PathTool>>>
+*-----------------------+-------------------------------------------------------+
+| <<<StringUtils>>>     | = <<<$StringUtils>>>
+*-----------------------+-------------------------------------------------------+
+
+* Maven Site Plugin
+
+*-----------------------*-------------------------------------------------------*
+|| variable             || examples                                             ||
+*-----------------------+-------------------------------------------------------+
+| <<<inputEncoding>>>   | = <<<$inputEncoding>>>
+*-----------------------+-------------------------------------------------------+
+| <<<outputEncoding>>>  | = <<<$outputEncoding>>>
+*-----------------------+-------------------------------------------------------+
+| <<<project>>>         | = <<<$project>>>,
+|                       | <<<project.version>>> = <<<$project.version>>>
+*-----------------------+-------------------------------------------------------+
+| <<<property-project-version>>> | = <<<${property-project-version}>>>
+*-----------------------+-------------------------------------------------------+
+
+* Velocity GenericTools
+
+  See {{{http://velocity.apache.org/tools/releases/2.0/generic.html} Velocity GenericTools
documentation}} for more details:
+
+*-----------------------*-------------------------------------------------------*
+|| variable             || examples                                             ||
+*-----------------------+-------------------------------------------------------+
+| <<<alternator>>>      | = <<<$alternator>>>
+*-----------------------+-------------------------------------------------------+
+| <<<context>>>         | (causes RuntimeException)
+*-----------------------+-------------------------------------------------------+
+| <<<convert>>>         | = <<<$convert>>>
+*-----------------------+-------------------------------------------------------+
+| <<<date>>>            | = <<<$date>>>
+*-----------------------+-------------------------------------------------------+
+| <<<display>>>         | = <<<$display>>>
+*-----------------------+-------------------------------------------------------+
+| <<<esc>>>             | = <<<$esc>>>, <<<esc.q>>>
= <<<$esc.q>>>
+*-----------------------+-------------------------------------------------------+
+| <<<field>>>           | = <<<$field>>>
+*-----------------------+-------------------------------------------------------+
+| <<<loop>>>            | = <<<$loop>>>
+*-----------------------+-------------------------------------------------------+
+| <<<link>>>            | (causes NullPointerException)
+*-----------------------+-------------------------------------------------------+
+| <<<math>>>            | = <<<$math>>>
+*-----------------------+-------------------------------------------------------+
+| <<<number>>>          | = <<<$number>>>
+*-----------------------+-------------------------------------------------------+
+| <<<render>>>          | = <<<$render>>>
+*-----------------------+-------------------------------------------------------+
+| <<<text>>>            | = <<<$text>>>
+*-----------------------+-------------------------------------------------------+
+| <<<sorter>>>          | = <<<$sorter>>>
+*-----------------------+-------------------------------------------------------+
+| <<<xml>>>             | = <<<$xml>>>
+*-----------------------+-------------------------------------------------------+

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-context.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message