Activate ToC generation using toc.js

Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/d1705814
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/d1705814
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/d1705814

Branch: refs/heads/asf-site
Commit: d17058147172ed09f0a5f7dcc21d4ff4a6512967
Parents: cefb42f
Author: Bertrand Delacretaz <[email protected]>
Authored: Wed Sep 27 14:24:31 2017 +0200
Committer: Bertrand Delacretaz <[email protected]>
Committed: Wed Sep 27 14:24:31 2017 +0200

----------------------------------------------------------------------
 archive.html                                            |  4 ++--
 contributing.html                                       |  4 ++--
 documentation.html                                      |  4 ++--
 documentation/bundles.html                              |  4 ++--
 ...sing-filesystem-resources-extensions-fsresource.html |  4 ++--
 .../bundles/apache-sling-commons-thread-pool.html       |  4 ++--
 .../bundles/apache-sling-eventing-and-job-handling.html |  4 ++--
 .../bundle-resources-extensions-bundleresource.html     |  4 ++--
 documentation/bundles/caching-services.html             |  4 ++--
 documentation/bundles/commons-html-utilities.html       |  4 ++--
 .../bundles/configuration-installer-factory.html        |  4 ++--
 documentation/bundles/content-distribution.html         |  4 ++--
 .../bundles/content-loading-jcr-contentloader.html      |  4 ++--
 ...text-aware-configuration-default-implementation.html |  4 ++--
 .../context-aware-configuration-override.html           |  4 ++--
 .../context-aware-configuration-spi.html                |  4 ++--
 .../context-aware-configuration.html                    |  4 ++--
 documentation/bundles/datasource-providers.html         |  4 ++--
 documentation/bundles/discovery-api-and-impl.html       |  4 ++--
 documentation/bundles/dynamic-includes.html             |  4 ++--
 documentation/bundles/file-installer-provider.html      |  4 ++--
 .../bundles/internationalization-support-i18n.html      |  4 ++--
 documentation/bundles/jcr-installer-provider.html       |  4 ++--
 documentation/bundles/log-tracers.html                  |  4 ++--
 .../managing-permissions-jackrabbit-accessmanager.html  |  4 ++--
 ...anaging-users-and-groups-jackrabbit-usermanager.html |  4 ++--
 ...ting-content-the-slingpostservlet-servlets-post.html |  4 ++--
 documentation/bundles/metrics.html                      |  4 ++--
 .../bundles/mime-type-support-commons-mime.html         |  4 ++--
 documentation/bundles/models.html                       |  4 ++--
 documentation/bundles/nosql-resource-providers.html     |  4 ++--
 .../bundles/org-apache-sling-junit-bundles.html         |  4 ++--
 documentation/bundles/osgi-installer.html               |  4 ++--
 ...t-rewriting-pipelines-org-apache-sling-rewriter.html |  4 ++--
 .../bundles/rendering-content-default-get-servlets.html |  4 ++--
 documentation/bundles/repository-initialization.html    |  4 ++--
 documentation/bundles/request-analysis.html             |  4 ++--
 documentation/bundles/resource-access-security.html     |  4 ++--
 documentation/bundles/resource-editor.html              |  4 ++--
 documentation/bundles/resource-merger.html              |  4 ++--
 .../bundles/scheduler-service-commons-scheduler.html    |  4 ++--
 documentation/bundles/scripting.html                    |  4 ++--
 documentation/bundles/scripting/scripting-htl.html      |  4 ++--
 documentation/bundles/scripting/scripting-jsp.html      |  4 ++--
 .../bundles/scripting/scripting-thymeleaf.html          |  4 ++--
 documentation/bundles/servlet-helpers.html              |  4 ++--
 documentation/bundles/sling-health-check-tool.html      |  4 ++--
 documentation/bundles/sling-oak-restrictions.html       |  4 ++--
 documentation/bundles/sling-pipes.html                  |  4 ++--
 documentation/bundles/sling-query.html                  |  4 ++--
 documentation/bundles/sling-query/basic-ideas.html      |  4 ++--
 documentation/bundles/sling-query/examples.html         |  4 ++--
 .../bundles/sling-query/hierarchy-operators.html        |  4 ++--
 documentation/bundles/sling-query/methods.html          |  4 ++--
 documentation/bundles/sling-query/modifiers.html        |  4 ++--
 documentation/bundles/sling-query/operators.html        |  4 ++--
 documentation/bundles/sling-query/selectors.html        |  4 ++--
 documentation/bundles/sling-query/vs-jcr.html           |  4 ++--
 .../sling-settings-org-apache-sling-settings.html       |  4 ++--
 documentation/bundles/subsystem-installer-factory.html  |  4 ++--
 documentation/bundles/validation.html                   |  4 ++--
 documentation/bundles/web-console-extensions.html       |  4 ++--
 documentation/bundles/xml-support.html                  |  4 ++--
 documentation/configuration.html                        |  4 ++--
 documentation/development.html                          |  4 ++--
 documentation/development/client-request-logging.html   |  4 ++--
 documentation/development/dependency-management.html    |  4 ++--
 documentation/development/embedding-sling.html          |  4 ++--
 .../development/getting-and-building-sling.html         |  4 ++--
 documentation/development/hamcrest.html                 |  4 ++--
 documentation/development/htl-maven-plugin.html         |  4 ++--
 documentation/development/ide-tooling.html              |  4 ++--
 .../ide-tooling/ide-tooling-incremental-build.html      |  4 ++--
 documentation/development/issue-tracker.html            |  4 ++--
 documentation/development/jcr-mock.html                 |  4 ++--
 documentation/development/jspc.html                     |  4 ++--
 documentation/development/jsr-305.html                  |  4 ++--
 documentation/development/logging.html                  |  4 ++--
 documentation/development/maven-archetypes.html         |  4 ++--
 documentation/development/maven-launchpad-plugin.html   |  4 ++--
 documentation/development/maven-usage.html              |  4 ++--
 documentation/development/maventipsandtricks.html       |  4 ++--
 documentation/development/monitoring-requests.html      |  4 ++--
 documentation/development/osgi-mock.html                |  4 ++--
 documentation/development/release-management.html       |  4 ++--
 .../development/repository-based-development.html       |  4 ++--
 documentation/development/resourceresolver-mock.html    |  4 ++--
 documentation/development/sling-mock.html               |  4 ++--
 documentation/development/sling-testing-tools.html      |  4 ++--
 documentation/development/sling.html                    |  4 ++--
 documentation/development/slingstart.html               |  4 ++--
 documentation/development/version-policy.html           |  4 ++--
 documentation/getting-started.html                      |  4 ++--
 .../getting-started/discover-sling-in-15-minutes.html   |  4 ++--
 documentation/legacy/logging.html                       |  4 ++--
 documentation/pax-exam-utils.html                       |  4 ++--
 documentation/the-sling-engine.html                     |  4 ++--
 documentation/the-sling-engine/adapters.html            |  4 ++--
 documentation/the-sling-engine/architecture.html        |  4 ++--
 documentation/the-sling-engine/authentication.html      |  4 ++--
 .../authentication/authentication-actors.html           |  4 ++--
 .../authentication-authenticationhandler.html           |  4 ++--
 .../form-based-authenticationhandler.html               |  4 ++--
 .../openid-authenticationhandler.html                   |  4 ++--
 .../authentication/authentication-framework.html        |  4 ++--
 .../authentication/authentication-tasks.html            |  4 ++--
 .../the-sling-engine/default-mapping-and-rendering.html |  4 ++--
 .../the-sling-engine/dispatching-requests.html          |  4 ++--
 documentation/the-sling-engine/errorhandling.html       |  4 ++--
 documentation/the-sling-engine/featureflags.html        |  4 ++--
 documentation/the-sling-engine/filters.html             |  4 ++--
 .../mappings-for-resource-resolution.html               |  4 ++--
 documentation/the-sling-engine/request-listeners.html   |  4 ++--
 documentation/the-sling-engine/request-parameters.html  |  4 ++--
 documentation/the-sling-engine/resources.html           |  4 ++--
 .../the-sling-engine/service-authentication.html        |  4 ++--
 documentation/the-sling-engine/servlets.html            |  4 ++--
 .../the-sling-engine/sling-api-crud-support.html        |  4 ++--
 documentation/the-sling-engine/sling-properties.html    |  4 ++--
 documentation/the-sling-engine/the-sling-launchpad.html |  4 ++--
 documentation/the-sling-engine/url-decomposition.html   |  4 ++--
 .../the-sling-engine/url-to-script-resolution.html      |  4 ++--
 .../the-sling-engine/wrap-or-decorate-resources.html    |  4 ++--
 documentation/tutorials-how-tos.html                    |  4 ++--
 documentation/tutorials-how-tos/46-line-blog.html       |  4 ++--
 .../getting-resources-and-properties-in-sling.html      |  4 ++--
 .../how-to-manage-events-in-sling.html                  |  4 ++--
 .../installing-and-upgrading-bundles.html               |  4 ++--
 .../tutorials-how-tos/jackrabbit-persistence.html       |  4 ++--
 .../testing-sling-based-applications.html               |  4 ++--
 downloads.html                                          |  4 ++--
 feed.xml                                                |  2 +-
 guides.html                                             |  4 ++--
 index.html                                              |  6 +++---
 javadoc-io.html                                         |  4 ++--
 links.html                                              |  4 ++--
 media.html                                              |  4 ++--
 news.html                                               |  4 ++--
 news/sling-ide-tooling-11-released.html                 |  4 ++--
 news/sling-launchpad-8-released.html                    |  4 ++--
 news/sling-launchpad-9-released.html                    |  4 ++--
 old-stuff.html                                          |  4 ++--
 old-stuff/assembly.html                                 |  4 ++--
 old-stuff/launch-sling.html                             |  4 ++--
 old-stuff/request-processing.html                       |  4 ++--
 old-stuff/run-modes-org-apache-sling-runmode.html       |  4 ++--
 old-stuff/scriptengineintegration.html                  |  4 ++--
 old-stuff/scriptengineintegration/groovy-support.html   |  4 ++--
 .../xslt-processing-pipeline.html                       |  4 ++--
 old-stuff/servlet-resolution.html                       |  4 ++--
 old-stuff/sling-api.html                                |  4 ++--
 project-information.html                                |  4 ++--
 .../apache-sling-community-roles-and-processes.html     |  4 ++--
 project-information/project-license.html                |  4 ++--
 project-information/project-team.html                   |  4 ++--
 project-information/security.html                       |  4 ++--
 res/css/site.css                                        |  7 +++++++
 res/jquery-3.2.1.min.js                                 |  4 ++++
 res/tocjs-1-1-2.js                                      | 11 +++++++++++
 site-conversion.html                                    |  4 ++--
 sitemap.html                                            | 12 ++++++------
 sitemap.xml                                             | 12 ++++++------
 162 files changed, 348 insertions(+), 326 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/archive.html
----------------------------------------------------------------------
diff --git a/archive.html b/archive.html
index 3fa3247..f766698 100644
--- a/archive.html
+++ b/archive.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>
                 null
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><h1>Blog Archive</h1>&lt;/ul&gt;</section></div></div>
+            </h1><tableOfContents/><div class="row"><div class="small-12 
columns"><section class="wrap"><h1>Blog 
Archive</h1>&lt;/ul&gt;</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/contributing.html
----------------------------------------------------------------------
diff --git a/contributing.html b/contributing.html
index 66b7c8c..63014da 100644
--- a/contributing.html
+++ b/contributing.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>
                 Contributing
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>See <a href="/project-information.html">Project Information</a> 
for details about the tools mentioned below.</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>See <a 
href="/project-information.html">Project Information</a> for details about the 
tools mentioned below.</p>
 <p>Apache Sling is a volunteer effort, so there is always plenty of work that 
needs to be accomplished. If you want to help support Sling, this page is 
intended as a starting point for specific contribution ideas. To further 
understand how the Sling community operates, refer to the Community Roles and 
Processes document and/or join the mailing lists.</p>
 <p>The Sling project organizes its "to do" list using the JIRA issue tracking 
system. Specific items from Sling's JIRA issue tracking system are highlighted 
on this page, but are not limited to it. The purpose of the list here is to 
highlight issues that are either more important or serve as good entry points 
for new contributors.</p>
 <p>It is important to point out that you do not need to be a programmer to 
contribute to Sling. As such, we will break out the list of issues below for 
non-programmers and programmers.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation.html
----------------------------------------------------------------------
diff --git a/documentation.html b/documentation.html
index faad9c5..71f98eb 100644
--- a/documentation.html
+++ b/documentation.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>
                 Documentation
-            </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>The documentation is split into different parts:</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles.html
----------------------------------------------------------------------
diff --git a/documentation/bundles.html b/documentation/bundles.html
index 70f9510..e900ce6 100644
--- a/documentation/bundles.html
+++ b/documentation/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;</div>        
    <h1>
                 Bundles
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><h2><a href="#content" name="content">Content</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="#content" name="content">Content</a></h2>
 <ul>
   <li><a 
href="/documentation/bundles/content-loading-jcr-contentloader.html">Content 
Loading (jcr.contentloader)</a></li>
   <li><a 
href="/documentation/bundles/internationalization-support-i18n.html">Internationalization
 Support (i18n)</a></li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/accessing-filesystem-resources-extensions-fsresource.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/accessing-filesystem-resources-extensions-fsresource.html
 
b/documentation/bundles/accessing-filesystem-resources-extensions-fsresource.html
index 5ad5fde..8a0c686 100644
--- 
a/documentation/bundles/accessing-filesystem-resources-extensions-fsresource.html
+++ 
b/documentation/bundles/accessing-filesystem-resources-extensions-fsresource.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Accessing File System Resources (org.apache.sling.fsresource)
-            </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="#introduction" name="introduction">Introduction</a></h2>
 <p>The Apache Sling File System Resource Provider provides access to the 
operating system's file system through the Sling <code>ResourceResolver</code>. 
Multiple locations may be mapped into the resource tree by configuring the file 
system location and the resource tree root path for each location to be mapped. 
The provider supports mapping folders and files as binaries, and content 
structures stored in JSON files or FileVault XML format.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/apache-sling-commons-thread-pool.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/apache-sling-commons-thread-pool.html 
b/documentation/bundles/apache-sling-commons-thread-pool.html
index c9d49f6..f47ea15 100644
--- a/documentation/bundles/apache-sling-commons-thread-pool.html
+++ b/documentation/bundles/apache-sling-commons-thread-pool.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Apache Sling Commons Thread Pool
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The Apache Sling Commons Thread Pool bundle provides a thread 
pool services. All thread pools are managed by the 
<code>org.apache.sling.commons.threads.ThreadPoolManager</code>. This service 
can be used to get a thread pool.</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 Apache 
Sling Commons Thread Pool bundle provides a thread pool services. All thread 
pools are managed by the 
<code>org.apache.sling.commons.threads.ThreadPoolManager</code>. This service 
can be used to get a thread pool.</p>
 <p>Thread pools are managed by name - there is a default thread pool and 
custom thread pools can be generated on demand using a unique name.</p>
 <p>The thread pools are actually wrappers around the thread pool support 
(executer) from the Java library. The advantage of using this thread pool 
service is, that the pools can be configured and managed through OSGi 
configurations. In addition the bundle contains a plugin for the Apache Felix 
Web Console.</p>
 <p>When using the <code>ThreadPoolMananger</code> it is important to release a 
thread pool using the manager after it has been used.</p></section></div></div>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/apache-sling-eventing-and-job-handling.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/apache-sling-eventing-and-job-handling.html 
b/documentation/bundles/apache-sling-eventing-and-job-handling.html
index 58562e5..8751aa0 100644
--- a/documentation/bundles/apache-sling-eventing-and-job-handling.html
+++ b/documentation/bundles/apache-sling-eventing-and-job-handling.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Apache Sling Eventing and Job Handling
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><h2><a href="#overview" name="overview">Overview</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="#overview" name="overview">Overview</a></h2>
 <p>The Apache Sling Event Support bundle adds additional features to the OSGi 
Event Admin and for distributed event processing.</p>
 <p>The bundle provides the following features</p>
 <ul>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/bundle-resources-extensions-bundleresource.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/bundle-resources-extensions-bundleresource.html 
b/documentation/bundles/bundle-resources-extensions-bundleresource.html
index 23f4ed3..2003efc 100644
--- a/documentation/bundles/bundle-resources-extensions-bundleresource.html
+++ b/documentation/bundles/bundle-resources-extensions-bundleresource.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Bundle Resources (extensions.bundleresource)
-            </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="#introduction" name="introduction">Introduction</a></h2>
 <p>The Bundle Resource Provider provides access to files/directories included 
in an OSGi bundle through the Sling <code>ResourceResolver</code>. </p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/caching-services.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/caching-services.html 
b/documentation/bundles/caching-services.html
index e090b36..0361262 100644
--- a/documentation/bundles/caching-services.html
+++ b/documentation/bundles/caching-services.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Sling Caching Services
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Caching services are available as a contribution at <a 
href="https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/cache";>https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/cache</a></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>Caching 
services are available as a contribution at <a 
href="https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/cache";>https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/cache</a></p>
 <p>Both EhCache and Infinispan implementations are provided, with good unit 
and integration tests coverage.</p>
 <p>A portal cache provider API implementation is provided, that depends on the 
whiteboard portal modules found under <a 
href="https://svn.apache.org/repos/asf/sling/whiteboard/portal";>https://svn.apache.org/repos/asf/sling/whiteboard/portal</a></p></section></div></div>
 <div class="footer">

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/commons-html-utilities.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/commons-html-utilities.html 
b/documentation/bundles/commons-html-utilities.html
index bc506ea..19d61a8 100644
--- a/documentation/bundles/commons-html-utilities.html
+++ b/documentation/bundles/commons-html-utilities.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Commons HTML Utilities (org.apache.sling.commons.html)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The Apache Sling Commons HTML Utilities bundle provides an HTML 
parser which can be used to parse HTML and either generate a DOM or SAX events 
out of the HTML. Therefore the parser transforms the HTML into proper 
XHTML.</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>The Apache 
Sling Commons HTML Utilities bundle provides an HTML parser which can be used 
to parse HTML and either generate a DOM or SAX events out of the HTML. 
Therefore the parser transforms the HTML into proper 
XHTML.</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/bundles/configuration-installer-factory.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/configuration-installer-factory.html 
b/documentation/bundles/configuration-installer-factory.html
index ac1e2b0..b5ebf47 100644
--- a/documentation/bundles/configuration-installer-factory.html
+++ b/documentation/bundles/configuration-installer-factory.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Configuration Installer Factory
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The configuration installer factory provides support for 
configurations to the <a href="/documentation/bundles/osgi-installer.html">OSGI 
installer</a>. The provisioning of artifacts is handled by installer providers 
like the file installer or the JCR installer.</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 
configuration installer factory provides support for configurations to the <a 
href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The 
provisioning of artifacts is handled by installer providers like the file 
installer or the JCR installer.</p>
 <h2><a href="#configurations" name="configurations">Configurations</a></h2>
 <p>Configuration file names are related to the PID and factory PID. The 
structure of the file name is as follows:</p>
 <pre><code>filename ::= &lt;pid&gt; ( &#39;-&#39; &lt;subname&gt; )? 
(&#39;.cfg&#39;|&#39;.config&#39;)

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/content-distribution.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/content-distribution.html 
b/documentation/bundles/content-distribution.html
index 20d4041..d313f0a 100644
--- a/documentation/bundles/content-distribution.html
+++ b/documentation/bundles/content-distribution.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Content Distribution (org.apache.sling.distribution)
-            </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="#introduction" name="introduction">Introduction</a></h2>
 <p>The Sling Content Distribution (SCD) module allows one to distribute Sling 
resources between different Sling instances. The API works at path level and 
the distribution agents basically enable distribution of specific paths between 
instances. There are several main usecases in which SCD can help. Typically the 
distribution is done from one or more source instances to one or more target 
instances.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/content-loading-jcr-contentloader.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/content-loading-jcr-contentloader.html 
b/documentation/bundles/content-loading-jcr-contentloader.html
index a2169d0..3dbd784 100644
--- a/documentation/bundles/content-loading-jcr-contentloader.html
+++ b/documentation/bundles/content-loading-jcr-contentloader.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Content Loading and Nodetype Support (jcr.contentloader)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Apache Sling provides support for initial content loading into 
a repository and for registering node types. The 
<code>sling-jcr-contentloader</code> bundle provides loading of content from a 
bundle into the repository and the <code>sling-jcr-base</code> bundle provides 
node type registration.</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 
provides support for initial content loading into a repository and for 
registering node types. The <code>sling-jcr-contentloader</code> bundle 
provides loading of content from a bundle into the repository and the 
<code>sling-jcr-base</code> bundle provides node type registration.</p>
 <h2><a href="#initial-content-loading" name="initial-content-loading">Initial 
Content Loading</a></h2>
 <p>Bundles can provide initial content, which is loaded into the repository 
when the bundle has entered the <em>started</em> state. Such content is 
expected to be contained in the bundles accessible through the Bundle entry API 
methods. Content to be loaded is declared in the 
<code>Sling-Initial-Content</code> bundle manifest header. This header takes a 
comma-separated list of bundle entry paths. Each entry and all its child 
entries are accessed and entered into starting with the child entries of the 
listed entries.</p>
 <p>Adding this content preserves the paths of the entries as shown in this 
table, which assumes a <code>Sling-Initial-Content</code> header entry of 
<code>SLING-INF/content</code> (with no further directives):</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html
 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html
index bda8341..121ef80 100644
--- 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html
+++ 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;<a 
href="/ng/documentation/bundles/context-aware-configuration/context-aware-configuration.html">Apache
 Sling Context-Aware Configuration</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Apache Sling Context-Aware Configuration - Default 
Implementation
-            </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="#about" name="about">About</a></h1>
 <p>By default the 'default implementation' us used by the Context-Aware 
Configuration concerning lookup and persistence of configuration data, resource 
and property inheritance and context path detection. Using the <a 
href="http://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html";>SPI</a>
 it is possible to overlay, extend or replace this functionality.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html
 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html
index 5ca16c9..f0aeb1c 100644
--- 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html
+++ 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-override.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;<a 
href="/ng/documentation/bundles/context-aware-configuration/context-aware-configuration.html">Apache
 Sling Context-Aware Configuration</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Apache Sling Context-Aware Configuration - Override
-            </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="#about" name="about">About</a></h1>
 <p>Using overrides it is possible to override context-aware configuration 
values globally or for specific content paths (and their subtrees) within an 
instance. If an override is active the Configuration API returns the overridden 
values instead of the values from the configuration resources.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
index 56485b9..f385793 100644
--- 
a/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
+++ 
b/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;<a 
href="/ng/documentation/bundles/context-aware-configuration/context-aware-configuration.html">Apache
 Sling Context-Aware Configuration</a>&nbsp;&raquo;&nbsp;</div>            <h1>
                 Apache Sling Context-Aware Configuration - SPI
-            </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="#about" name="about">About</a></h1>
 <p>The Context-Aware Configuration implementation provides a set of Service 
Provider Interfaces (SPI) that allows you to overlay, enhance or replace the 
default implementation and adapt it to your needs.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/context-aware-configuration/context-aware-configuration.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/context-aware-configuration/context-aware-configuration.html
 
b/documentation/bundles/context-aware-configuration/context-aware-configuration.html
index 6567033..7f8027f 100644
--- 
a/documentation/bundles/context-aware-configuration/context-aware-configuration.html
+++ 
b/documentation/bundles/context-aware-configuration/context-aware-configuration.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Apache Sling Context-Aware Configuration
-            </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="#about" name="about">About</a></h1>
 <p>These bundles provide a service API that can be used to get context-aware 
configurations. Context-aware configurations are configurations that are 
related to a content resource or a resource tree, e.g. a web site or a tenant 
site.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/datasource-providers.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/datasource-providers.html 
b/documentation/bundles/datasource-providers.html
index a85a831..c9dd368 100644
--- a/documentation/bundles/datasource-providers.html
+++ b/documentation/bundles/datasource-providers.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 DataSource Provider
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>DataSource provider bundle supports creation of 
<code>DataSource</code> instance and registering them with the OSGi service 
registry. Application using the DataSource just obtains it from OSGi while an 
administrator can configure the DataSource via Felix WebConsole configuration 
UI.</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>DataSource 
provider bundle supports creation of <code>DataSource</code> instance and 
registering them with the OSGi service registry. Application using the 
DataSource just obtains it from OSGi while an administrator can configure the 
DataSource via Felix WebConsole configuration UI.</p>
 <p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#pooled-connection-datasource-provider" 
name="pooled-connection-datasource-provider">Pooled Connection DataSource 
Provider</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/discovery-api-and-impl.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/discovery-api-and-impl.html 
b/documentation/bundles/discovery-api-and-impl.html
index 2d4c272..ed30b63 100644
--- a/documentation/bundles/discovery-api-and-impl.html
+++ b/documentation/bundles/discovery-api-and-impl.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Discovery API and its implementations
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>In many situations a particular Sling-based deployment consists 
of several Sling instances: typically a number of instances would form a 
<code>cluster</code> that share a common content repository - in other 
situations, or additionally, instances might be loosely coupled, each with 
their own repository.</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>In many 
situations a particular Sling-based deployment consists of several Sling 
instances: typically a number of instances would form a <code>cluster</code> 
that share a common content repository - in other situations, or additionally, 
instances might be loosely coupled, each with their own repository.</p>
 <p>The <code>discovery-api</code> bundle introduces an abstraction for such 
scenarios called <code>topology</code>. It provides access to the current 
topology, allows to be informed of any changes in the topology (such as joining 
or leaving instances) and contains a simple property exchange mechanism, e.g. 
to allow building communication services on top of it.</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/bundles/dynamic-includes.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/dynamic-includes.html 
b/documentation/bundles/dynamic-includes.html
index 06486f4..91c2802 100644
--- a/documentation/bundles/dynamic-includes.html
+++ b/documentation/bundles/dynamic-includes.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Apache Sling Dynamic Include
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under 
one  or more contributor license agreements. See the NOTICE file  distributed 
with this work for additional information  regarding copyright ownership. The 
ASF licenses this file  to you under the Apache License, Version 2.0 (the  
"License"); you may not use this file except in compliance  with the License. 
You may obtain a copy of the License at  .  
http://www.apache.org/licenses/LICENSE-2.0  .  Unless required by applicable 
law or agreed to in writing,  software distributed under the License is 
distributed on an  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY  
KIND, either express or implied. See the License for the  specific language 
governing permissions and limitations  under the License.</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>Notice: 
Licensed to the Apache Software Foundation (ASF) under one  or more contributor 
license agreements. See the NOTICE file  distributed with this work for 
additional information  regarding copyright ownership. The ASF licenses this 
file  to you under the Apache License, Version 2.0 (the  "License"); you may 
not use this file except in compliance  with the License. You may obtain a copy 
of the License at  .  http://www.apache.org/licenses/LICENSE-2.0  .  Unless 
required by applicable law or agreed to in writing,  software distributed under 
the License is distributed on an  "AS IS" BASIS, WITHOUT WARRANTIES OR 
 CONDITIONS OF ANY  KIND, either express or implied. See the License for the  
specific language governing permissions and limitations  under the License.</p>
 <h1><a href="#sling-dynamic-include-org-apache-sling-dynamic-include-" 
name="sling-dynamic-include-org-apache-sling-dynamic-include-">Sling Dynamic 
Include (org.apache.sling.dynamic-include)</a></h1>
 <p>For now the Sling Dynamic Include documentation can be found <a 
href="https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-dynamic-include/README.md";>in
 the Sling codebase</a> or <a 
href="https://github.com/apache/sling/tree/trunk/contrib/extensions/sling-dynamic-include";>on
 our GitHub mirror</a> if that's in sync.</p></section></div></div>
 <div class="footer">

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/file-installer-provider.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/file-installer-provider.html 
b/documentation/bundles/file-installer-provider.html
index 0766c45..f5c1277 100644
--- a/documentation/bundles/file-installer-provider.html
+++ b/documentation/bundles/file-installer-provider.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 File Installer Provider
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The file installer provider scans configured directories and 
provides the found artifacts (files) to the <a 
href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The 
functionality is very similar to Apache Felix FileInstall, with the major 
difference that this service implements just the task of scanning a file 
directory. All the management logic is implemented in the OSGi installer and 
support of various artifact types like bundles, configurations or custom 
formats is implemented by plugins for the OSGi installer.</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 file 
installer provider scans configured directories and provides the found 
artifacts (files) to the <a 
href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The 
functionality is very similar to Apache Felix FileInstall, with the major 
difference that this service implements just the task of scanning a file 
directory. All the management logic is implemented in the OSGi installer and 
support of various artifact types like bundles, configurations or custom 
formats is implemented by plugins for the OSGi installer.</p>
 <h2><a href="#setup" name="setup">Setup</a></h2>
 <p>The file installer can be configured with these framework (system) 
properties:</p>
 <table>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/internationalization-support-i18n.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/internationalization-support-i18n.html 
b/documentation/bundles/internationalization-support-i18n.html
index 5db2336..5b4b0df 100644
--- a/documentation/bundles/internationalization-support-i18n.html
+++ b/documentation/bundles/internationalization-support-i18n.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Internationalization Support (i18n)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Internationalization support in Sling consists of four methods 
in the <code>SlingHttpServletRequest</code> 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>Internationalization support in Sling consists of four methods 
in the <code>SlingHttpServletRequest</code> interface:</p>
 <ul>
   <li><code>getLocale()</code> -- Returns the primary <code>Locale</code> for 
the current request. This method is inherited from the 
<code>javax.servlet.ServletRequest</code> interface.</li>
   <li><code>getLocales()</code> -- Returns the <code>Locale</code> instances 
for the current request. This method is inherited from the 
<code>javax.servlet.ServletRequest</code> interface.</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/jcr-installer-provider.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/jcr-installer-provider.html 
b/documentation/bundles/jcr-installer-provider.html
index c49626b..c970f78 100644
--- a/documentation/bundles/jcr-installer-provider.html
+++ b/documentation/bundles/jcr-installer-provider.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 JCR Installer Provider
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The JCR installer provider scans the JCR repository for 
artifacts and provides them to the <a 
href="/documentation/bundles/osgi-installer.html">OSGI installer</a>.</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 JCR 
installer provider scans the JCR repository for artifacts and provides them to 
the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>.</p>
 <h2><a href="#configuration-and-scanning" 
name="configuration-and-scanning">Configuration and Scanning</a></h2>
 <p>The JCR installer provider can be configured with weighted paths which are 
scanned. By default, the installer scans in <em>/apps</em> and <em>/libs</em> 
where artifacts found in <em>/apps</em> get a higher priority. The installer 
does a deep scan and uses a regular expression to detect folders containing 
artifacts to be installed. By default, artifacts from within a folder named 
<em>install</em> are provided to the OSGi installer.</p>
 <p>If such an install folder contains a binary artifact (e.g. a bundle or a 
config file as described in <a 
href="/documentation/bundles/configuration-installer-factory.html">Configuration
 Installer Factory</a>) this is provided to the OSGi installer. </p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/log-tracers.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/log-tracers.html 
b/documentation/bundles/log-tracers.html
index 69722f2..f7d243c 100644
--- a/documentation/bundles/log-tracers.html
+++ b/documentation/bundles/log-tracers.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Log Tracer
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p><a href="https://issues.apache.org/jira/browse/SLING-4739";>Log 
Tracer</a> provides support for enabling the logs for specific category at 
specific level and only for specific request. It provides a very fine level of 
control via config provided as part of HTTP request around how the logging 
should be performed for given category.</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="https://issues.apache.org/jira/browse/SLING-4739";>Log Tracer</a> provides 
support for enabling the logs for specific category at specific level and only 
for specific request. It provides a very fine level of control via config 
provided as part of HTTP request around how the logging should be performed for 
given category.</p>
 <p>This is specially useful for those parts of the system which are involved 
in every request. For such parts enabling the log at global level would flood 
the logs and create lots of noise. Using Tracer one can enable log for that 
request which is required to be probed.</p>
 <p>For e.g. determining what nodes are written for a given POST request can be 
simply done by including an extra request parameters.</p>
 <pre><code>curl -D - -u admin:admin \

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html 
b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
index 9b2cf7c..9daf651 100644
--- a/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
+++ b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Managing permissions (jackrabbit.accessmanager)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The <code>jackrabbit-accessmanager</code> bundle delivers a 
REST interface to manipulate users permissions in the JCR. After installing the 
<code>jackrabbit-accessmanager</code> bundle the REST services are exposed 
under the path of the node where you will manipulate the permissions for a user 
with a specific selector like <code>modifyAce</code>, <code>acl</code> and 
<code>deleteAce</code>. <!-- 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>The 
<code>jackrabbit-accessmanager</code> bundle delivers a REST interface to 
manipulate users permissions in the JCR. After installing the 
<code>jackrabbit-accessmanager</code> bundle the REST services are exposed 
under the path of the node where you will manipulate the permissions for a user 
with a specific selector like <code>modifyAce</code>, <code>acl</code> and 
<code>deleteAce</code>. <!-- TODO reactivate TOC once JBake moves to 
flexmark-java -->
 </p>
 <h2><a href="#privileges" name="privileges">Privileges</a></h2>
 <table>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html 
b/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html
index d8fe334..5f01407 100644
--- 
a/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html
+++ 
b/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Managing users and groups (jackrabbit.usermanager)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>The <code>jackrabbit-usermanager</code> bundle delivers a REST 
interface to create, update and delete users and groups in the JCR. After 
installing the <code>jackrabbit-usermanager</code> bundle all REST services are 
exposed under the path <code>/system/userManager</code>. Its interface for 
modifing/creating authorizables is similar to the <a 
href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">SlingPostServlet</a>.</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>jackrabbit-usermanager</code> bundle delivers a REST interface to create, 
update and delete users and groups in the JCR. After installing the 
<code>jackrabbit-usermanager</code> bundle all REST services are exposed under 
the path <code>/system/userManager</code>. Its interface for modifing/creating 
authorizables is similar to the <a 
href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">SlingPostServlet</a>.</p>
 <p>For getting information about existing authorizables it provides all 
authorizables as Sling resources through its 
<code>AuthorizableResourceProvider</code> below 
<code>/system/userManager/user</code> and 
<code>/system/userManager/group</code>. Those resources can be exposed via the 
<a 
href="/documentation/bundles/rendering-content-default-get-servlets.html">Default
 GET Servlet</a>.</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/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
----------------------------------------------------------------------
diff --git 
a/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
 
b/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
index ba66568..9e5d3db 100644
--- 
a/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
+++ 
b/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Manipulating Content - The SlingPostServlet (servlets.post)
-            </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="#multiple-ways-to-modify-content" 
name="multiple-ways-to-modify-content">Multiple Ways to Modify Content</a></h2>
 <p>As always in life there is more than one way to do it. So to modify content 
in a JCR repository underlying Sling, you have multiple options, two of which 
are WebDAV and the Sling default POST Servlet also called the 
<em>SlingPostServlet</em>. This page is about how you can modify - create, 
modify, copy, move, delete, import - content through the 
<em>SlingPostServlet</em>. In addition it also explains how to extend the 
SlingPostServlet with new operations.</p>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/metrics.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/metrics.html 
b/documentation/bundles/metrics.html
index 7838ad5..96147c3 100644
--- a/documentation/bundles/metrics.html
+++ b/documentation/bundles/metrics.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Sling Metrics
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Sling Metrics bundle provides integration with <a 
href="http://metrics.dropwizard.io/";>Dropwizard Metrics</a> library which 
provides a toolkit to capture runtime performance statistics in your 
application. </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 
Metrics bundle provides integration with <a 
href="http://metrics.dropwizard.io/";>Dropwizard Metrics</a> library which 
provides a toolkit to capture runtime performance statistics in your 
application. </p>
 <h2><a href="#features" name="features">Features</a></h2>
 <ul>
   <li>Registers a <a 
href="https://github.com/apache/sling/blob/trunk/bundles/commons/metrics/src/main/java/org/apache/sling/commons/metrics/MetricsService.java";>MetricsService</a>
 which can be used to create various types of Metric  instances</li>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/mime-type-support-commons-mime.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/mime-type-support-commons-mime.html 
b/documentation/bundles/mime-type-support-commons-mime.html
index ee649c8..b07cb99 100644
--- a/documentation/bundles/mime-type-support-commons-mime.html
+++ b/documentation/bundles/mime-type-support-commons-mime.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 MIME Type Support (commons.mime and commons.contentdetection)
-            </h1><div class="row"><div class="small-12 columns"><section 
class="wrap"><p>Support for MIME type mappings is generally a problematic 
issue. On the one hand applications have to take care to stay up to date with 
their mappings on the other hands in web applications it is tedious to maintain 
the mappings. Apache Sling takes a very user and deployment friendly approadch 
to this problem which is described in detail on this page.</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>Support for 
MIME type mappings is generally a problematic issue. On the one hand 
applications have to take care to stay up to date with their mappings on the 
other hands in web applications it is tedious to maintain the mappings. Apache 
Sling takes a very user and deployment friendly approadch to this problem which 
is described in detail on this page.</p>
 <p><!-- TODO reactivate TOC once JBake moves to flexmark-java -->
 </p>
 <h2><a href="#servlet-api-support" name="servlet-api-support">Servlet API 
Support</a></h2>

http://git-wip-us.apache.org/repos/asf/sling-site/blob/d1705814/documentation/bundles/models.html
----------------------------------------------------------------------
diff --git a/documentation/bundles/models.html 
b/documentation/bundles/models.html
index de829bf..47bfb13 100644
--- a/documentation/bundles/models.html
+++ b/documentation/bundles/models.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/bundles.html">Bundles</a>&nbsp;&raquo;&nbsp;</div>      
      <h1>
                 Sling Models
-            </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>Many Sling projects want to be able to create model objects - POJOs which 
are automatically mapped from Sling objects, typically resources, but also 
request objects. Sometimes these POJOs need OSGi services as well.</p>
 <h1><a href="#design-goals" name="design-goals">Design Goals</a></h1>

Reply via email to