creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1369321 - /creadur/whisker/trunk/src/site/apt/examples/license-family.apt
Date Sat, 04 Aug 2012 13:38:11 GMT
Author: rdonkin
Date: Sat Aug  4 13:38:11 2012
New Revision: 1369321

URL: http://svn.apache.org/viewvc?rev=1369321&view=rev
Log:
Don't forget to explain about parameters

Modified:
    creadur/whisker/trunk/src/site/apt/examples/license-family.apt

Modified: creadur/whisker/trunk/src/site/apt/examples/license-family.apt
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/src/site/apt/examples/license-family.apt?rev=1369321&r1=1369320&r2=1369321&view=diff
==============================================================================
--- creadur/whisker/trunk/src/site/apt/examples/license-family.apt (original)
+++ creadur/whisker/trunk/src/site/apt/examples/license-family.apt Sat Aug  4 13:38:11 2012
@@ -540,6 +540,31 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SU
         ...
 +---------------------------------------+
   
+  The <<<license>>> we added early is a template,
+  so we need to include the parameter values
+  as <<<license-parameters>>>. These will be substituted
+  into the template when rendering the license instance text.
+  We enter the values we noted above
+
++---------------------------------------+
+    ...
+    <within dir='.'>
+        ...
+        <with-license id='osi:BSD2'>
+            <license-parameters>
+                <parameter>
+                    <name>YEAR</name>
+                    <value>2000-2010</value>
+                </parameter>
+                <parameter>
+                    <name>OWNER</name>
+                    <value>The Example Project</value>
+                </parameter>
+            </license-parameters>
+        </with-license>
+        ...
++---------------------------------------+
+  
   Within each license, resources are grouped by organisation.
   So the <<<by-organisation>>> containing
   the new resource named <<<boo.png>>> needs to 
@@ -551,6 +576,16 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SU
     <within dir='.'>
         ...
         <with-license id='osi:BSD2'>
+            <license-parameters>
+                <parameter>
+                    <name>YEAR</name>
+                    <value>2000-2010</value>
+                </parameter>
+                <parameter>
+                    <name>OWNER</name>
+                    <value>The Example Project</value>
+                </parameter>
+            </license-parameters>
             <by-organisation id='example.org'>
                 <resource name='boo.png'/>
             </by-organisation>
@@ -815,6 +850,16 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SU
             </by-organisation>
         </with-license>
         <with-license id='osi:BSD2'>
+            <license-parameters>
+                <parameter>
+                    <name>YEAR</name>
+                    <value>2000-2010</value>
+                </parameter>
+                <parameter>
+                    <name>OWNER</name>
+                    <value>The Example Project</value>
+                </parameter>
+            </license-parameters>
             <by-organisation id='example.org'>
                 <resource name='boo.png'/>
             </by-organisation>



Mime
View raw message