This is an automated email from the ASF dual-hosted git repository.
lehmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pdfbox-docs.git
The following commit(s) were added to refs/heads/master by this push:
new b86928fb PDFBOX-6006: promote 3.0 instead of 2.0
b86928fb is described below
commit b86928fb612166ec0c88b64634882dd2fe80d57d
Author: Andreas Lehmkühler <[email protected]>
AuthorDate: Wed May 28 08:03:11 2025 +0200
PDFBOX-6006: promote 3.0 instead of 2.0
---
content/_includes/footer_scripts.html | 22 ++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)
diff --git a/content/_includes/footer_scripts.html
b/content/_includes/footer_scripts.html
index 6416916e..fb1da979 100644
--- a/content/_includes/footer_scripts.html
+++ b/content/_includes/footer_scripts.html
@@ -18,21 +18,7 @@
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');
- }
- }
-</script>
\ No newline at end of file
+ var el = document.getElementById("v3-0");
+ console.log(el);
+ el.classList.remove("collapsed");
+</script>