You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/09/27 12:24:57 UTC

[4/7] sling-site git commit: Activate ToC generation using toc.js

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html b/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html
index 69f3e5a..0328d8b 100644
--- a/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html
+++ b/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication.html">Authentication</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Authentication - AuthenticationHandler
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>AuthenticationHandler</code> interface defines the service API which may be implemented by authentication handlers registered as OSGi services.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>AuthenticationHandler</code> interface defines the service API which may be implemented by authentication handlers registered as OSGi services.</p>
 <p><code>AuthenticationHandler</code> services have a single required service registration property which is used to identify requests to which the <code>AuthenticationHandler</code> service is applicable:</p>
 <table>
   <thead>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html b/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
index 238cb4f..631dfb5 100644
--- a/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
+++ b/documentation/the-sling-engine/authentication/authentication-authenticationhandler/form-based-authenticationhandler.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication.html">Authentication</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html">Authentication - AuthenticationHandler</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Form Based AuthenticationHandler
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <p>The Form Based AuthenticationHandler has two authentication phases: The first phase is presenting a login form to the user and passing the entered user name and password to the server. The second phase is storing successful authentication in a Cookie or an HTTP Session.</p>
 <p>The implementation of the Form Based Authentication Handler follows the guidelines of the Servlet API 2.4 specification for <em>Form Based Authentication</em> in section SRV.12.5.3. Specifically the following requirements are implemented:</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html b/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
index d3427d5..c9372d4 100644
--- a/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
+++ b/documentation/the-sling-engine/authentication/authentication-authenticationhandler/openid-authenticationhandler.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication.html">Authentication</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication/authentication-authenticationhandler.html">Authentication - AuthenticationHandler</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 OpenID AuthenticationHandler
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <p>The OpenID Authentication Handler supports authentication of request users using the <a href="http://www.openid.net">OpenID</a> authentication protocol. If the user has successfully authenticated with his OpenID provider a signed OpenID identity is further used to identify the user.</p>
 <p>Since generally an OpenID identity is an URL and URLs may not be used as JCR user names, an association mechanism is used by the OpenID authentication handler to associate an OpenID identity with an existing JCR user: The OpenID identity URL is set as the value of a JCR user property. When a user authenticates with his OpenID identity the matching user searched for by looking for a match in this property.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/authentication/authentication-framework.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/authentication/authentication-framework.html b/documentation/the-sling-engine/authentication/authentication-framework.html
index b8ce347..077f1b9 100644
--- a/documentation/the-sling-engine/authentication/authentication-framework.html
+++ b/documentation/the-sling-engine/authentication/authentication-framework.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication.html">Authentication</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Authentication - Framework
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>The core piece of functionality with respect to authentication in Sling is contained in the Sling Auth Core bundle. This bundle provides the API for Sling and Sling applications to make use of authentication.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The core piece of functionality with respect to authentication in Sling is contained in the Sling Auth Core bundle. This bundle provides the API for Sling and Sling applications to make use of authentication.</p>
 <p>This support encompasses three parts:</p>
 <ul>
   <li>The <code>AuthenticationSupport</code> service provided by the <code>SlingAuthenticator</code> class. This service can be used by implementations of the OSGi <code>HttpContext</code> interface to delegate authentication.</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/authentication/authentication-tasks.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/authentication/authentication-tasks.html b/documentation/the-sling-engine/authentication/authentication-tasks.html
index fe32868..fd87f4a 100644
--- a/documentation/the-sling-engine/authentication/authentication-tasks.html
+++ b/documentation/the-sling-engine/authentication/authentication-tasks.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine/authentication.html">Authentication</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Authentication - Tasks
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Authentication of HTTP Requests is generally a two-step process: First the credentials must be extracted from the request and second the credentials must be validated. In the case of Sling this means acquiring a JCR Session.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Authentication of HTTP Requests is generally a two-step process: First the credentials must be extracted from the request and second the credentials must be validated. In the case of Sling this means acquiring a JCR Session.</p>
 <h2><a href="#extract-credentials-from-the-request" name="extract-credentials-from-the-request">Extract Credentials from the Request</a></h2>
 <ul>
   <li>Implemented and controlled by the Sling Auth Core bundle</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/default-mapping-and-rendering.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/default-mapping-and-rendering.html b/documentation/the-sling-engine/default-mapping-and-rendering.html
index 190837b..5cc1fba 100644
--- a/documentation/the-sling-engine/default-mapping-and-rendering.html
+++ b/documentation/the-sling-engine/default-mapping-and-rendering.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Default Mapping and Rendering
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page contained obsolete content, moved it to http://cwiki.apache.org/confluence/display/SLING/Default+Mapping+and+Rendering+%28OBSOLETE%29 in case it is useful to someone.</p></section></div></div>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page contained obsolete content, moved it to http://cwiki.apache.org/confluence/display/SLING/Default+Mapping+and+Rendering+%28OBSOLETE%29 in case it is useful to someone.</p></section></div></div>
 <div class="footer">
                 <div class="trademarkFooter">
                     Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/dispatching-requests.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/dispatching-requests.html b/documentation/the-sling-engine/dispatching-requests.html
index bb4760f..8c94b04 100644
--- a/documentation/the-sling-engine/dispatching-requests.html
+++ b/documentation/the-sling-engine/dispatching-requests.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Dispatching Requests
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#main-process" name="main-process">Main process</a></h2>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#main-process" name="main-process">Main process</a></h2>
 <p>The following steps should give you an overview how a request is processed in Sling. Details can be found under provided links.</p>
 <ol>
   <li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/errorhandling.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/errorhandling.html b/documentation/the-sling-engine/errorhandling.html
index 16ddbc8..82d9639 100644
--- a/documentation/the-sling-engine/errorhandling.html
+++ b/documentation/the-sling-engine/errorhandling.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Errorhandling
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Engine includes support for handling uncaught <code>Throwable</code> as well as rendering custom HTTP status code pages. This is implemented by expecting a (single) <code>org.apache.sling.engine.servlets.ErrorHandler</code> service to which handling of uncaught <code>Throwable</code> and HTTP status responses are delegated.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Engine includes support for handling uncaught <code>Throwable</code> as well as rendering custom HTTP status code pages. This is implemented by expecting a (single) <code>org.apache.sling.engine.servlets.ErrorHandler</code> service to which handling of uncaught <code>Throwable</code> and HTTP status responses are delegated.</p>
 <p>The Sling Servlet Resolver bundle implements this interface by providing an elaborate mechanism to find the correct error handling script or servlet using the same algorithms as are used to select the scripts or servlets to handle regular requests.</p>
 <p>This page provides more information on how error handler scripts are selected and what is provided out of the box.</p>
 <p>The <a href="https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/resolver/errorhandler/ErrorHandlingTest.java">ErrorHandlingTest</a> in our integration tests suite provides working examples of various error handling scenarios.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/featureflags.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/featureflags.html b/documentation/the-sling-engine/featureflags.html
index 0ad95f3..e39a7bf 100644
--- a/documentation/the-sling-engine/featureflags.html
+++ b/documentation/the-sling-engine/featureflags.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Feature Flags
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Feature Flags are used to select whether a particular feature is enabled or not. This allows to continuosly deploy new features of an application without making them globally available yet.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Feature Flags are used to select whether a particular feature is enabled or not. This allows to continuosly deploy new features of an application without making them globally available yet.</p>
 <p>Features may be enabled based on various contextual data:</p>
 <ul>
   <li>Time of Day</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/filters.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/filters.html b/documentation/the-sling-engine/filters.html
index ee9b4e3..90e893d 100644
--- a/documentation/the-sling-engine/filters.html
+++ b/documentation/the-sling-engine/filters.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Servlet Filter Support
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling supports filter processing by applying filter chains to the requests before actually dispatching to the servlet or script for processing. Filters to be used in such filter processing are plain OSGi services of type <code>javax.servlet.Filter</code> which of course means that the services implement this interface.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling supports filter processing by applying filter chains to the requests before actually dispatching to the servlet or script for processing. Filters to be used in such filter processing are plain OSGi services of type <code>javax.servlet.Filter</code> which of course means that the services implement this interface.</p>
 <div class="note">
 See <a href="https://issues.apache.org/jira/browse/SLING-1213">SLING-1213</a>,
 <a href="https://issues.apache.org/jira/browse/SLING-1734">SLING-1734</a>, and

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/mappings-for-resource-resolution.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/mappings-for-resource-resolution.html b/documentation/the-sling-engine/mappings-for-resource-resolution.html
index f6cccfc..7a20f9a 100644
--- a/documentation/the-sling-engine/mappings-for-resource-resolution.html
+++ b/documentation/the-sling-engine/mappings-for-resource-resolution.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Mappings for Resource Resolution
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#configuration" name="configuration">Configuration</a></h2>
 <h3><a href="#properties" name="properties">Properties</a></h3>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/request-listeners.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/request-listeners.html b/documentation/the-sling-engine/request-listeners.html
index 7b897d3..5004631 100644
--- a/documentation/the-sling-engine/request-listeners.html
+++ b/documentation/the-sling-engine/request-listeners.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Request Listeners
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides the possibility to "listen" to a request processed by the Sling Engine (<code>SlingMainServlet</code>). To get notified you implement the service interface <code>org.apache.sling.api.request.SlingRequestListener</code>.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling provides the possibility to "listen" to a request processed by the Sling Engine (<code>SlingMainServlet</code>). To get notified you implement the service interface <code>org.apache.sling.api.request.SlingRequestListener</code>.</p>
 <pre><code><!-- TODO syntax marker (#!java) disabled -->public interface SlingRequestListener {
 
     static final String SERVICE_NAME = &quot;org.apache.sling.api.request.SlingRequestListener&quot;;    

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/request-parameters.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/request-parameters.html b/documentation/the-sling-engine/request-parameters.html
index 1863eb8..327dde2 100644
--- a/documentation/the-sling-engine/request-parameters.html
+++ b/documentation/the-sling-engine/request-parameters.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Request Parameter Handling in Sling
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#servlet-api" name="servlet-api">Servlet API</a></h2>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#servlet-api" name="servlet-api">Servlet API</a></h2>
 <p>The Servlet API specification provides the following methods to access the parameters of a request</p>
 <table>
   <thead>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/resources.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/resources.html b/documentation/the-sling-engine/resources.html
index 541f613..351a276 100644
--- a/documentation/the-sling-engine/resources.html
+++ b/documentation/the-sling-engine/resources.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Resources
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#what-is-a-resource" name="what-is-a-resource">What is a Resource</a></h2>
 <p>The Resource is one of the central parts of Sling. Extending from JCR's <em>Everything is Content</em>, Sling assumes <em>Everthing is a Resource</em>. Thus Sling is maintaining a virtual tree of resources, which is a merger of the actual contents in the JCR Repository and resources provided by so called resource providers. By doing this Sling fits very well in the paradigma of the REST architecture.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/service-authentication.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/service-authentication.html b/documentation/the-sling-engine/service-authentication.html
index 0de3fb2..6348be5 100644
--- a/documentation/the-sling-engine/service-authentication.html
+++ b/documentation/the-sling-engine/service-authentication.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Service Authentication
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#problem" name="problem">Problem</a></h2>
 <p>To access the data storage in the Resource Tree and/or the JCR Repository authentication is required to properly setup access control and guard sensitive data from unauthorized access. For regular request processing this authentication step is handled by the Sling <a href="/documentation/the-sling-engine/authentication.html">Authentication</a> subsystem.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/servlets.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/servlets.html b/documentation/the-sling-engine/servlets.html
index d5ede4e..85303a6 100644
--- a/documentation/the-sling-engine/servlets.html
+++ b/documentation/the-sling-engine/servlets.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Servlets and Scripts
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <p>See also <a href="/documentation/the-sling-engine/url-to-script-resolution.html">URL to Script Resolution</a> which explains how Sling maps URLs to a script or and servlet.</p>
 <h2><a href="#servlet-registration" name="servlet-registration">Servlet Registration</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/sling-api-crud-support.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/sling-api-crud-support.html b/documentation/the-sling-engine/sling-api-crud-support.html
index 212056c..ed05764 100644
--- a/documentation/the-sling-engine/sling-api-crud-support.html
+++ b/documentation/the-sling-engine/sling-api-crud-support.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Sling API CRUD Support
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#apache-sling-api-support" name="apache-sling-api-support">Apache Sling API Support</a></h2>
 <p>As of version 2.3.0, the Sling API provides full Create Read Update Delete (CRUD) features. CRUD support is provided by the addition of the following methods to the ResourceResolver:</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/sling-properties.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/sling-properties.html b/documentation/the-sling-engine/sling-properties.html
index 1d8dc21..b2dbd00 100644
--- a/documentation/the-sling-engine/sling-properties.html
+++ b/documentation/the-sling-engine/sling-properties.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Well-known Sling Properties
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>This table lists properties which have known functionality in the OSGi and Sling frameworks.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This table lists properties which have known functionality in the OSGi and Sling frameworks.</p>
 <p>With the exception of the Sling setup properties (<code>sling.home</code>, <code>sling.launchpad</code>, and <code>sling.properties</code>) all properties can be set on the command line using the <code>-D</code> command line option or in the <code>sling.properties</code> file. Properties defined on the command line or in the <code>web.xml</code> file always overwrite properties in the <code>sling.properties</code> file.</p>
 <p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/the-sling-launchpad.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/the-sling-launchpad.html b/documentation/the-sling-engine/the-sling-launchpad.html
index b8785f2..7e4458f 100644
--- a/documentation/the-sling-engine/the-sling-launchpad.html
+++ b/documentation/the-sling-engine/the-sling-launchpad.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 The Sling Launchpad
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <p>This tries to explain how exactly the Sling Launchpad works, what constitutes the Sling Launchpad and how you can use the Sling Launchpad to custom create you Sling launchers. For a view behind the scenes of the Sling Launchpad Base module (the actual launcher) you might want to refer to the <a href="/documentation/development/embedding-sling.html">Embedding Sling</a> page.</p>
 <h2><a href="#sling-home" name="sling-home">Sling Home</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/url-decomposition.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/url-decomposition.html b/documentation/the-sling-engine/url-decomposition.html
index 4d28008..9731a53 100644
--- a/documentation/the-sling-engine/url-decomposition.html
+++ b/documentation/the-sling-engine/url-decomposition.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 URL decomposition
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h1><a href="#overview" name="overview">Overview</a></h1>
 <p>During the <em>Resource Resolution</em> step, the client request URI (as being returned by [HttpServletRequest.getRequestURI()](http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getRequestURI())) is decomposed into the following parts (in exactly this order):</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/url-to-script-resolution.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/url-to-script-resolution.html b/documentation/the-sling-engine/url-to-script-resolution.html
index 3ea77b1..2f25c3f 100644
--- a/documentation/the-sling-engine/url-to-script-resolution.html
+++ b/documentation/the-sling-engine/url-to-script-resolution.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 URL to Script Resolution
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <p>This page explains how Sling maps URLs to a script or and servlet. </p>
 <p>See also <a href="/documentation/the-sling-engine/servlets.html">Servlets and Scripts</a> which provides detailed info about how to register servlets.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/the-sling-engine/wrap-or-decorate-resources.html
----------------------------------------------------------------------
diff --git a/documentation/the-sling-engine/wrap-or-decorate-resources.html b/documentation/the-sling-engine/wrap-or-decorate-resources.html
index d1e7038..73db373 100644
--- a/documentation/the-sling-engine/wrap-or-decorate-resources.html
+++ b/documentation/the-sling-engine/wrap-or-decorate-resources.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/the-sling-engine.html">The Sling Engine</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Wrap or Decorate Resources
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#introduction" name="introduction">Introduction</a></h2>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h2><a href="#introduction" name="introduction">Introduction</a></h2>
 <p>The Sling API provides an easy way to wrap or decorate a resource before returning. Use cases for this could for example be * overwrite resource type/resource super type (for example based on the resource path) * add metadata</p>
 <p>## </p>
 <p>To add a resource decorator just register one or more services which implement the interface <code>ResourceDecorator</code></p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos.html b/documentation/tutorials-how-tos.html
index 317a47c..0168ced 100644
--- a/documentation/tutorials-how-tos.html
+++ b/documentation/tutorials-how-tos.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Tutorials &amp; How-Tos
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><ul>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><ul>
   <li><a href="tutorials-how-tos/46-line-blog.html">46 Line Blog</a></li>
   <li><a href="tutorials-how-tos/getting-resources-and-properties-in-sling.html">Getting Resources and Properties in Sling</a></li>
   <li><a href="tutorials-how-tos/how-to-manage-events-in-sling.html">How to Manage Jobs in Sling</a></li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/46-line-blog.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/46-line-blog.html b/documentation/tutorials-how-tos/46-line-blog.html
index f95c89c..87b8b69 100644
--- a/documentation/tutorials-how-tos/46-line-blog.html
+++ b/documentation/tutorials-how-tos/46-line-blog.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 46 Line Blog
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>This tutorial is based on the first <em>Sling Gems</em> on dev.day.com: The <a href="http://dev.day.com/microsling/content/blogs/main/sling-46-lines-blog.html">Sling gems: a blog in 46 lines of code</a>. It has slightly been adapted to fit here.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This tutorial is based on the first <em>Sling Gems</em> on dev.day.com: The <a href="http://dev.day.com/microsling/content/blogs/main/sling-46-lines-blog.html">Sling gems: a blog in 46 lines of code</a>. It has slightly been adapted to fit here.</p>
 <p>In this tutorial, the SlingPostServlet and the sling.js library are brought together using 46 (no kidding: <em>fourty-six</em>) lines of code to create a simple blog (or let's say <em>bloggish</em>) application.</p>
 <p>I used this example in my <a href="http://www.slideshare.net/bdelacretaz/rapid-jcr-applications-development-with-sling-1196003">Rapid JCR application development with Apache Sling</a> presentation at ApacheCon US 09 in Oakland (slides will be available soon), and I think it's a good testimony to the power and simplicity of Sling.</p>
 <h2><a href="#audience" name="audience">Audience</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
index 675d2b6..177a183 100644
--- a/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
+++ b/documentation/tutorials-how-tos/getting-resources-and-properties-in-sling.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Getting Resources and Properties in Sling
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Resource is one of the central parts of Sling. Extending from JCR's Everything is Content, Sling assumes Everthing is a Resource. Thus Sling is maintaining a virtual tree of resources, which is a merger of the actual contents in the JCR Repository and resources provided by so called resource providers. By doing this Sling fits very well in the paradigm of the REST architecture.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Resource is one of the central parts of Sling. Extending from JCR's Everything is Content, Sling assumes Everthing is a Resource. Thus Sling is maintaining a virtual tree of resources, which is a merger of the actual contents in the JCR Repository and resources provided by so called resource providers. By doing this Sling fits very well in the paradigm of the REST architecture.</p>
 <p>In this article we will explore a few ways to programmatically map a resource path (String) to a resource object (Resource) and its properties in Sling, from within an OSGI service, a servlet and a JSP.</p>
 <p>The whole game consists in first getting a <code>ResourceResolver</code> and then getting the <code>Resource</code> itself.</p>
 <h2><a href="#within-an-osgi-service-compoment" name="within-an-osgi-service-compoment">Within an OSGI Service/Compoment</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html b/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html
index 67c995c..e603df9 100644
--- a/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html
+++ b/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 How to Manage Jobs in Sling
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling supports the execution of jobs with the guarantee of processing the job at least once. This can be seen as an extensions of the OSGi event admin, although jobs are not started or processed by OSGi events leveraging the OSGi event admin.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Apache Sling supports the execution of jobs with the guarantee of processing the job at least once. This can be seen as an extensions of the OSGi event admin, although jobs are not started or processed by OSGi events leveraging the OSGi event admin.</p>
 <p>For more details please refer to the following resources:</p>
 <ul>
   <li><a href="/documentation/bundles/apache-sling-eventing-and-job-handling.html">Eventing and Job Handling</a> to get detailed information on the eventing mechanisms in Sling.</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html b/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
index 0ec08ad..cb069f6 100644
--- a/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
+++ b/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Installing and Upgrading Bundles
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><div class="note">
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><div class="note">
 We recommend to use the Apache Felix Web Console. The documentation below describes the old Sling Management Console, which isn't in use any more. Please refer to the documentation of the <a href="http://felix.apache.org/site/apache-felix-web-console.html">Apache Felix Web Console</a>.
 </div>
 <p>OSGi bundles installed in the OSGi framework, which is provided by Sling, may be upgraded or removed and new bundles may be installed by using the Sling Management Console. This page is about using the Sling Management Console for those tasks.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/jackrabbit-persistence.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/jackrabbit-persistence.html b/documentation/tutorials-how-tos/jackrabbit-persistence.html
index 7d59322..1e4f96e 100644
--- a/documentation/tutorials-how-tos/jackrabbit-persistence.html
+++ b/documentation/tutorials-how-tos/jackrabbit-persistence.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Jackrabbit Persistence
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Out-of-the-box the embedded Jackrabbit repository used by Sling (the Embedded Jackrabbit Repository bundle) uses Derby to persist the JCR nodes and properties. For some applications or environments it may be required or required to replace Derby with another backing store such as PostgreSQL or Oracle.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Out-of-the-box the embedded Jackrabbit repository used by Sling (the Embedded Jackrabbit Repository bundle) uses Derby to persist the JCR nodes and properties. For some applications or environments it may be required or required to replace Derby with another backing store such as PostgreSQL or Oracle.</p>
 <p>This page is based on the journey of Tony Giaccone to get Sling running with a PostgreSQL based Jackrabbit instance.</p>
 <h2><a href="#management-summary" name="management-summary">Management Summary</a></h2>
 <p>To replace Derby as the persistence manager for Jackrabbit the following steps are required:</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/tutorials-how-tos/testing-sling-based-applications.html
----------------------------------------------------------------------
diff --git a/documentation/tutorials-how-tos/testing-sling-based-applications.html b/documentation/tutorials-how-tos/testing-sling-based-applications.html
index 3ba4016..054647a 100644
--- a/documentation/tutorials-how-tos/testing-sling-based-applications.html
+++ b/documentation/tutorials-how-tos/testing-sling-based-applications.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation.html">Documentation</a>&nbsp;&raquo;&nbsp;<a href="/ng/documentation/tutorials-how-tos.html">Tutorials &amp; How-Tos</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Testing Sling-based applications
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Automated testing of OSGi components and services can be challenging, as many of them depend on other services that must be present or simulated for testing.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Automated testing of OSGi components and services can be challenging, as many of them depend on other services that must be present or simulated for testing.</p>
 <p>This page describes the various approaches that we use to test Sling itself, and introduces a number of tools that can help testing OSGi and HTTP-based applications.</p>
 <p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/downloads.html
----------------------------------------------------------------------
diff --git a/downloads.html b/downloads.html
index ec95f4d..108b4cf 100644
--- a/downloads.html
+++ b/downloads.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
             <breadcrumbs/><h1>
                 Downloads
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><header><h1>Downloads</h1></header><p>To get the latest development release of Apache Sling, you can check out the Source Code and Getting and Building Sling yourself. Otherwise, the releases below are available for download. To install, just download and extract. The PGP keys at <a href="https://people.apache.org/keys/group/sling.asc">https://people.apache.org/keys/group/sling.asc</a> can be used to verify the integrity of the release archives.</p>
+            </h1><tableOfContents/><div class="row"><div class="small-12 columns"><section class="wrap"><header><h1>Downloads</h1></header><p>To get the latest development release of Apache Sling, you can check out the Source Code and Getting and Building Sling yourself. Otherwise, the releases below are available for download. To install, just download and extract. The PGP keys at <a href="https://people.apache.org/keys/group/sling.asc">https://people.apache.org/keys/group/sling.asc</a> can be used to verify the integrity of the release archives.</p>
 <p>All Apache Sling products are distributed under the terms of The Apache Software License (version 2.0). See our license, or the LICENSE file included in each distribution. </p>
 <p>TODO ToC ??</p>
 <h1><a href="#mirrors" name="mirrors">Mirrors</a></h1>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 6fe4102..d8d884c 100644
--- a/feed.xml
+++ b/feed.xml
@@ -4,7 +4,7 @@
     <link href="http://sling.apache.org/ng/"/>
     <link rel="self" type="application/atom+xml" href="http://sling.apache.org/ng/feed.xml"/>
     <subtitle>Work in progress...</subtitle>
-    <updated>2017-09-26T17:14:11Z</updated>
+    <updated>2017-09-27T14:23:04Z</updated>
     <id>tag:localhost,2017:09</id>
     
 </feed>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/guides.html
----------------------------------------------------------------------
diff --git a/guides.html b/guides.html
index bcc0eb2..1b7ccf5 100644
--- a/guides.html
+++ b/guides.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Guides (retired)
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page used to contain a list of mostly obsolete links, it has been retired in June 2017.</p></section></div></div>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page used to contain a list of mostly obsolete links, it has been retired in June 2017.</p></section></div></div>
 <div class="footer">
                 <div class="trademarkFooter">
                     Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 96fc308..d364f73 100644
--- a/index.html
+++ b/index.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Apache Sling - Bringing Back the Fun!
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><strong>Apache Sling&trade;</strong> is an innovative web framework that is intended to bring back the fun to web development.</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><strong>Apache Sling&trade;</strong> is an innovative web framework that is intended to bring back the fun to web development.</p>
 <p>Discussions about Sling happen on our mailing lists, see the <a href="/project-information.html">Project Information</a>  page for more info.</p>
 <h1><a href="#apache-sling-in-five-bullets-points" name="apache-sling-in-five-bullets-points">Apache Sling in five bullets points</a></h1>
 <ul>
@@ -117,7 +117,7 @@
 <p>Sling is implemented as a series of <a href="http://www.osgi.org">OSGi</a>  Bundles and makes extensive use of the OSGi functionality, such as lifecycle management and the service layer. In addition, Sling requires several OSGi compendium services to be available, such as the Log Service, Http Service, Configuration Admin Service, Metatype Service, and Declarative Services.</p>
 <h4><a href="#apache-felix" name="apache-felix">Apache Felix</a></h4>
 <p>While Sling does not require a specific OSGi framework implementation to run in, Sling is being developed using <a href="http://felix.apache.org">Apache Felix</a>  as the OSGi framework implementation. It has not been tested yet, but it is expected that Sling also operates perfectly inside other OSGi frameworks such as <a href="http://www.eclipse.org/equinox">Equinox</a> and <a href="http://www.knopflerfish.org">Knopflerfish</a>.</p>
-<script src="/res/jquery.js" type="text/javascript"></script>
+<script src="/res/jquery-3.2.1.min.js" type="text/javascript"></script>
 <script type="text/javascript">
         $(document).ready(function() {
             $.get("/news.html", function(news) {

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/javadoc-io.html
----------------------------------------------------------------------
diff --git a/javadoc-io.html b/javadoc-io.html
index aae8f37..aa25dfb 100644
--- a/javadoc-io.html
+++ b/javadoc-io.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Sling API docs at javadoc.io
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p><a href="http://www.javadoc.io/">javadocs.io</a> provides archived javadocs for all Sling modules (and actually for all open source software hosted at Maven Central).</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><a href="http://www.javadoc.io/">javadocs.io</a> provides archived javadocs for all Sling modules (and actually for all open source software hosted at Maven Central).</p>
 <p>To get the javadocs of a particular module use an URL like <code>http://javadoc.io/doc/{org}/{artifact}/{version}</code>, like for example <a href="http://www.javadoc.io/doc/org.apache.sling/org.apache.sling.api/2.9.0">http://www.javadoc.io/doc/org.apache.sling/org.apache.sling.api/2.9.0</a></p></section></div></div>
 <div class="footer">
                 <div class="trademarkFooter">

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/links.html
----------------------------------------------------------------------
diff --git a/links.html b/links.html
index f43a55a..305593f 100644
--- a/links.html
+++ b/links.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Links
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>Here are some links to other resources</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Here are some links to other resources</p>
 <h2><a href="#articles" name="articles">Articles</a></h2>
 <ul>
   <li><a href="http://java.dzone.com/articles/java-content-repository-best">Java Content Repository: The Best Of Both Worlds</a> - by Bertrand Delacretaz on Javalobby - uses the Sling HTTP interface to demonstrate JCR features.</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/media.html
----------------------------------------------------------------------
diff --git a/media.html b/media.html
index 714238d..b6d9b4b 100644
--- a/media.html
+++ b/media.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Media
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page holds all media required for the Apache Sling website. The media are attachments and can be addressed using the following URL: http://cwiki.apache.org/SLINGxSITE/media.data/ (followed by the actual name of the attachment).</p>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This page holds all media required for the Apache Sling website. The media are attachments and can be addressed using the following URL: http://cwiki.apache.org/SLINGxSITE/media.data/ (followed by the actual name of the attachment).</p>
 <p>Currently, some of these attachments are used by the overall site template (only visible/editable by Confluence administrators).</p>
 <p>{attachments}</p></section></div></div>
 <div class="footer">

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/news.html
----------------------------------------------------------------------
diff --git a/news.html b/news.html
index 485763b..9d19382 100644
--- a/news.html
+++ b/news.html
@@ -20,7 +20,7 @@
                     <img border="0" alt="Apache" src="/ng/res/logos/apache.png"/>
                 </a>
             </div>
-        </div><h1 class="draft">DRAFT 2017 WEBSITE - SLING-6955</h1><div class="menu">
+        </div><div class="draft">DRAFT 2017 WEBSITE - SLING-6955</div><div class="menu">
             <p>
                 <strong><a href="/ng/documentation.html">Documentation</a></strong><br/>
                 <a href="/ng/documentation/getting-started.html">Getting Started</a><br/>
@@ -72,7 +72,7 @@
         </div>        <div class="main">
 <div class="breadcrumbs"><a href="/ng/">Home</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 News
-            </h1><div class="row"><div class="small-12 columns"><section class="wrap"><ul>
+            </h1><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><ul>
   <li>New Release: Apache Sling Pipes 1.1.0 (September 24th, 2017)</li>
   <li>New Release: Apache Sling Maven Sling Plugin 2.3.2 (September 23th, 2017)</li>
   <li>New Release: Apache Sling Repoinit JCR version 1.1.6, Apache Sling Repoinit Parser version 1.2.0 (September 22th, 2017)</li>