pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r971576 [1/2] - in /websites/production/pdfbox/content: ./ 1.8/ 1.8/cookbook/ 2.0/ 2.0/cookbook/ css/ errors/
Date Fri, 06 Nov 2015 16:39:51 GMT
Author: msahyoun
Date: Fri Nov  6 16:39:50 2015
New Revision: 971576

Log:
Site checkin for project Apache PDFBox Website

Modified:
    websites/production/pdfbox/content/1.8/architecture.html
    websites/production/pdfbox/content/1.8/commandline.html
    websites/production/pdfbox/content/1.8/cookbook/documentcreation.html
    websites/production/pdfbox/content/1.8/cookbook/encryption.html
    websites/production/pdfbox/content/1.8/cookbook/pdfacreation.html
    websites/production/pdfbox/content/1.8/cookbook/pdfavalidation.html
    websites/production/pdfbox/content/1.8/cookbook/textextraction.html
    websites/production/pdfbox/content/1.8/cookbook/workingwithattachments.html
    websites/production/pdfbox/content/1.8/cookbook/workingwithfonts.html
    websites/production/pdfbox/content/1.8/cookbook/workingwithmetadata.html
    websites/production/pdfbox/content/1.8/dependencies.html
    websites/production/pdfbox/content/1.8/faq.html
    websites/production/pdfbox/content/2.0/commandline.html
    websites/production/pdfbox/content/2.0/cookbook/encryption.html
    websites/production/pdfbox/content/2.0/dependencies.html
    websites/production/pdfbox/content/2.0/examples.html
    websites/production/pdfbox/content/2.0/getting-started.html
    websites/production/pdfbox/content/2.0/migration.html
    websites/production/pdfbox/content/building.html
    websites/production/pdfbox/content/codingconventions.html
    websites/production/pdfbox/content/css/site.css
    websites/production/pdfbox/content/download.html
    websites/production/pdfbox/content/errors/403.html
    websites/production/pdfbox/content/errors/404.html
    websites/production/pdfbox/content/ideas.html
    websites/production/pdfbox/content/index.html
    websites/production/pdfbox/content/mailinglists.html
    websites/production/pdfbox/content/references.html
    websites/production/pdfbox/content/siteupdate.html
    websites/production/pdfbox/content/support.html
    websites/production/pdfbox/content/team.html

Modified: websites/production/pdfbox/content/1.8/architecture.html
==============================================================================
--- websites/production/pdfbox/content/1.8/architecture.html (original)
+++ websites/production/pdfbox/content/1.8/architecture.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="architecture">Architecture</h1>
 
 <p>In order to get the most out of PDFBox it is neccessary to understand how a PDF document
@@ -325,6 +297,46 @@ the Calendar is converted to a string in
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/commandline.html
==============================================================================
--- websites/production/pdfbox/content/1.8/commandline.html (original)
+++ websites/production/pdfbox/content/1.8/commandline.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="command-line-tools">Command Line Tools</h1>
 
 <p>PDFBox comes with a series of command line utilities. They are available as standard Java applications.</p>
@@ -733,6 +705,46 @@ PDFBox tools as Java applications.</p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/documentcreation.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/documentcreation.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/documentcreation.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="document-creation">Document Creation</h1>
 
 <h2 id="create-a-blank-pdf">Create a blank PDF</h2>
@@ -223,6 +195,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/encryption.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/encryption.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/encryption.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="encrypting-a-file">Encrypting a file</h1>
 
 <p>PDF encryption requires two passwords: the &quot;user password&quot; to open and view the file with restricted permissions, the &quot;owner password&quot; to access the file with all permission.</p>
@@ -204,6 +176,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/pdfacreation.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/pdfacreation.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/pdfacreation.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="pdf-a-creation">PDF/A Creation</h1>
 
 <p>The Apache PDFBox API can be used to create a PDF/A File. PDF/A is a PDF file with some constraints to ensure its 
@@ -222,6 +194,46 @@ example takes one present in pdfbox:</p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/pdfavalidation.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/pdfavalidation.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/pdfavalidation.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="pdf-a-validation">PDF/A Validation</h1>
 
 <p>The Apache Preflight library is a Java tool that implements a parser compliant with the ISO-19005 specification (aka PDF/A-1).
@@ -282,6 +254,46 @@ In order to help in the failure understa
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/textextraction.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/textextraction.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/textextraction.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="textextraction">Textextraction</h1>
 
 <h2 id="extracting-text">Extracting Text</h2>
@@ -303,6 +275,46 @@ or org.apache.pdfbox.ExtractText to ensu
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/workingwithattachments.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/workingwithattachments.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/workingwithattachments.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="working-with-attachments">Working with Attachments</h1>
 
 <h2 id="the-pdf-file-specification">The PDF File Specification</h2>
@@ -223,6 +195,46 @@ Attachments are part of the named tree t
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/workingwithfonts.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/workingwithfonts.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/workingwithfonts.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="working-with-fonts">Working with Fonts</h1>
 
 <h2 id="standard-14-fonts">Standard 14 Fonts</h2>
@@ -338,6 +310,46 @@ use when no mapping exists. </p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/cookbook/workingwithmetadata.html
==============================================================================
--- websites/production/pdfbox/content/1.8/cookbook/workingwithmetadata.html (original)
+++ websites/production/pdfbox/content/1.8/cookbook/workingwithmetadata.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="working-with-metadata">Working with Metadata</h1>
 
 <h2 id="introduction">Introduction</h2>
@@ -231,6 +203,46 @@ or set the XML metadata.</p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/dependencies.html
==============================================================================
--- websites/production/pdfbox/content/1.8/dependencies.html (original)
+++ websites/production/pdfbox/content/1.8/dependencies.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="dependencies">Dependencies</h1>
 
 <p>PDFBox consists of a three related components and depends on a few external libraries. This page describes what these libraries are and how to include them in your application.</p>
@@ -271,6 +243,46 @@ libraries discussed above into the pdfbo
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/1.8/faq.html
==============================================================================
--- websites/production/pdfbox/content/1.8/faq.html (original)
+++ websites/production/pdfbox/content/1.8/faq.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="frequently-asked-questions">Frequently asked questions</h1>
 
 <h3 id="general-questions">General Questions</h3>
@@ -303,6 +275,46 @@ the word &quot;Hello&quot; is drawn.</li
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/commandline.html
==============================================================================
--- websites/production/pdfbox/content/2.0/commandline.html (original)
+++ websites/production/pdfbox/content/2.0/commandline.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="command-line-tools">Command Line Tools</h1>
 
 <p>PDFBox comes with a series of command line utilities. They are available as standard Java applications.</p>
@@ -678,6 +650,46 @@ It is used as replacement for the PDFRea
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/cookbook/encryption.html
==============================================================================
--- websites/production/pdfbox/content/2.0/cookbook/encryption.html (original)
+++ websites/production/pdfbox/content/2.0/cookbook/encryption.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="encrypting-a-file">Encrypting a file</h1>
 
 <p>PDF encryption requires two passwords: the &quot;user password&quot; to open and view the file with restricted permissions, the &quot;owner password&quot; to access the file with all permission.</p>
@@ -204,6 +176,46 @@ doc.close();
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/dependencies.html
==============================================================================
--- websites/production/pdfbox/content/2.0/dependencies.html (original)
+++ websites/production/pdfbox/content/2.0/dependencies.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
 
 <h1 id="dependencies">Dependencies</h1>
@@ -230,6 +202,46 @@ included in the Java platform.</p>
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/examples.html
==============================================================================
--- websites/production/pdfbox/content/2.0/examples.html (original)
+++ websites/production/pdfbox/content/2.0/examples.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
 
 <h1 id="examples">Examples</h1>
@@ -182,6 +154,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/getting-started.html
==============================================================================
--- websites/production/pdfbox/content/2.0/getting-started.html (original)
+++ websites/production/pdfbox/content/2.0/getting-started.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <p class="alert alert-warning">This is an unreleased development preview and may change without notice.</p>
 
 <h1 id="getting-started">Getting Started</h1>
@@ -203,6 +175,46 @@
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/2.0/migration.html
==============================================================================
--- websites/production/pdfbox/content/2.0/migration.html (original)
+++ websites/production/pdfbox/content/2.0/migration.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="migration-to-pdfbox-2-0-0">Migration to PDFBox 2.0.0</h1>
 
 <h2 id="environment">Environment</h2>
@@ -337,6 +309,46 @@ tree are now represented by the <code>PD
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/building.html
==============================================================================
--- websites/production/pdfbox/content/building.html (original)
+++ websites/production/pdfbox/content/building.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="building-from-source">Building from Source</h1>
 
 <p>Building PDFBox from source is only necessary if you&#39;re wanting to contribute code to the PDFBox project. Most users should use the <a href="http://pdfbox.apache.org/download.cgi">binary releases</a> instead.</p>
@@ -247,6 +219,46 @@ libraries discussed above into the pdfbo
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/codingconventions.html
==============================================================================
--- websites/production/pdfbox/content/codingconventions.html (original)
+++ websites/production/pdfbox/content/codingconventions.html Fri Nov  6 16:39:50 2015
@@ -39,38 +39,7 @@
      
     
     
-    
-    <!-- Twitter Bootstrap and jQuery after this line. -->
-    <script src="//code.jquery.com/jquery-latest.js"></script>
-    <script src="/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript">
-        $(function() {
-            // collapse tree nodes dynamically to support noscript
-            $('.sidebar-node').addClass('collapsed');
-            
 
-            // toggle expand/collapse
-            $('.sidebar-node > a').click(function(e) {
-                $(this).parent().toggleClass('collapsed');
-                e.preventDefault();
-            });
-
-            // preserve expand/collapse across page navigation
-            var path = document.location.pathname;
-            if (path.indexOf('/2.0') == 0) {
-                $('#v2-0').removeClass('collapsed');
-                if (path.indexOf('/2.0/cookbook') == 0) {
-                    $('#v2-0-cookbook').removeClass('collapsed');
-                }
-            } else {
-                $('#v1-8').removeClass('collapsed');
-                if (path.indexOf('/1.8/cookbook') == 0) {
-                    $('#v1-8-cookbook').removeClass('collapsed');
-                }
-            }
-
-        });
-    </script>
 </head>
 
 <body>
@@ -80,14 +49,17 @@
           <a href="/index.html">
             <img class="logo" src="/images/logo-head.gif">
           </a>
+          <p class="pull-right visible-xs">
+            <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Menu</button>
+          </p>
         </div>
       </div>
     </nav>
     
     <div class="container">
         
-        <div class="row">
-            <div class="col-xs-3">
+        <div class="row row-offcanvas row-offcanvas-left">
+            <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
                 
                 <ul class="sidebar">
                     <li class="sidebar-header">Apache PDFBox</li>
@@ -158,7 +130,7 @@
                     <li><a href="http://www.apache.org/security/">Security</a></li>
                 </ul>
             </div>
-            <div class="col-xs-9">
+            <div class="col-xs-12 col-sm-9">
                 <h1 id="coding-conventions">Coding Conventions</h1>
 
 <p>Over the years the PDFBox project has come to adopt a number of coding conventions. These are not always followed in old code but new code should try to follow these rules where possible.</p>
@@ -289,6 +261,46 @@ you invoke Source -&gt; Organize Imports
             </div>
         </div>
     </footer>
+
+        <!-- Twitter Bootstrap and jQuery after this line. -->
+    <script src="//code.jquery.com/jquery-latest.js"></script>
+    <script src="/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript">
+        
+        $(document).ready(function () {
+                $('[data-toggle="offcanvas"]').click(function () {
+                $('.row-offcanvas').toggleClass('active')
+            });
+        });
+        
+        $(function() {
+            // collapse tree nodes dynamically to support noscript
+            $('.sidebar-node').addClass('collapsed');
+            
+
+            // toggle expand/collapse
+            $('.sidebar-node > a').click(function(e) {
+                $(this).parent().toggleClass('collapsed');
+                e.preventDefault();
+            });
+
+            // preserve expand/collapse across page navigation
+            var path = document.location.pathname;
+            if (path.indexOf('/2.0') == 0) {
+                $('#v2-0').removeClass('collapsed');
+                if (path.indexOf('/2.0/cookbook') == 0) {
+                    $('#v2-0-cookbook').removeClass('collapsed');
+                }
+            } else {
+                $('#v1-8').removeClass('collapsed');
+                if (path.indexOf('/1.8/cookbook') == 0) {
+                    $('#v1-8-cookbook').removeClass('collapsed');
+                }
+            }
+
+        });
+    </script>
+
 </body>
 
 </html>
\ No newline at end of file

Modified: websites/production/pdfbox/content/css/site.css
==============================================================================
--- websites/production/pdfbox/content/css/site.css (original)
+++ websites/production/pdfbox/content/css/site.css Fri Nov  6 16:39:50 2015
@@ -152,4 +152,51 @@ table tr:nth-child(even) td, table tr.ev
 
 .sidebar-node.collapsed > a::before {
   content: '\e036';
+}
+
+
+/*
+ * Off Canvas
+ * --------------------------------------------------
+ */
+@media screen and (max-width: 767px) {
+  .row-offcanvas {
+    position: relative;
+    -webkit-transition: all .25s ease-out;
+         -o-transition: all .25s ease-out;
+            transition: all .25s ease-out;
+  }
+
+  .row-offcanvas-right {
+    right: 0;
+  }
+
+  .row-offcanvas-left {
+    left: 0;
+  }
+
+  .row-offcanvas-right
+  .sidebar-offcanvas {
+    right: -50%; /* 6 columns */
+  }
+
+  .row-offcanvas-left
+  .sidebar-offcanvas {
+    left: -50%; /* 6 columns */
+  }
+
+  .row-offcanvas-right.active {
+    right: 50%; /* 6 columns */
+  }
+
+  .row-offcanvas-left.active {
+    left: 50%; /* 6 columns */
+    margin-left: 0.5em;
+  }
+
+  .sidebar-offcanvas {
+    position: absolute;
+    top: 0;
+    width: 50%; /* 6 columns */
+  }
 }
\ No newline at end of file




Mime
View raw message