@knowcode/doc-builder 1.7.1 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.7.3] - 2025-07-24
9
+
10
+ ### Added
11
+ - Hamburger menu icon is now always visible on desktop when menuDefaultOpen is false
12
+ - New CSS class `menu-starts-closed` to ensure menu toggle visibility
13
+ - Dynamic menu toggle visibility management with `updateMenuToggleVisibility()` function
14
+
15
+ ### Fixed
16
+ - Fixed issue where users couldn't open the sidebar when menuDefaultOpen was false
17
+ - Menu toggle now properly shows/hides based on sidebar state and configuration
18
+ - Improved desktop navigation accessibility
19
+
20
+ ### Background
21
+ - Previously, when menuDefaultOpen was false, the hamburger icon was hidden on desktop
22
+ - This made it impossible to open the sidebar once it was closed
23
+ - Now the hamburger icon remains visible when needed for better UX
24
+
8
25
  ## [1.5.20] - 2025-07-22
9
26
 
10
27
  ### Fixed
@@ -1003,6 +1003,20 @@ tr:hover {
1003
1003
  cursor: pointer;
1004
1004
  color: var(--color-text-primary);
1005
1005
  padding: var(--space-2);
1006
+ border-radius: var(--radius-small);
1007
+ transition: all var(--duration-fast) var(--easing-out);
1008
+ }
1009
+
1010
+ .menu-toggle:hover {
1011
+ background: var(--color-bg-secondary);
1012
+ color: var(--color-text-primary);
1013
+ }
1014
+
1015
+ /* Show menu toggle on desktop when menu starts closed or is closed */
1016
+ @media (min-width: 769px) {
1017
+ body.menu-starts-closed .menu-toggle {
1018
+ display: block;
1019
+ }
1006
1020
  }
1007
1021
 
1008
1022
  /* Responsive Design */
package/assets/js/main.js CHANGED
@@ -495,10 +495,12 @@ const menuToggle = document.getElementById('menu-toggle');
495
495
  const sidebar = document.querySelector('.sidebar');
496
496
 
497
497
  // Set initial menu state based on configuration
498
+ const menuDefaultOpen = window.docBuilderConfig?.features?.menuDefaultOpen !== false;
498
499
  if (sidebar && window.innerWidth > 768) {
499
- const menuDefaultOpen = window.docBuilderConfig?.features?.menuDefaultOpen !== false;
500
500
  if (!menuDefaultOpen) {
501
501
  sidebar.classList.add('closed');
502
+ // Add class to body to show menu toggle on desktop when menu starts closed
503
+ document.body.classList.add('menu-starts-closed');
502
504
  }
503
505
  }
504
506
 
@@ -518,6 +520,8 @@ if (menuToggle) {
518
520
  } else {
519
521
  // Desktop: toggle 'closed' class
520
522
  sidebar.classList.toggle('closed');
523
+ // Update visibility of menu toggle based on sidebar state
524
+ updateMenuToggleVisibility();
521
525
  }
522
526
  if (overlay) {
523
527
  overlay.classList.toggle('active');
@@ -525,6 +529,23 @@ if (menuToggle) {
525
529
  });
526
530
  }
527
531
 
532
+ // Function to update menu toggle visibility
533
+ function updateMenuToggleVisibility() {
534
+ if (window.innerWidth > 768) {
535
+ if (!menuDefaultOpen || sidebar.classList.contains('closed')) {
536
+ document.body.classList.add('show-menu-toggle');
537
+ } else {
538
+ document.body.classList.remove('show-menu-toggle');
539
+ }
540
+ }
541
+ }
542
+
543
+ // Initial check
544
+ updateMenuToggleVisibility();
545
+
546
+ // Update on window resize
547
+ window.addEventListener('resize', updateMenuToggleVisibility);
548
+
528
549
  // Close menu when clicking overlay
529
550
  if (overlay) {
530
551
  overlay.addEventListener('click', () => {
@@ -9,7 +9,8 @@ module.exports = {
9
9
  "changelog": true,
10
10
  "mermaid": true,
11
11
  "darkMode": true,
12
- "phosphorIcons": true
12
+ "phosphorIcons": true,
13
+ "menuDefaultOpen": false
13
14
  },
14
15
  "seo": {
15
16
  "enabled": true,
package/html/README.html CHANGED
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.195Z",
67
- "dateModified": "2025-07-24T08:19:52.195Z",
66
+ "datePublished": "2025-07-24T09:07:52.307Z",
67
+ "dateModified": "2025-07-24T09:07:52.307Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/README.html"
@@ -97,7 +97,7 @@
97
97
 
98
98
  <div class="header-actions">
99
99
  <div class="deployment-info">
100
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -427,7 +427,7 @@ docBuilder.build({
427
427
  window.docBuilderConfig = {
428
428
  features: {
429
429
  showPdfDownload: true,
430
- menuDefaultOpen: true
430
+ menuDefaultOpen: false
431
431
  }
432
432
  };
433
433
  </script>
@@ -1003,6 +1003,20 @@ tr:hover {
1003
1003
  cursor: pointer;
1004
1004
  color: var(--color-text-primary);
1005
1005
  padding: var(--space-2);
1006
+ border-radius: var(--radius-small);
1007
+ transition: all var(--duration-fast) var(--easing-out);
1008
+ }
1009
+
1010
+ .menu-toggle:hover {
1011
+ background: var(--color-bg-secondary);
1012
+ color: var(--color-text-primary);
1013
+ }
1014
+
1015
+ /* Show menu toggle on desktop when menu starts closed or is closed */
1016
+ @media (min-width: 769px) {
1017
+ body.menu-starts-closed .menu-toggle {
1018
+ display: block;
1019
+ }
1006
1020
  }
1007
1021
 
1008
1022
  /* Responsive Design */
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.206Z",
67
- "dateModified": "2025-07-24T08:19:52.206Z",
66
+ "datePublished": "2025-07-24T09:07:52.318Z",
67
+ "dateModified": "2025-07-24T09:07:52.318Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/documentation-index.html"
@@ -97,7 +97,7 @@
97
97
 
98
98
  <div class="header-actions">
99
99
  <div class="deployment-info">
100
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -367,7 +367,7 @@ Detailed information...
367
367
  window.docBuilderConfig = {
368
368
  features: {
369
369
  showPdfDownload: true,
370
- menuDefaultOpen: true
370
+ menuDefaultOpen: false
371
371
  }
372
372
  };
373
373
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.210Z",
67
- "dateModified": "2025-07-24T08:19:52.210Z",
66
+ "datePublished": "2025-07-24T09:07:52.321Z",
67
+ "dateModified": "2025-07-24T09:07:52.321Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/authentication-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -464,7 +464,7 @@ Please bookmark the site after logging in.
464
464
  window.docBuilderConfig = {
465
465
  features: {
466
466
  showPdfDownload: true,
467
- menuDefaultOpen: true
467
+ menuDefaultOpen: false
468
468
  }
469
469
  };
470
470
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.215Z",
67
- "dateModified": "2025-07-24T08:19:52.215Z",
66
+ "datePublished": "2025-07-24T09:07:52.325Z",
67
+ "dateModified": "2025-07-24T09:07:52.325Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -986,7 +986,7 @@ The key to success is iterative refinement of your CLAUDE.md file to capture you
986
986
  window.docBuilderConfig = {
987
987
  features: {
988
988
  showPdfDownload: true,
989
- menuDefaultOpen: true
989
+ menuDefaultOpen: false
990
990
  }
991
991
  };
992
992
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.220Z",
67
- "dateModified": "2025-07-24T08:19:52.220Z",
66
+ "datePublished": "2025-07-24T09:07:52.329Z",
67
+ "dateModified": "2025-07-24T09:07:52.329Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/documentation-standards.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -606,7 +606,7 @@ open html/index.html
606
606
  window.docBuilderConfig = {
607
607
  features: {
608
608
  showPdfDownload: true,
609
- menuDefaultOpen: true
609
+ menuDefaultOpen: false
610
610
  }
611
611
  };
612
612
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.224Z",
67
- "dateModified": "2025-07-24T08:19:52.224Z",
66
+ "datePublished": "2025-07-24T09:07:52.332Z",
67
+ "dateModified": "2025-07-24T09:07:52.332Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -496,7 +496,7 @@
496
496
  window.docBuilderConfig = {
497
497
  features: {
498
498
  showPdfDownload: true,
499
- menuDefaultOpen: true
499
+ menuDefaultOpen: false
500
500
  }
501
501
  };
502
502
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.236Z",
67
- "dateModified": "2025-07-24T08:19:52.236Z",
66
+ "datePublished": "2025-07-24T09:07:52.338Z",
67
+ "dateModified": "2025-07-24T09:07:52.338Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/search-engine-verification-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -454,7 +454,7 @@ doc-builder bing-verify NEW_BING_CODE
454
454
  window.docBuilderConfig = {
455
455
  features: {
456
456
  showPdfDownload: true,
457
- menuDefaultOpen: true
457
+ menuDefaultOpen: false
458
458
  }
459
459
  };
460
460
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.243Z",
67
- "dateModified": "2025-07-24T08:19:52.243Z",
66
+ "datePublished": "2025-07-24T09:07:52.341Z",
67
+ "dateModified": "2025-07-24T09:07:52.341Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/seo-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -573,7 +573,7 @@ author: Different Author
573
573
  window.docBuilderConfig = {
574
574
  features: {
575
575
  showPdfDownload: true,
576
- menuDefaultOpen: true
576
+ menuDefaultOpen: false
577
577
  }
578
578
  };
579
579
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.252Z",
67
- "dateModified": "2025-07-24T08:19:52.252Z",
66
+ "datePublished": "2025-07-24T09:07:52.349Z",
67
+ "dateModified": "2025-07-24T09:07:52.349Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/seo-optimization-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -799,7 +799,7 @@ doc-builder deploy
799
799
  window.docBuilderConfig = {
800
800
  features: {
801
801
  showPdfDownload: true,
802
- menuDefaultOpen: true
802
+ menuDefaultOpen: false
803
803
  }
804
804
  };
805
805
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.257Z",
67
- "dateModified": "2025-07-24T08:19:52.257Z",
66
+ "datePublished": "2025-07-24T09:07:52.352Z",
67
+ "dateModified": "2025-07-24T09:07:52.352Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/troubleshooting-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -545,7 +545,7 @@ npm --version
545
545
  window.docBuilderConfig = {
546
546
  features: {
547
547
  showPdfDownload: true,
548
- menuDefaultOpen: true
548
+ menuDefaultOpen: false
549
549
  }
550
550
  };
551
551
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.265Z",
67
- "dateModified": "2025-07-24T08:19:52.265Z",
66
+ "datePublished": "2025-07-24T09:07:52.358Z",
67
+ "dateModified": "2025-07-24T09:07:52.358Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/guides/windows-setup-guide.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -771,7 +771,7 @@ npm cache clean --force
771
771
  window.docBuilderConfig = {
772
772
  features: {
773
773
  showPdfDownload: true,
774
- menuDefaultOpen: true
774
+ menuDefaultOpen: false
775
775
  }
776
776
  };
777
777
  </script>
package/html/index.html CHANGED
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.195Z",
67
- "dateModified": "2025-07-24T08:19:52.195Z",
66
+ "datePublished": "2025-07-24T09:07:52.307Z",
67
+ "dateModified": "2025-07-24T09:07:52.307Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/README.html"
@@ -97,7 +97,7 @@
97
97
 
98
98
  <div class="header-actions">
99
99
  <div class="deployment-info">
100
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -427,7 +427,7 @@ docBuilder.build({
427
427
  window.docBuilderConfig = {
428
428
  features: {
429
429
  showPdfDownload: true,
430
- menuDefaultOpen: true
430
+ menuDefaultOpen: false
431
431
  }
432
432
  };
433
433
  </script>
package/html/js/main.js CHANGED
@@ -495,10 +495,12 @@ const menuToggle = document.getElementById('menu-toggle');
495
495
  const sidebar = document.querySelector('.sidebar');
496
496
 
497
497
  // Set initial menu state based on configuration
498
+ const menuDefaultOpen = window.docBuilderConfig?.features?.menuDefaultOpen !== false;
498
499
  if (sidebar && window.innerWidth > 768) {
499
- const menuDefaultOpen = window.docBuilderConfig?.features?.menuDefaultOpen !== false;
500
500
  if (!menuDefaultOpen) {
501
501
  sidebar.classList.add('closed');
502
+ // Add class to body to show menu toggle on desktop when menu starts closed
503
+ document.body.classList.add('menu-starts-closed');
502
504
  }
503
505
  }
504
506
 
@@ -518,6 +520,8 @@ if (menuToggle) {
518
520
  } else {
519
521
  // Desktop: toggle 'closed' class
520
522
  sidebar.classList.toggle('closed');
523
+ // Update visibility of menu toggle based on sidebar state
524
+ updateMenuToggleVisibility();
521
525
  }
522
526
  if (overlay) {
523
527
  overlay.classList.toggle('active');
@@ -525,6 +529,23 @@ if (menuToggle) {
525
529
  });
526
530
  }
527
531
 
532
+ // Function to update menu toggle visibility
533
+ function updateMenuToggleVisibility() {
534
+ if (window.innerWidth > 768) {
535
+ if (!menuDefaultOpen || sidebar.classList.contains('closed')) {
536
+ document.body.classList.add('show-menu-toggle');
537
+ } else {
538
+ document.body.classList.remove('show-menu-toggle');
539
+ }
540
+ }
541
+ }
542
+
543
+ // Initial check
544
+ updateMenuToggleVisibility();
545
+
546
+ // Update on window resize
547
+ window.addEventListener('resize', updateMenuToggleVisibility);
548
+
528
549
  // Close menu when clicking overlay
529
550
  if (overlay) {
530
551
  overlay.addEventListener('click', () => {
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.268Z",
67
- "dateModified": "2025-07-24T08:19:52.268Z",
66
+ "datePublished": "2025-07-24T09:07:52.360Z",
67
+ "dateModified": "2025-07-24T09:07:52.360Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/launch/README.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -277,7 +277,7 @@
277
277
  window.docBuilderConfig = {
278
278
  features: {
279
279
  showPdfDownload: true,
280
- menuDefaultOpen: true
280
+ menuDefaultOpen: false
281
281
  }
282
282
  };
283
283
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.272Z",
67
- "dateModified": "2025-07-24T08:19:52.272Z",
66
+ "datePublished": "2025-07-24T09:07:52.363Z",
67
+ "dateModified": "2025-07-24T09:07:52.363Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/launch/bubble-plugin-specification.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -913,7 +913,7 @@ generateDocs({
913
913
  window.docBuilderConfig = {
914
914
  features: {
915
915
  showPdfDownload: true,
916
- menuDefaultOpen: true
916
+ menuDefaultOpen: false
917
917
  }
918
918
  };
919
919
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.276Z",
67
- "dateModified": "2025-07-24T08:19:52.276Z",
66
+ "datePublished": "2025-07-24T09:07:52.367Z",
67
+ "dateModified": "2025-07-24T09:07:52.367Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/launch/go-to-market-strategy.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -643,7 +643,7 @@
643
643
  window.docBuilderConfig = {
644
644
  features: {
645
645
  showPdfDownload: true,
646
- menuDefaultOpen: true
646
+ menuDefaultOpen: false
647
647
  }
648
648
  };
649
649
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.282Z",
67
- "dateModified": "2025-07-24T08:19:52.282Z",
66
+ "datePublished": "2025-07-24T09:07:52.371Z",
67
+ "dateModified": "2025-07-24T09:07:52.371Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/launch/launch-announcements.html"
@@ -103,7 +103,7 @@
103
103
 
104
104
  <div class="header-actions">
105
105
  <div class="deployment-info">
106
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -573,7 +573,7 @@ doc-builder deploy
573
573
  window.docBuilderConfig = {
574
574
  features: {
575
575
  showPdfDownload: true,
576
- menuDefaultOpen: true
576
+ menuDefaultOpen: false
577
577
  }
578
578
  };
579
579
  </script>
package/html/sitemap.xml CHANGED
@@ -2,127 +2,127 @@
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
3
  <url>
4
4
  <loc>https://doc-builder-delta.vercel.app/404.html</loc>
5
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
5
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
6
6
  <changefreq>monthly</changefreq>
7
7
  <priority>0.6</priority>
8
8
  </url>
9
9
  <url>
10
10
  <loc>https://doc-builder-delta.vercel.app/README.html</loc>
11
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
11
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
12
12
  <changefreq>monthly</changefreq>
13
13
  <priority>0.6</priority>
14
14
  </url>
15
15
  <url>
16
16
  <loc>https://doc-builder-delta.vercel.app/claude-workflow-guide.html</loc>
17
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
17
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
18
18
  <changefreq>monthly</changefreq>
19
19
  <priority>0.8</priority>
20
20
  </url>
21
21
  <url>
22
22
  <loc>https://doc-builder-delta.vercel.app/documentation-index.html</loc>
23
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
23
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
24
24
  <changefreq>monthly</changefreq>
25
25
  <priority>0.6</priority>
26
26
  </url>
27
27
  <url>
28
28
  <loc>https://doc-builder-delta.vercel.app/guides/authentication-guide.html</loc>
29
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
29
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
30
30
  <changefreq>monthly</changefreq>
31
31
  <priority>0.8</priority>
32
32
  </url>
33
33
  <url>
34
34
  <loc>https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html</loc>
35
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
35
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
36
36
  <changefreq>monthly</changefreq>
37
37
  <priority>0.8</priority>
38
38
  </url>
39
39
  <url>
40
40
  <loc>https://doc-builder-delta.vercel.app/guides/document-standards.html</loc>
41
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
41
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
42
42
  <changefreq>monthly</changefreq>
43
43
  <priority>0.8</priority>
44
44
  </url>
45
45
  <url>
46
46
  <loc>https://doc-builder-delta.vercel.app/guides/documentation-standards.html</loc>
47
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
47
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
48
48
  <changefreq>monthly</changefreq>
49
49
  <priority>0.8</priority>
50
50
  </url>
51
51
  <url>
52
52
  <loc>https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.html</loc>
53
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
53
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
54
54
  <changefreq>monthly</changefreq>
55
55
  <priority>0.8</priority>
56
56
  </url>
57
57
  <url>
58
58
  <loc>https://doc-builder-delta.vercel.app/guides/search-engine-verification-guide.html</loc>
59
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
59
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
60
60
  <changefreq>monthly</changefreq>
61
61
  <priority>0.8</priority>
62
62
  </url>
63
63
  <url>
64
64
  <loc>https://doc-builder-delta.vercel.app/guides/seo-guide.html</loc>
65
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
65
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
66
66
  <changefreq>monthly</changefreq>
67
67
  <priority>0.8</priority>
68
68
  </url>
69
69
  <url>
70
70
  <loc>https://doc-builder-delta.vercel.app/guides/seo-optimization-guide.html</loc>
71
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
71
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
72
72
  <changefreq>monthly</changefreq>
73
73
  <priority>0.8</priority>
74
74
  </url>
75
75
  <url>
76
76
  <loc>https://doc-builder-delta.vercel.app/guides/troubleshooting-guide.html</loc>
77
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
77
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
78
78
  <changefreq>monthly</changefreq>
79
79
  <priority>0.8</priority>
80
80
  </url>
81
81
  <url>
82
82
  <loc>https://doc-builder-delta.vercel.app/guides/windows-setup-guide.html</loc>
83
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
83
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
84
84
  <changefreq>monthly</changefreq>
85
85
  <priority>0.8</priority>
86
86
  </url>
87
87
  <url>
88
88
  <loc>https://doc-builder-delta.vercel.app/index.html</loc>
89
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
89
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
90
90
  <changefreq>weekly</changefreq>
91
91
  <priority>1.0</priority>
92
92
  </url>
93
93
  <url>
94
94
  <loc>https://doc-builder-delta.vercel.app/launch/README.html</loc>
95
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
95
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
96
96
  <changefreq>monthly</changefreq>
97
97
  <priority>0.6</priority>
98
98
  </url>
99
99
  <url>
100
100
  <loc>https://doc-builder-delta.vercel.app/launch/bubble-plugin-specification.html</loc>
101
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
101
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
102
102
  <changefreq>monthly</changefreq>
103
103
  <priority>0.6</priority>
104
104
  </url>
105
105
  <url>
106
106
  <loc>https://doc-builder-delta.vercel.app/launch/go-to-market-strategy.html</loc>
107
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
107
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
108
108
  <changefreq>monthly</changefreq>
109
109
  <priority>0.6</priority>
110
110
  </url>
111
111
  <url>
112
112
  <loc>https://doc-builder-delta.vercel.app/launch/launch-announcements.html</loc>
113
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
113
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
114
114
  <changefreq>monthly</changefreq>
115
115
  <priority>0.6</priority>
116
116
  </url>
117
117
  <url>
118
118
  <loc>https://doc-builder-delta.vercel.app/vercel-cli-setup-guide.html</loc>
119
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
119
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
120
120
  <changefreq>monthly</changefreq>
121
121
  <priority>0.8</priority>
122
122
  </url>
123
123
  <url>
124
124
  <loc>https://doc-builder-delta.vercel.app/vercel-first-time-setup-guide.html</loc>
125
- <lastmod>2025-07-24T08:19:52.302Z</lastmod>
125
+ <lastmod>2025-07-24T09:07:52.387Z</lastmod>
126
126
  <changefreq>monthly</changefreq>
127
127
  <priority>0.8</priority>
128
128
  </url>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.285Z",
67
- "dateModified": "2025-07-24T08:19:52.285Z",
66
+ "datePublished": "2025-07-24T09:07:52.374Z",
67
+ "dateModified": "2025-07-24T09:07:52.374Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/vercel-cli-setup-guide.html"
@@ -97,7 +97,7 @@
97
97
 
98
98
  <div class="header-actions">
99
99
  <div class="deployment-info">
100
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -407,7 +407,7 @@ vercel --scope team-name
407
407
  window.docBuilderConfig = {
408
408
  features: {
409
409
  showPdfDownload: true,
410
- menuDefaultOpen: true
410
+ menuDefaultOpen: false
411
411
  }
412
412
  };
413
413
  </script>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-24T08:19:52.288Z",
67
- "dateModified": "2025-07-24T08:19:52.288Z",
66
+ "datePublished": "2025-07-24T09:07:52.376Z",
67
+ "dateModified": "2025-07-24T09:07:52.376Z",
68
68
  "mainEntityOfPage": {
69
69
  "@type": "WebPage",
70
70
  "@id": "https://doc-builder-delta.vercel.app/vercel-first-time-setup-guide.html"
@@ -97,7 +97,7 @@
97
97
 
98
98
  <div class="header-actions">
99
99
  <div class="deployment-info">
100
- <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.7.2">Last updated: Jul 24, 2025, 09:07 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -366,7 +366,7 @@
366
366
  window.docBuilderConfig = {
367
367
  features: {
368
368
  showPdfDownload: true,
369
- menuDefaultOpen: true
369
+ menuDefaultOpen: false
370
370
  }
371
371
  };
372
372
  </script>
@@ -231,8 +231,8 @@ const emojiToPhosphor = {
231
231
  * @returns {string} - HTML with emojis replaced by icons
232
232
  */
233
233
  function replaceEmojisWithIcons(html, config = {}) {
234
- // Check if feature is enabled
235
- if (!config.features?.phosphorIcons) return html;
234
+ // Check if feature is enabled - default to true if not explicitly set to false
235
+ if (config.features?.phosphorIcons === false) return html;
236
236
 
237
237
  // First, protect code blocks and inline code from emoji replacement
238
238
  const codeBlocks = [];
@@ -256,12 +256,12 @@ function replaceEmojisWithIcons(html, config = {}) {
256
256
  );
257
257
 
258
258
  // Get weight class if custom weight is specified
259
- const weightClass = config.features.phosphorWeight && config.features.phosphorWeight !== 'regular'
259
+ const weightClass = config.features?.phosphorWeight && config.features.phosphorWeight !== 'regular'
260
260
  ? `ph-${config.features.phosphorWeight}`
261
261
  : 'ph';
262
262
 
263
263
  // Apply size styling if configured
264
- const sizeStyle = config.features.phosphorSize
264
+ const sizeStyle = config.features?.phosphorSize
265
265
  ? ` style="font-size: ${config.features.phosphorSize}"`
266
266
  : '';
267
267
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {