You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wookie.apache.org by bu...@apache.org on 2013/11/06 14:59:10 UTC

svn commit: r885630 - in /websites/staging/wookie/trunk/content: ./ docs/developer/features.html

Author: buildbot
Date: Wed Nov  6 13:59:09 2013
New Revision: 885630

Log:
Staging update by buildbot for wookie

Modified:
    websites/staging/wookie/trunk/content/   (props changed)
    websites/staging/wookie/trunk/content/docs/developer/features.html

Propchange: websites/staging/wookie/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Nov  6 13:59:09 2013
@@ -1 +1 @@
-1525542
+1539339

Modified: websites/staging/wookie/trunk/content/docs/developer/features.html
==============================================================================
--- websites/staging/wookie/trunk/content/docs/developer/features.html (original)
+++ websites/staging/wookie/trunk/content/docs/developer/features.html Wed Nov  6 13:59:09 2013
@@ -123,16 +123,21 @@ widgets config.xml file.</p>
 <h2 id="configuring-feature-deployment">Configuring feature deployment</h2>
 <p>When you build and deploy Wookie using Ant, the features that are deployed are determined by two properties set in your build.properties file.</p>
 <p>The default configuration looks like this:</p>
-<div class="codehilite"><pre><span class="c1"># Uncomment to include Extra features</span>
-<span class="n">include</span><span class="o">.</span><span class="n">extra</span><span class="o">.</span><span class="n">features</span>
-<span class="c1"># Uncomment to include Scratchpad features</span>
-<span class="c1">#include.scratchpad.features</span>
+<div class="codehilite"><pre><span class="c"># Uncomment to include Extra features</span>
+<span class="n">include</span><span class="p">.</span><span class="n">extra</span><span class="p">.</span><span class="n">features</span>
+<span class="c"># Uncomment to include Scratchpad features</span>
+<span class="c">#include.scratchpad.features</span>
 </pre></div>
 
 
 <p>If <code>include.extra.features</code> is not commented out, any features in the <code>features</code> directory of the working directory will be deployed. </p>
 <p>If <code>include.scratchpad.features</code> is not commented out, any features in the <code>scratchpad/features</code> directory of the working directory will be deployed. </p>
 <p>If both properties are commented out in build.properties then only the Google Wave Gadget API feature will be installed.</p>
+<h2 id="adding-scripts-and-styles-to-all-widgets-using-the-widget-default-feature">Adding scripts and styles to all widgets using the "widget" default feature</h2>
+<p>Wookie adds the default set of scripts and stylesheets to all widgets using a feature called "widget" which you can find in /features/widget. </p>
+<p>Usually this is just the implementation of the W3 Widget Interface specification, plus some libraries needed for communicating with the server. </p>
+<p>However, you can also use this to customize all the widgets, for example if you wanted to add a script for tracking, or to provide a common set of base styles, or a common shim for legacy browsers. </p>
+<p>Just add your files to /features/widget and edit /features/widget/feature.xml to reference them, just like any other feature.</p>
   </div>
 
   <div id="footer">