This is an automated email from the ASF dual-hosted git repository.

lehmi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new a2aaebc6 Site checkin for project Apache PDFBox Website
a2aaebc6 is described below

commit a2aaebc6ca08d98fd47857c7c94c5dec8f2f44c6
Author: Andreas Lehmkühler <[email protected]>
AuthorDate: Wed May 28 08:05:03 2025 +0200

    Site checkin for project Apache PDFBox Website
---
 content/2.0/faq.html           |  2 +-
 content/2.0/migration.html     |  2 +-
 content/3.0/faq.html           |  2 +-
 content/blog/index.html        | 21 ++++-----------------
 content/building.html          | 21 ++++-----------------
 content/codingconventions.html | 21 ++++-----------------
 content/download.html          | 31 +++++++++----------------------
 content/errors/403.html        | 21 ++++-----------------
 content/errors/404.html        | 21 ++++-----------------
 content/ideas.html             | 21 ++++-----------------
 content/index.html             | 21 ++++-----------------
 content/mailinglists.html      | 21 ++++-----------------
 content/references.html        | 21 ++++-----------------
 content/security.html          | 21 ++++-----------------
 content/siteupdate.html        | 21 ++++-----------------
 content/support.html           | 21 ++++-----------------
 content/team.html              | 21 ++++-----------------
 17 files changed, 64 insertions(+), 246 deletions(-)

diff --git a/content/2.0/faq.html b/content/2.0/faq.html
index ccd71f73..8a20ab46 100644
--- a/content/2.0/faq.html
+++ b/content/2.0/faq.html
@@ -254,7 +254,7 @@ the word &quot;Hello&quot; is drawn.</li>
 <p>The memory footprint depends on the PDF itself and on the resolution you 
use for rendering. Some possible options:</p>
 <ul>
 <li>increase the <code>-Xmx</code> value when starting java</li>
-<li>use a scratch file by loading files with this code 
<code>PDDocument.load(file, MemoryUsageSetting.setupTempFileOnly())</code> or 
with <code>PDDocument.load(file, 
MemoryUsageSetting.setupMixed(...))</code>.</li>
+<li>use a scratch file by loading files with this code 
<code>PDDocument.load(file, MemoryUsageSetting.setupTempFileOnly())</code></li>
 <li>activate subsampling by calling <code>setSubsamplingAllowed(true)</code> 
on your <code>PDFRenderer</code> object</li>
 <li>be careful not to hold your images after rendering them, e.g. avoid 
putting all images of a PDF into a <code>List</code></li>
 <li>don't forgot to close your <code>PDDocument</code> objects</li>
diff --git a/content/2.0/migration.html b/content/2.0/migration.html
index a0df9952..262e39ae 100644
--- a/content/2.0/migration.html
+++ b/content/2.0/migration.html
@@ -204,7 +204,7 @@ and so on. The <code>add</code> method now supports all the 
different type of re
 <pre class="language-java"><code class="language-java"><span class="token 
keyword">for</span><span class="token punctuation">(</span><span class="token 
class-name">PDPage</span> page <span class="token operator">:</span> 
document<span class="token punctuation">.</span><span class="token 
function">getPages</span><span class="token punctuation">(</span><span 
class="token punctuation">)</span><span class="token 
punctuation">)</span><br><span class="token punctuation">{</span><br>    <span 
c [...]
 <h3 id="pdf-rendering" tabindex="-1">PDF Rendering</h3>
 <p>With PDFBox 2.0.0 <code>PDPage.convertToImage</code> and 
<code>PDFImageWriter</code> have been removed. Instead the new 
<code>PDFRenderer</code> class shall be used.</p>
-<pre class="language-java"><code class="language-java"><span class="token 
class-name">PDDocument</span> document <span class="token operator">=</span> 
<span class="token class-name">PDDocument</span><span class="token 
punctuation">.</span><span class="token function">load</span><span class="token 
punctuation">(</span><span class="token keyword">new</span> <span class="token 
class-name">File</span><span class="token punctuation">(</span>pdfFilename<span 
class="token punctuation">)</span>< [...]
+<pre class="language-java"><code class="language-java"><span class="token 
class-name">PDDocument</span> document <span class="token operator">=</span> 
<span class="token class-name">PDDocument</span><span class="token 
punctuation">.</span><span class="token function">load</span><span class="token 
punctuation">(</span><span class="token keyword">new</span> <span class="token 
class-name">File</span><span class="token punctuation">(</span>pdfFilename<span 
class="token punctuation">)</span>< [...]
 <p><code>ImageIOUtil</code> has been moved into the 
<code>org.apache.pdfbox.tools.imageio</code> package. This is in the 
<code>pdfbox-tools</code> download. If you are using maven, the 
<code>artifactId</code> has the same name.</p>
 <p class="alert alert-warning">Important notice when using PDFBox with Java 8
 </p>
diff --git a/content/3.0/faq.html b/content/3.0/faq.html
index 84e68fc6..114c8381 100644
--- a/content/3.0/faq.html
+++ b/content/3.0/faq.html
@@ -251,7 +251,7 @@ the word &quot;Hello&quot; is drawn.</li>
 <p>The memory footprint depends on the PDF itself and on the resolution you 
use for rendering. Some possible options:</p>
 <ul>
 <li>increase the <code>-Xmx</code> value when starting java</li>
-<li>use a scratch file by loading files with this code 
<code>Loader.loadPDF(file, IOUtils.createTempFileOnlyStreamCache())</code> or 
with <code>Loader.loadPDF(file, () -&gt; new 
ScratchFile(MemoryUsageSetting.setupMixed(...)))</code>.</li>
+<li>use a scratch file by loading files with this code 
<code>Loader.loadPDF(file, IOUtils.createTempFileOnlyStreamCache())</code></li>
 <li>activate subsampling by calling <code>setSubsamplingAllowed(true)</code> 
on your <code>PDFRenderer</code> object</li>
 <li>be careful not to hold your images after rendering them, e.g. avoid 
putting all images of a PDF into a <code>List</code></li>
 <li>don't forgot to close your <code>PDDocument</code> objects</li>
diff --git a/content/blog/index.html b/content/blog/index.html
index 24adf7e3..12e58828 100644
--- a/content/blog/index.html
+++ b/content/blog/index.html
@@ -549,26 +549,13 @@ PDFBox 1.8 or earlier an overview about things to look at 
when switching over. M
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/building.html b/content/building.html
index 75004bb8..5f9b20cd 100644
--- a/content/building.html
+++ b/content/building.html
@@ -233,26 +233,13 @@ cd pdfbox-jbig2</p>
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/codingconventions.html b/content/codingconventions.html
index a1030f60..78f8ab63 100644
--- a/content/codingconventions.html
+++ b/content/codingconventions.html
@@ -336,26 +336,13 @@ you invoke <em>Source -&gt; Organize Imports</em> 
(<code>Ctrl+Shift+O</code>).</
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/download.html b/content/download.html
index 0f29a064..4f9e447c 100644
--- a/content/download.html
+++ b/content/download.html
@@ -164,7 +164,7 @@
 <ul>
     <li>Feature release for PDFBox 3.0.x &mdash; <a 
href="https://downloads.apache.org/pdfbox/3.0.5/RELEASE-NOTES.txt";>3.0.5</a> 
(requires Java 8)</li>
     <li>Feature release for PDFBox 2.0.x &mdash; <a 
href="https://downloads.apache.org/pdfbox/2.0.34/RELEASE-NOTES.txt";>2.0.34</a> 
(requires Java 6)</li>
-    <li>Feature release of JBIG2 ImageIO plugin 3.0.x &mdash; <a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.4/RELEASE-NOTES.txt";>3.0.4</a>
 (requires Java 6)</li>
+    <li>Feature release of JBIG2 ImageIO plugin 3.0.x &mdash; <a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.5/RELEASE-NOTES.txt";>3.0.5</a>
 (requires Java 6)</li>
     <li><a href="#oldreleases">Previous releases</a></li>
 </ul>
 
@@ -318,11 +318,11 @@
     </tbody>
     <tbody>
         <tr>
-            <td 
rowspan="1"><strong>JBIG2<br>3.0.4</strong><br><small>feature</small></td>
+            <td 
rowspan="1"><strong>JBIG2<br>3.0.5</strong><br><small>feature</small></td>
             <td>JBIG2 ImageIO plugin</td>
-            <td><a 
href="https://www.apache.org/dyn/closer.lua/pdfbox/jbig2-imageio/3.0.4/jbig2-imageio-3.0.4.jar";>jbig2-imageio-3.0.4.jar</a></td>
-            <td><a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.4/jbig2-imageio-3.0.4.jar.asc";>ASC</a></td>
-            <td><a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.4/jbig2-imageio-3.0.4.jar.sha512";>SHA512</a></td>
+            <td><a 
href="https://www.apache.org/dyn/closer.lua/pdfbox/jbig2-imageio/3.0.5/jbig2-imageio-3.0.5.jar";>jbig2-imageio-3.0.5.jar</a></td>
+            <td><a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.5/jbig2-imageio-3.0.5.jar.asc";>ASC</a></td>
+            <td><a 
href="https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.5/jbig2-imageio-3.0.5.jar.sha512";>SHA512</a></td>
         </tr>
     </tbody>
 </table>
@@ -470,26 +470,13 @@ Section 740.13) for both object code and source code.
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/errors/403.html b/content/errors/403.html
index 24079472..561c0856 100644
--- a/content/errors/403.html
+++ b/content/errors/403.html
@@ -202,26 +202,13 @@
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/errors/404.html b/content/errors/404.html
index 16b7b45e..74f6ff5e 100644
--- a/content/errors/404.html
+++ b/content/errors/404.html
@@ -202,26 +202,13 @@
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/ideas.html b/content/ideas.html
index 03947a0e..73544e38 100644
--- a/content/ideas.html
+++ b/content/ideas.html
@@ -253,26 +253,13 @@ level. This could in addition be a good basis for PDF/A 
and other compliance che
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/index.html b/content/index.html
index 64eaf4b4..e5ff58c3 100644
--- a/content/index.html
+++ b/content/index.html
@@ -275,26 +275,13 @@ Apache PDFBox version 2.0.32. It is available for 
download at:</p>
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/mailinglists.html b/content/mailinglists.html
index b7d069b1..b65a09f3 100644
--- a/content/mailinglists.html
+++ b/content/mailinglists.html
@@ -244,26 +244,13 @@ to the <strong>Commit Mailing List</strong>.</p>
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/references.html b/content/references.html
index df1d45f1..ae338d15 100644
--- a/content/references.html
+++ b/content/references.html
@@ -331,26 +331,13 @@ Please file an <a 
href="https://issues.apache.org/jira/browse/PDFBOX";>improvemen
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/security.html b/content/security.html
index 95d8d2d2..8e5897ae 100644
--- a/content/security.html
+++ b/content/security.html
@@ -215,26 +215,13 @@ unexpected amounts of memory.</p>
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/siteupdate.html b/content/siteupdate.html
index 0c01f91d..74b17bbc 100644
--- a/content/siteupdate.html
+++ b/content/siteupdate.html
@@ -297,26 +297,13 @@ all generated sources in the project first.</p>
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/support.html b/content/support.html
index 13b17e88..3440ab04 100644
--- a/content/support.html
+++ b/content/support.html
@@ -231,26 +231,13 @@ you are really certain it's a problem in the PDFBox 
software. Try using the Mail
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file
diff --git a/content/team.html b/content/team.html
index 9e4b1b33..5b025957 100644
--- a/content/team.html
+++ b/content/team.html
@@ -341,26 +341,13 @@ Get involved today. All contributions to the project are 
greatly appreciated.</p
     document.querySelectorAll('.sidebar-node > a').forEach(addClickEvent);
 
     // preserve expand/collapse across page navigation
-    var path = document.location.pathname;
-    if (path.indexOf('/1.8') == 0) {
-        var el = document.getElementById("#v1-8");
-        el.classList.toggle("collapsed");
-        if (path.indexOf('/1.8/cookbook') == 0) {
-            el = document.getElementById('v1-8-cookbook');
-            el.classList.remove('collapsed');
-        }
-    } else {
-        var el = document.getElementById("v2-0");
-        console.log(el);
-        el.classList.remove("collapsed");
-        if (path.indexOf('/2.0/cookbook') == 0) {
-            el = document.getElementById('#v2-0-cookbook');
-            el.classList.remove('collapsed');
-        }
-    }
+    var el = document.getElementById("v3-0");
+    console.log(el);
+    el.classList.remove("collapsed");
 </script>
 
 
+
 </body>
 
 </html>
\ No newline at end of file

Reply via email to