@knowcode/doc-builder 1.6.5 → 1.7.0

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.
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.055Z",
67
- "dateModified": "2025-07-23T11:58:38.055Z",
66
+ "datePublished": "2025-07-24T08:19:52.220Z",
67
+ "dateModified": "2025-07-24T08:19:52.220Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -197,7 +196,7 @@
197
196
 
198
197
  **Generated**: YYYY-MM-DD HH:MM UTC
199
198
  **Status**: Draft/In Progress/Complete
200
- **Verified**: <i class="ph ph-check-circle" aria-label="checked"></i> (for verified information) / <i class="ph ph-question" aria-label="question"></i> (for speculated information)
199
+ **Verified**: (for verified information) / (for speculated information)
201
200
 
202
201
  ## Overview
203
202
 
@@ -262,9 +261,9 @@ Brief description of the document&#39;s contents and purpose.
262
261
  </ul>
263
262
  <p>Example:</p>
264
263
  <pre><code class="language-markdown">### Feature Status
265
- - <i class="ph ph-check-circle" aria-label="checked"></i> **Markdown parsing**: Fully implemented and tested
266
- - <i class="ph ph-question" aria-label="question"></i> **Performance impact**: Estimated 100ms for 50 files
267
- - <i class="ph ph-warning-circle" aria-label="warning"></i> **Large files**: May timeout on files &gt; 10MB
264
+ - **Markdown parsing**: Fully implemented and tested
265
+ - **Performance impact**: Estimated 100ms for 50 files
266
+ - ⚠️ **Large files**: May timeout on files &gt; 10MB
268
267
  - 🚧 **Search feature**: Currently in development
269
268
  </code></pre>
270
269
  <h3>3. Code Examples</h3>
@@ -280,9 +279,9 @@ const config = {
280
279
 
281
280
  try {
282
281
  await build(config);
283
- console.log(&#39;<i class="ph ph-check-circle" aria-label="checked"></i> Build successful&#39;);
282
+ console.log(&#39;✅ Build successful&#39;);
284
283
  } catch (error) {
285
- console.error(&#39;<i class="ph ph-x-circle" aria-label="error"></i> Build failed:&#39;, error.message);
284
+ console.error(&#39;❌ Build failed:&#39;, error.message);
286
285
  }
287
286
  </code></pre>
288
287
  <p>Guidelines:</p>
@@ -372,9 +371,9 @@ npx doc-builder deploy --prod
372
371
  <p>Keep tables readable and well-formatted:</p>
373
372
  <pre><code class="language-markdown">| Feature | Status | Version | Notes |
374
373
  |---------|--------|---------|-------|
375
- | Mermaid | <i class="ph ph-check-circle" aria-label="checked"></i> Ready | 1.0.0 | Full support |
374
+ | Mermaid | Ready | 1.0.0 | Full support |
376
375
  | Search | 🚧 WIP | 1.5.0 | In development |
377
- | Auth | <i class="ph ph-check-circle" aria-label="checked"></i> Ready | 1.3.0 | Optional feature |
376
+ | Auth | Ready | 1.3.0 | Optional feature |
378
377
  </code></pre>
379
378
  <h3>Links</h3>
380
379
  <ul>
@@ -419,7 +418,7 @@ npx doc-builder deploy --prod
419
418
 
420
419
  **Generated**: [date]
421
420
  **Status**: Complete
422
- **Verified**: <i class="ph ph-check-circle" aria-label="checked"></i>
421
+ **Verified**:
423
422
 
424
423
  ## Overview
425
424
  What the feature does and why it exists
@@ -442,7 +441,7 @@ Common issues and solutions
442
441
 
443
442
  **Generated**: [date]
444
443
  **Status**: Complete
445
- **Verified**: <i class="ph ph-check-circle" aria-label="checked"></i>
444
+ **Verified**:
446
445
 
447
446
  ## Overview
448
447
  Technical context and goals
@@ -465,7 +464,7 @@ Benchmarks and optimization
465
464
 
466
465
  **Generated**: [date]
467
466
  **Status**: Complete
468
- **Verified**: <i class="ph ph-check-circle" aria-label="checked"></i>
467
+ **Verified**:
469
468
 
470
469
  ## Overview
471
470
  What the API does
@@ -602,6 +601,15 @@ open html/index.html
602
601
  </div>
603
602
 
604
603
  <!-- Scripts -->
604
+ <script>
605
+ // Pass configuration to frontend
606
+ window.docBuilderConfig = {
607
+ features: {
608
+ showPdfDownload: true,
609
+ menuDefaultOpen: true
610
+ }
611
+ };
612
+ </script>
605
613
  <script src="/js/main.js"></script>
606
614
 
607
615
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.059Z",
67
- "dateModified": "2025-07-23T11:58:38.059Z",
66
+ "datePublished": "2025-07-24T08:19:52.224Z",
67
+ "dateModified": "2025-07-24T08:19:52.224Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -193,9 +192,9 @@
193
192
  <h2>How It Works</h2>
194
193
  <h3>Automatic Conversion</h3>
195
194
  <p>When you write emojis in your markdown:</p>
196
- <pre><code class="language-markdown"><i class="ph ph-check-circle" aria-label="checked"></i> Task completed
197
- <i class="ph ph-x-circle" aria-label="error"></i> Issue found
198
- <i class="ph ph-rocket-launch" aria-label="launch"></i> Launching feature
195
+ <pre><code class="language-markdown">✅ Task completed
196
+ Issue found
197
+ 🚀 Launching feature
199
198
  </code></pre>
200
199
  <p>They are automatically converted to Phosphor icons in HTML:</p>
201
200
  <ul>
@@ -370,23 +369,23 @@
370
369
  </ul>
371
370
  <h2>Usage Examples</h2>
372
371
  <h3>In Markdown Headers</h3>
373
- <pre><code class="language-markdown">## <i class="ph ph-rocket-launch" aria-label="launch"></i> Getting Started
374
- ## <i class="ph ph-wrench" aria-label="settings"></i> Configuration
375
- ## <i class="ph ph-books" aria-label="documentation"></i> API Reference
376
- ## <i class="ph ph-x-circle" aria-label="error"></i> Common Errors
372
+ <pre><code class="language-markdown">## 🚀 Getting Started
373
+ ## 🔧 Configuration
374
+ ## 📚 API Reference
375
+ ## Common Errors
377
376
  </code></pre>
378
377
  <h3>In Lists</h3>
379
- <pre><code class="language-markdown">- <i class="ph ph-check-circle" aria-label="checked"></i> Feature implemented
378
+ <pre><code class="language-markdown">- Feature implemented
380
379
  - 🚧 Work in progress
381
- - <i class="ph ph-x-circle" aria-label="error"></i> Deprecated
382
- - <i class="ph ph-lightbulb" aria-label="idea"></i> Pro tip
380
+ - Deprecated
381
+ - 💡 Pro tip
383
382
  </code></pre>
384
383
  <h3>In Tables</h3>
385
384
  <pre><code class="language-markdown">| Status | Feature | Notes |
386
385
  |--------|---------|-------|
387
- | <i class="ph ph-check-circle" aria-label="checked"></i> | Search | Ready |
386
+ | | Search | Ready |
388
387
  | 🚧 | Auth | In progress |
389
- | <i class="ph ph-x-circle" aria-label="error"></i> | Legacy API | Deprecated |
388
+ | | Legacy API | Deprecated |
390
389
  </code></pre>
391
390
  <h2>Customization</h2>
392
391
  <h3>Custom Icon Sizes</h3>
@@ -492,6 +491,15 @@
492
491
  </div>
493
492
 
494
493
  <!-- Scripts -->
494
+ <script>
495
+ // Pass configuration to frontend
496
+ window.docBuilderConfig = {
497
+ features: {
498
+ showPdfDownload: true,
499
+ menuDefaultOpen: true
500
+ }
501
+ };
502
+ </script>
495
503
  <script src="/js/main.js"></script>
496
504
 
497
505
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.066Z",
67
- "dateModified": "2025-07-23T11:58:38.066Z",
66
+ "datePublished": "2025-07-24T08:19:52.236Z",
67
+ "dateModified": "2025-07-24T08:19:52.236Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -450,6 +449,15 @@ doc-builder bing-verify NEW_BING_CODE
450
449
  </div>
451
450
 
452
451
  <!-- Scripts -->
452
+ <script>
453
+ // Pass configuration to frontend
454
+ window.docBuilderConfig = {
455
+ features: {
456
+ showPdfDownload: true,
457
+ menuDefaultOpen: true
458
+ }
459
+ };
460
+ </script>
453
461
  <script src="/js/main.js"></script>
454
462
 
455
463
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.070Z",
67
- "dateModified": "2025-07-23T11:58:38.070Z",
66
+ "datePublished": "2025-07-24T08:19:52.243Z",
67
+ "dateModified": "2025-07-24T08:19:52.243Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -425,10 +424,10 @@ author: Different Author
425
424
  <pre><code class="language-bash">npx @knowcode/doc-builder@latest build
426
425
  </code></pre>
427
426
  <p>You&#39;ll see SEO generation in the output:</p>
428
- <pre><code><i class="ph ph-map-trifold" aria-label="map"></i> Generating sitemap.xml...
429
- <i class="ph ph-check-circle" aria-label="checked"></i> Generated sitemap.xml with 23 URLs
430
- <i class="ph ph-robot" aria-label="automation"></i> Generating robots.txt...
431
- <i class="ph ph-check-circle" aria-label="checked"></i> Generated robots.txt
427
+ <pre><code>🗺️ Generating sitemap.xml...
428
+ Generated sitemap.xml with 23 URLs
429
+ 🤖 Generating robots.txt...
430
+ Generated robots.txt
432
431
  </code></pre>
433
432
  <h3>2. Check Generated Files</h3>
434
433
  <ul>
@@ -569,6 +568,15 @@ author: Different Author
569
568
  </div>
570
569
 
571
570
  <!-- Scripts -->
571
+ <script>
572
+ // Pass configuration to frontend
573
+ window.docBuilderConfig = {
574
+ features: {
575
+ showPdfDownload: true,
576
+ menuDefaultOpen: true
577
+ }
578
+ };
579
+ </script>
572
580
  <script src="/js/main.js"></script>
573
581
 
574
582
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.077Z",
67
- "dateModified": "2025-07-23T11:58:38.077Z",
66
+ "datePublished": "2025-07-24T08:19:52.252Z",
67
+ "dateModified": "2025-07-24T08:19:52.252Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -411,13 +410,13 @@ doc-builder seo-check html/guide.html
411
410
  <li><i class="ph ph-check-circle" aria-label="checked"></i> <strong>Structured data</strong> - JSON-LD implementation</li>
412
411
  </ul>
413
412
  <h3>Example Output</h3>
414
- <pre><code><i class="ph ph-magnifying-glass" aria-label="search"></i> Analyzing SEO in generated HTML files...
413
+ <pre><code>🔍 Analyzing SEO in generated HTML files...
415
414
 
416
- <i class="ph ph-chart-bar" aria-label="chart"></i> SEO Analysis Complete
415
+ 📊 SEO Analysis Complete
417
416
 
418
417
  Analyzed 14 files
419
418
 
420
- <i class="ph ph-x-circle" aria-label="error"></i> Found 2 issues:
419
+ Found 2 issues:
421
420
 
422
421
  guides/api.html:
423
422
  Title too long (75 chars, max 60)
@@ -426,7 +425,7 @@ Analyzed 14 files
426
425
  setup.html:
427
426
  Missing meta description
428
427
 
429
- <i class="ph ph-lightbulb" aria-label="idea"></i> 8 suggestions:
428
+ 💡 8 suggestions:
430
429
 
431
430
  index.html: Description too short (95 chars, ideal 140-160)
432
431
  guides/auth.html: No keywords meta tag found
@@ -795,6 +794,15 @@ doc-builder deploy
795
794
  </div>
796
795
 
797
796
  <!-- Scripts -->
797
+ <script>
798
+ // Pass configuration to frontend
799
+ window.docBuilderConfig = {
800
+ features: {
801
+ showPdfDownload: true,
802
+ menuDefaultOpen: true
803
+ }
804
+ };
805
+ </script>
798
806
  <script src="/js/main.js"></script>
799
807
 
800
808
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.080Z",
67
- "dateModified": "2025-07-23T11:58:38.080Z",
66
+ "datePublished": "2025-07-24T08:19:52.257Z",
67
+ "dateModified": "2025-07-24T08:19:52.257Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -541,6 +540,15 @@ npm --version
541
540
  </div>
542
541
 
543
542
  <!-- Scripts -->
543
+ <script>
544
+ // Pass configuration to frontend
545
+ window.docBuilderConfig = {
546
+ features: {
547
+ showPdfDownload: true,
548
+ menuDefaultOpen: true
549
+ }
550
+ };
551
+ </script>
544
552
  <script src="/js/main.js"></script>
545
553
 
546
554
  </body>
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.084Z",
67
- "dateModified": "2025-07-23T11:58:38.084Z",
66
+ "datePublished": "2025-07-24T08:19:52.265Z",
67
+ "dateModified": "2025-07-24T08:19:52.265Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -767,6 +766,15 @@ npm cache clean --force
767
766
  </div>
768
767
 
769
768
  <!-- Scripts -->
769
+ <script>
770
+ // Pass configuration to frontend
771
+ window.docBuilderConfig = {
772
+ features: {
773
+ showPdfDownload: true,
774
+ menuDefaultOpen: true
775
+ }
776
+ };
777
+ </script>
770
778
  <script src="/js/main.js"></script>
771
779
 
772
780
  </body>
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-23T11:58:38.004Z",
67
- "dateModified": "2025-07-23T11:58:38.004Z",
66
+ "datePublished": "2025-07-24T08:19:52.195Z",
67
+ "dateModified": "2025-07-24T08:19:52.195Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
100
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
101
101
  </div>
102
102
 
103
103
 
@@ -148,7 +148,6 @@
148
148
  <div class="nav-content" >
149
149
  <a href="/README.html" class="nav-item active" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
150
150
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
151
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
152
151
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
153
152
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
154
153
  <div class="nav-section" data-level="1">
@@ -295,7 +294,7 @@ module.exports = {
295
294
  siteDescription: &#39;Transform markdown into beautiful documentation&#39;,
296
295
  docsDir: &#39;docs&#39;,
297
296
  outputDir: &#39;html&#39;,
298
- favicon: &#39;<i class="ph ph-sparkle" aria-label="special"></i>&#39; // Can be emoji or path to image
297
+ favicon: &#39;✨&#39; // Can be emoji or path to image
299
298
  };
300
299
  </code></pre>
301
300
  <p><em>The CLI creates and updates this for you</em></p>
@@ -423,6 +422,15 @@ docBuilder.build({
423
422
  </div>
424
423
 
425
424
  <!-- Scripts -->
425
+ <script>
426
+ // Pass configuration to frontend
427
+ window.docBuilderConfig = {
428
+ features: {
429
+ showPdfDownload: true,
430
+ menuDefaultOpen: true
431
+ }
432
+ };
433
+ </script>
426
434
  <script src="/js/main.js"></script>
427
435
 
428
436
  </body>
package/html/js/main.js CHANGED
@@ -494,6 +494,14 @@ function updateThemeIcon(theme) {
494
494
  const menuToggle = document.getElementById('menu-toggle');
495
495
  const sidebar = document.querySelector('.sidebar');
496
496
 
497
+ // Set initial menu state based on configuration
498
+ if (sidebar && window.innerWidth > 768) {
499
+ const menuDefaultOpen = window.docBuilderConfig?.features?.menuDefaultOpen !== false;
500
+ if (!menuDefaultOpen) {
501
+ sidebar.classList.add('closed');
502
+ }
503
+ }
504
+
497
505
  // Create overlay element for mobile
498
506
  let overlay = document.querySelector('.sidebar-overlay');
499
507
  if (!overlay && window.innerWidth <= 768) {
@@ -504,7 +512,13 @@ if (!overlay && window.innerWidth <= 768) {
504
512
 
505
513
  if (menuToggle) {
506
514
  menuToggle.addEventListener('click', () => {
507
- sidebar.classList.toggle('open');
515
+ if (window.innerWidth <= 768) {
516
+ // Mobile: toggle 'open' class
517
+ sidebar.classList.toggle('open');
518
+ } else {
519
+ // Desktop: toggle 'closed' class
520
+ sidebar.classList.toggle('closed');
521
+ }
508
522
  if (overlay) {
509
523
  overlay.classList.toggle('active');
510
524
  }
@@ -1278,6 +1292,10 @@ function exportToPDF() {
1278
1292
 
1279
1293
  // Add PDF export button functionality
1280
1294
  function addPDFExportButton() {
1295
+ // Check configuration - default to true if not set
1296
+ const showPdfDownload = window.docBuilderConfig?.features?.showPdfDownload !== false;
1297
+ if (!showPdfDownload) return;
1298
+
1281
1299
  const headerActions = document.querySelector('.header-actions');
1282
1300
  if (headerActions) {
1283
1301
  const pdfButton = document.createElement('button');
@@ -63,8 +63,8 @@
63
63
  "name": "Knowcode Ltd",
64
64
  "url": "https://knowcode.tech"
65
65
  },
66
- "datePublished": "2025-07-23T11:58:38.086Z",
67
- "dateModified": "2025-07-23T11:58:38.086Z",
66
+ "datePublished": "2025-07-24T08:19:52.268Z",
67
+ "dateModified": "2025-07-24T08:19:52.268Z",
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.4">Last updated: Jul 23, 2025, 11:58 AM UTC</span>
106
+ <span class="deployment-date" title="Built with doc-builder v1.6.5">Last updated: Jul 24, 2025, 08:19 AM UTC</span>
107
107
  </div>
108
108
 
109
109
 
@@ -154,7 +154,6 @@
154
154
  <div class="nav-content" >
155
155
  <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
156
156
  <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
157
- <a href="/test-emojis.html" class="nav-item" data-tooltip="🆘 SOS/Emergency - Should convert to first-aid icon 🚨 Alert - Already working (siren icon) Money and Finance."><i class="fas fa-file-alt"></i> Test Emojis</a>
158
157
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
159
158
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
160
159
  <div class="nav-section" data-level="1">
@@ -273,6 +272,15 @@
273
272
  </div>
274
273
 
275
274
  <!-- Scripts -->
275
+ <script>
276
+ // Pass configuration to frontend
277
+ window.docBuilderConfig = {
278
+ features: {
279
+ showPdfDownload: true,
280
+ menuDefaultOpen: true
281
+ }
282
+ };
283
+ </script>
276
284
  <script src="/js/main.js"></script>
277
285
 
278
286
  </body>