@knowcode/doc-builder 1.9.21 → 1.9.22
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/doc-builder.config.js +1 -1
- package/doc-builder.config.js.backup.1754568137859 +126 -0
- package/html/README.html +3 -3
- package/html/about-doc-builder.html +3 -3
- package/html/documentation-index.html +3 -3
- package/html/guides/authentication-default-change.html +3 -3
- package/html/guides/authentication-guide.html +3 -3
- package/html/guides/claude-workflow-guide.html +3 -3
- package/html/guides/configuration-guide.html +3 -3
- package/html/guides/documentation-standards.html +3 -3
- package/html/guides/html-embedding-guide.html +3 -3
- package/html/guides/image-modal-guide.html +3 -3
- package/html/guides/phosphor-icons-guide.html +3 -3
- package/html/guides/private-directory-authentication-troubleshooting.html +3 -3
- package/html/guides/private-directory-authentication.html +3 -3
- package/html/guides/public-site-deployment.html +3 -3
- package/html/guides/search-engine-verification-guide.html +3 -3
- package/html/guides/seo-guide.html +3 -3
- package/html/guides/seo-optimization-guide.html +3 -3
- package/html/guides/supabase-authentication-complete-guide.html +3 -3
- package/html/guides/troubleshooting-guide.html +3 -3
- package/html/guides/windows-setup-guide.html +3 -3
- package/html/image-modal-test.html +3 -3
- package/html/index.html +3 -3
- package/html/private/cache-control-anti-pattern.html +3 -3
- package/html/private/launch/README.html +3 -3
- package/html/private/launch/auth-cleanup-summary.html +3 -3
- package/html/private/launch/bubble-plugin-specification.html +3 -3
- package/html/private/launch/go-to-market-strategy.html +3 -3
- package/html/private/launch/launch-announcements.html +3 -3
- package/html/private/launch/vercel-deployment-auth-setup.html +3 -3
- package/html/private/next-steps-walkthrough.html +3 -3
- package/html/private/supabase-auth-implementation-completed.html +3 -3
- package/html/private/supabase-auth-implementation-plan.html +3 -3
- package/html/private/supabase-auth-integration-plan.html +3 -3
- package/html/private/supabase-auth-setup-guide.html +3 -3
- package/html/private/test-private-doc.html +3 -3
- package/html/private/user-management-tooling.html +3 -3
- package/html/prompts/beautiful-documentation-design.html +3 -3
- package/html/prompts/markdown-document-standards.html +3 -3
- package/html/prompts/project-rename-strategy-sasha-publish.html +3 -3
- package/html/sitemap.xml +59 -59
- package/html/test-questions/how-does-it-work%3F.html +3 -3
- package/html/test-questions/step-1%3A%20getting-started.html +3 -3
- package/html/test-questions/what-is-the-purpose.html +3 -3
- package/html/vercel-cli-setup-guide.html +3 -3
- package/html/vercel-first-time-setup-guide.html +3 -3
- package/html-static/README.html +35 -35
- package/html-static/about-doc-builder.html +35 -35
- package/html-static/documentation-index.html +35 -35
- package/html-static/guides/authentication-default-change.html +35 -35
- package/html-static/guides/authentication-guide.html +35 -35
- package/html-static/guides/claude-workflow-guide.html +35 -35
- package/html-static/guides/configuration-guide.html +35 -35
- package/html-static/guides/documentation-standards.html +35 -35
- package/html-static/guides/html-embedding-guide.html +35 -35
- package/html-static/guides/image-modal-guide.html +35 -35
- package/html-static/guides/phosphor-icons-guide.html +35 -35
- package/html-static/guides/private-directory-authentication-troubleshooting.html +35 -35
- package/html-static/guides/private-directory-authentication.html +35 -35
- package/html-static/guides/public-site-deployment.html +35 -35
- package/html-static/guides/search-engine-verification-guide.html +35 -35
- package/html-static/guides/seo-guide.html +35 -35
- package/html-static/guides/seo-optimization-guide.html +35 -35
- package/html-static/guides/supabase-authentication-complete-guide.html +35 -35
- package/html-static/guides/troubleshooting-guide.html +35 -35
- package/html-static/guides/windows-setup-guide.html +35 -35
- package/html-static/image-modal-test.html +35 -35
- package/html-static/index.html +35 -35
- package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html-static/prompts/beautiful-documentation-design.html +35 -35
- package/html-static/prompts/markdown-document-standards.html +35 -35
- package/html-static/prompts/project-rename-strategy-sasha-publish.html +35 -35
- package/html-static/sitemap.xml +37 -31
- package/html-static/test-questions/how-does-it-work%3F.html +35 -35
- package/html-static/test-questions/step-1%3A%20getting-started.html +35 -35
- package/html-static/test-questions/what-is-the-purpose.html +35 -35
- package/html-static/vercel-cli-setup-guide.html +35 -35
- package/html-static/vercel-first-time-setup-guide.html +35 -35
- package/lib/core-builder.js +32 -13
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
|
|
45
45
|
|
|
46
46
|
<!-- Styles -->
|
|
47
|
-
<link rel="stylesheet" href="
|
|
47
|
+
<link rel="stylesheet" href="css/notion-style.css">
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"name": "Knowcode Ltd",
|
|
67
67
|
"url": "https://knowcode.tech"
|
|
68
68
|
},
|
|
69
|
-
"datePublished": "2025-08-
|
|
70
|
-
"dateModified": "2025-08-
|
|
69
|
+
"datePublished": "2025-08-07T12:04:03.411Z",
|
|
70
|
+
"dateModified": "2025-08-07T12:04:03.411Z",
|
|
71
71
|
"mainEntityOfPage": {
|
|
72
72
|
"@type": "WebPage",
|
|
73
73
|
"@id": "https://doc-builder-delta.vercel.app/vercel-first-time-setup-guide.html"
|
|
@@ -96,11 +96,11 @@
|
|
|
96
96
|
<!-- Header -->
|
|
97
97
|
<header class="header">
|
|
98
98
|
<div class="header-content">
|
|
99
|
-
<a href="
|
|
99
|
+
<a href="index.html" class="logo">@knowcode/doc-builder</a>
|
|
100
100
|
|
|
101
101
|
<div class="header-actions">
|
|
102
102
|
<div class="deployment-info">
|
|
103
|
-
<span class="deployment-date" title="Built with doc-builder v1.9.
|
|
103
|
+
<span class="deployment-date" title="Built with doc-builder v1.9.21">Last updated: Aug 7, 2025, 12:04 PM UTC</span>
|
|
104
104
|
</div>
|
|
105
105
|
|
|
106
106
|
|
|
@@ -140,50 +140,50 @@
|
|
|
140
140
|
<i class="ph ph-caret-down" id="toggle-all-icon"></i> Documentation
|
|
141
141
|
</a>
|
|
142
142
|
<div class="nav-content">
|
|
143
|
-
<a href="
|
|
144
|
-
<a href="
|
|
145
|
-
<a href="
|
|
146
|
-
<a href="
|
|
147
|
-
<a href="
|
|
148
|
-
<a href="
|
|
143
|
+
<a href="README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="ph ph-file-text"></i> Overview</a>
|
|
144
|
+
<a href="about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
|
|
145
|
+
<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="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Index</a>
|
|
146
|
+
<a href="image-modal-test.html" class="nav-item" data-tooltip="This document tests the new image modal functionality in doc-builder."><i class="ph ph-file-text"></i> Image Modal Test</a>
|
|
147
|
+
<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="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
|
|
148
|
+
<a href="vercel-first-time-setup-guide.html" class="nav-item active" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
|
|
149
149
|
<div class="nav-section" data-level="1">
|
|
150
150
|
<a class="nav-title collapsible" href="#" data-target="nav-guides-1" >
|
|
151
151
|
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-book"></i> Guides
|
|
152
152
|
</a>
|
|
153
153
|
<div class="nav-content collapsed" id="nav-guides-1">
|
|
154
|
-
<a href="
|
|
155
|
-
<a href="
|
|
156
|
-
<a href="
|
|
157
|
-
<a href="
|
|
158
|
-
<a href="
|
|
159
|
-
<a href="
|
|
160
|
-
<a href="
|
|
161
|
-
<a href="
|
|
162
|
-
<a href="
|
|
163
|
-
<a href="
|
|
164
|
-
<a href="
|
|
165
|
-
<a href="
|
|
166
|
-
<a href="
|
|
167
|
-
<a href="
|
|
168
|
-
<a href="
|
|
169
|
-
<a href="
|
|
170
|
-
<a href="
|
|
154
|
+
<a href="guides/authentication-default-change.html" class="nav-item" data-tooltip="Starting from version 1.7.4, @knowcode/doc-builder now defaults to no authentication for all documentation sites."><i class="ph ph-file-text"></i> Authentication Default Change</a>
|
|
155
|
+
<a href="guides/authentication-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder supports enterprise-grade authentication through Supabase - a secure, scalable authentication platform."><i class="ph ph-check-circle" style="color: #059669;"></i> Authentication Guide</a>
|
|
156
|
+
<a href="guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Claude Workflow Guide</a>
|
|
157
|
+
<a href="guides/configuration-guide.html" class="nav-item" data-tooltip="This guide explains how @knowcode/doc-builder handles configuration files and settings."><i class="ph ph-check-circle" style="color: #059669;"></i> Configuration Guide</a>
|
|
158
|
+
<a href="guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Standards</a>
|
|
159
|
+
<a href="guides/html-embedding-guide.html" class="nav-item" data-tooltip="Starting from version 1.9.2, doc-builder treats HTML files ( and ) as attachments that are automatically copied to your output directory during the..."><i class="ph ph-check-circle" style="color: #059669;"></i> Html Embedding Guide</a>
|
|
160
|
+
<a href="guides/image-modal-guide.html" class="nav-item" data-tooltip="When users click on any image in your generated documentation, it opens in a professional modal overlay with: Full-screen viewing experience Smooth..."><i class="ph ph-check-circle" style="color: #059669;"></i> Image Modal Guide</a>
|
|
161
|
+
<a href="guides/phosphor-icons-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Phosphor Icons Guide</a>
|
|
162
|
+
<a href="guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder provides flexible authentication options to protect your documentation."><i class="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication</a>
|
|
163
|
+
<a href="guides/private-directory-authentication-troubleshooting.html" class="nav-item" data-tooltip="Private Directory Authentication Troubleshooting."><i class="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication Troubleshooting</a>
|
|
164
|
+
<a href="guides/public-site-deployment.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now supports deploying public documentation sites without authentication."><i class="ph ph-check-circle" style="color: #059669;"></i> Public Site Deployment</a>
|
|
165
|
+
<a href="guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="ph ph-check-circle" style="color: #059669;"></i> Search Engine Verification Guide</a>
|
|
166
|
+
<a href="guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="ph ph-check-circle" style="color: #059669;"></i> Seo Guide</a>
|
|
167
|
+
<a href="guides/seo-optimization-guide.html" class="nav-item" data-tooltip="Comprehensive guide to optimizing documentation for search engines. Learn SEO best practices, use built-in features, and improve your rankings."><i class="ph ph-check-circle" style="color: #059669;"></i> SEO Optimization Guide for @knowcode/doc-builder</a>
|
|
168
|
+
<a href="guides/supabase-authentication-complete-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes built-in Supabase authentication that provides enterprise-grade security with zero configuration."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Authentication Complete Guide</a>
|
|
169
|
+
<a href="guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> Troubleshooting Guide</a>
|
|
170
|
+
<a href="guides/windows-setup-guide.html" class="nav-item" data-tooltip="This guide helps Windows users set up the complete AI-powered documentation workflow using Claude Code, @knowcode/doc-builder, and Vercel."><i class="ph ph-check-circle" style="color: #059669;"></i> Windows Setup Guide</a></div></div>
|
|
171
171
|
<div class="nav-section" data-level="1">
|
|
172
172
|
<a class="nav-title collapsible" href="#" data-target="nav-prompts-1" >
|
|
173
173
|
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-chat-circle-dots"></i> Prompts
|
|
174
174
|
</a>
|
|
175
175
|
<div class="nav-content collapsed" id="nav-prompts-1">
|
|
176
|
-
<a href="
|
|
177
|
-
<a href="
|
|
178
|
-
<a href="
|
|
176
|
+
<a href="prompts/beautiful-documentation-design.html" class="nav-item" data-tooltip="🎨 Beautiful Documentation Design Guide."><i class="ph ph-check-circle" style="color: #059669;"></i> Beautiful Documentation Design</a>
|
|
177
|
+
<a href="prompts/markdown-document-standards.html" class="nav-item" data-tooltip="Detailed introduction to the topic..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Markdown Document Standards</a>
|
|
178
|
+
<a href="prompts/project-rename-strategy-sasha-publish.html" class="nav-item" data-tooltip="This document outlines the comprehensive strategy for renaming the @knowcode/doc-builder project to "sasha-publish", including all package references,..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Project Rename Strategy Sasha Publish</a></div></div>
|
|
179
179
|
<div class="nav-section" data-level="1">
|
|
180
180
|
<a class="nav-title collapsible" href="#" data-target="nav-test-questions-1" >
|
|
181
181
|
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-folder"></i> Test Questions
|
|
182
182
|
</a>
|
|
183
183
|
<div class="nav-content collapsed" id="nav-test-questions-1">
|
|
184
|
-
<a href="
|
|
185
|
-
<a href="
|
|
186
|
-
<a href="
|
|
184
|
+
<a href="test-questions/how-does-it-work%3F.html" class="nav-item" data-tooltip="This is a test file to verify that question marks work properly in filenames."><i class="ph ph-file-text"></i> How Does It Work?</a>
|
|
185
|
+
<a href="test-questions/step-1%3A%20getting-started.html" class="nav-item" data-tooltip="Step 1: Getting Started."><i class="ph ph-file-text"></i> Step 1: Getting Started</a>
|
|
186
|
+
<a href="test-questions/what-is-the-purpose.html" class="nav-item" data-tooltip="Understanding the purpose of our documentation system"><i class="ph ph-file-text"></i> What Is The Purpose?</a></div></div>
|
|
187
187
|
</nav>
|
|
188
188
|
<div class="resize-handle"></div>
|
|
189
189
|
</aside>
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
</script>
|
|
385
|
-
<script src="
|
|
385
|
+
<script src="js/main.js"></script>
|
|
386
386
|
|
|
387
387
|
</body>
|
|
388
388
|
</html>
|
package/lib/core-builder.js
CHANGED
|
@@ -361,16 +361,18 @@ function generateFaviconTag(favicon) {
|
|
|
361
361
|
return `<link rel="icon" href="${favicon}">`;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
// Generate static HTML (without authentication)
|
|
364
|
+
// Generate static HTML (without authentication and with relative paths)
|
|
365
365
|
function generateStaticHTML(title, content, navigation, currentPath = '', config = {}, originalContent = '', frontMatter = {}) {
|
|
366
|
-
// Use regular generateHTML but force disable auth features
|
|
366
|
+
// Use regular generateHTML but force disable auth features and use relative paths
|
|
367
367
|
const staticConfig = {
|
|
368
368
|
...config,
|
|
369
369
|
features: {
|
|
370
370
|
...config.features,
|
|
371
371
|
authentication: false,
|
|
372
372
|
privateDirectoryAuth: false
|
|
373
|
-
}
|
|
373
|
+
},
|
|
374
|
+
// Special flag to indicate this is static output (for relative paths)
|
|
375
|
+
isStaticOutput: true
|
|
374
376
|
};
|
|
375
377
|
|
|
376
378
|
return generateHTML(title, content, navigation, currentPath, staticConfig, originalContent, frontMatter);
|
|
@@ -378,8 +380,19 @@ function generateStaticHTML(title, content, navigation, currentPath = '', config
|
|
|
378
380
|
|
|
379
381
|
// Generate HTML from template
|
|
380
382
|
function generateHTML(title, content, navigation, currentPath = '', config = {}, originalContent = '', frontMatter = {}) {
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
+
// For normal output, use standard depth calculation
|
|
384
|
+
const pathParts = currentPath.split('/').filter(p => p);
|
|
385
|
+
let depth = pathParts.length;
|
|
386
|
+
let relativePath = depth > 0 ? '../'.repeat(depth) : '';
|
|
387
|
+
|
|
388
|
+
// For static output, calculate depth differently (exclude the filename)
|
|
389
|
+
if (config.isStaticOutput) {
|
|
390
|
+
depth = pathParts.length > 1 ? pathParts.length - 1 : 0;
|
|
391
|
+
relativePath = depth > 0 ? '../'.repeat(depth) : '';
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// For static output, use relative paths; for normal output, use absolute paths
|
|
395
|
+
const resourcePath = config.isStaticOutput ? relativePath : '/';
|
|
383
396
|
|
|
384
397
|
const siteName = config.siteName || 'Documentation';
|
|
385
398
|
const siteDescription = config.siteDescription || 'Documentation site';
|
|
@@ -486,7 +499,7 @@ ${seoTags}
|
|
|
486
499
|
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
|
|
487
500
|
|
|
488
501
|
<!-- Styles -->
|
|
489
|
-
<link rel="stylesheet" href="
|
|
502
|
+
<link rel="stylesheet" href="${resourcePath}css/notion-style.css">
|
|
490
503
|
|
|
491
504
|
${(config.features?.authentication === 'supabase' || config.features?.privateDirectoryAuth === true) ? `
|
|
492
505
|
<!-- Hide content until auth check -->
|
|
@@ -532,7 +545,7 @@ ${seoTags}
|
|
|
532
545
|
<!-- Header -->
|
|
533
546
|
<header class="header">
|
|
534
547
|
<div class="header-content">
|
|
535
|
-
<a href="/index.html" class="logo">${siteName}</a>
|
|
548
|
+
<a href="${config.isStaticOutput ? relativePath + 'index.html' : '/index.html'}" class="logo">${siteName}</a>
|
|
536
549
|
|
|
537
550
|
<div class="header-actions">
|
|
538
551
|
<div class="deployment-info">
|
|
@@ -618,9 +631,9 @@ ${seoTags}
|
|
|
618
631
|
}
|
|
619
632
|
};
|
|
620
633
|
</script>
|
|
621
|
-
<script src="
|
|
634
|
+
<script src="${resourcePath}js/main.js"></script>
|
|
622
635
|
${(config.features?.authentication === 'supabase' || config.features?.privateDirectoryAuth === true) ? `<script src="https://unpkg.com/@supabase/supabase-js@2"></script>
|
|
623
|
-
<script src="
|
|
636
|
+
<script src="${resourcePath}js/auth.js"></script>` : ''}
|
|
624
637
|
</body>
|
|
625
638
|
</html>`;
|
|
626
639
|
}
|
|
@@ -748,7 +761,9 @@ function buildNavigationStructure(files, currentFile, config = {}) {
|
|
|
748
761
|
|
|
749
762
|
// Check if this folder has a README.md file to link to
|
|
750
763
|
const readmeFile = folderData.files.find(f => f.displayName === 'README');
|
|
751
|
-
const folderLink = readmeFile ?
|
|
764
|
+
const folderLink = readmeFile ?
|
|
765
|
+
`href="${config.isStaticOutput ? readmeFile.urlPath : '/' + readmeFile.urlPath}"` :
|
|
766
|
+
'href="#"';
|
|
752
767
|
|
|
753
768
|
// Get folder description for tooltip
|
|
754
769
|
const folderDescription = folderDescriptions[folderName] || '';
|
|
@@ -804,7 +819,8 @@ function buildNavigationStructure(files, currentFile, config = {}) {
|
|
|
804
819
|
isActive = ' active';
|
|
805
820
|
}
|
|
806
821
|
|
|
807
|
-
|
|
822
|
+
// Use relative paths for static output
|
|
823
|
+
const linkPath = config.isStaticOutput ? file.urlPath : '/' + file.urlPath;
|
|
808
824
|
const tooltip = file.summary ? ` data-tooltip="${escapeHtml(file.summary)}"` : '';
|
|
809
825
|
const icon = getIconForStatus(file.status || 'default', false, config);
|
|
810
826
|
|
|
@@ -869,7 +885,8 @@ function buildNavigationStructure(files, currentFile, config = {}) {
|
|
|
869
885
|
if (currentFile === file.urlPath) {
|
|
870
886
|
isActive = ' active';
|
|
871
887
|
}
|
|
872
|
-
|
|
888
|
+
// Use relative paths for static output
|
|
889
|
+
const linkPath = config.isStaticOutput ? file.urlPath : '/' + file.urlPath;
|
|
873
890
|
const tooltip = file.summary ? ` data-tooltip="${escapeHtml(file.summary)}"` : '';
|
|
874
891
|
const icon = getIconForStatus(file.status || 'default', false, config);
|
|
875
892
|
additionalFiles += `
|
|
@@ -918,7 +935,9 @@ async function processMarkdownFile(filePath, outputPath, allFiles, config, useSt
|
|
|
918
935
|
const htmlContent = processMarkdownContent(content, config);
|
|
919
936
|
|
|
920
937
|
// Build navigation - pass config to handle private file filtering
|
|
921
|
-
|
|
938
|
+
// For static HTML, we need to build navigation with relative paths
|
|
939
|
+
const navConfig = useStaticHTML ? { ...config, isStaticOutput: true } : config;
|
|
940
|
+
const navigation = buildNavigationStructure(allFiles, urlPath, navConfig);
|
|
922
941
|
|
|
923
942
|
// Generate full HTML (pass original content and front matter for SEO)
|
|
924
943
|
const html = useStaticHTML
|