@knowcode/doc-builder 1.7.6 → 1.8.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.
- package/.claude/settings.local.json +3 -1
- package/CHANGELOG.md +22 -0
- package/assets/css/notion-style.css +9 -1
- package/html/README.html +5 -19
- package/html/css/notion-style.css +9 -1
- package/html/documentation-index.html +5 -19
- package/html/guides/authentication-default-change.html +5 -19
- package/html/guides/authentication-guide.html +189 -262
- package/html/guides/claude-workflow-guide.html +5 -19
- package/html/guides/documentation-standards.html +5 -19
- package/html/guides/phosphor-icons-guide.html +5 -19
- package/html/guides/private-directory-authentication.html +352 -0
- package/html/guides/public-site-deployment.html +11 -24
- package/html/guides/search-engine-verification-guide.html +5 -19
- package/html/guides/seo-guide.html +5 -19
- package/html/guides/seo-optimization-guide.html +5 -19
- package/html/guides/troubleshooting-guide.html +5 -19
- package/html/guides/windows-setup-guide.html +5 -19
- package/html/index.html +5 -19
- package/html/private/cache-control-anti-pattern.html +347 -0
- package/html/private/launch/README.html +289 -0
- package/html/private/launch/auth-cleanup-summary.html +279 -0
- package/html/private/launch/bubble-plugin-specification.html +925 -0
- package/html/private/launch/go-to-market-strategy.html +655 -0
- package/html/private/launch/launch-announcements.html +585 -0
- package/html/private/launch/vercel-deployment-auth-setup.html +329 -0
- package/html/private/next-steps-walkthrough.html +624 -0
- package/html/private/supabase-auth-implementation-completed.html +372 -0
- package/html/private/supabase-auth-implementation-plan.html +529 -0
- package/html/private/supabase-auth-integration-plan.html +657 -0
- package/html/private/supabase-auth-setup-guide.html +484 -0
- package/html/private/test-private-doc.html +220 -0
- package/html/sitemap.xml +113 -29
- package/html/vercel-cli-setup-guide.html +5 -19
- package/html/vercel-first-time-setup-guide.html +5 -19
- package/lib/config.js +24 -0
- package/lib/core-builder.js +40 -6
- package/lib/supabase-auth.js +60 -11
- package/package.json +1 -1
- package/user-management/README.md +81 -0
- package/user-management/add-users.sh +357 -0
- package/user-management/users.txt +15 -0
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"name": "Knowcode Ltd",
|
|
66
66
|
"url": "https://knowcode.tech"
|
|
67
67
|
},
|
|
68
|
-
"datePublished": "2025-07-
|
|
69
|
-
"dateModified": "2025-07-
|
|
68
|
+
"datePublished": "2025-07-26T09:59:22.949Z",
|
|
69
|
+
"dateModified": "2025-07-26T09:59:22.949Z",
|
|
70
70
|
"mainEntityOfPage": {
|
|
71
71
|
"@type": "WebPage",
|
|
72
72
|
"@id": "https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
<div class="header-actions">
|
|
107
107
|
<div class="deployment-info">
|
|
108
|
-
<span class="deployment-date" title="Built with doc-builder v1.
|
|
108
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.0">Last updated: Jul 26, 2025, 09:59 AM UTC</span>
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
|
|
@@ -164,31 +164,17 @@
|
|
|
164
164
|
</a>
|
|
165
165
|
<div class="nav-content" id="nav-guides-1">
|
|
166
166
|
<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="fas fa-file-alt"></i> Authentication Default Change</a>
|
|
167
|
-
<a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="
|
|
168
|
-
<a href="/guides/cache-control-anti-pattern.html" class="nav-item" data-tooltip="Cache Control Anti-Pattern: Why Aggressive Cache-Busting is Bad for Documentation Sites."><i class="fas fa-file-alt"></i> Cache Control Anti Pattern</a>
|
|
167
|
+
<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="fas fa-file-alt"></i> Authentication Guide</a>
|
|
169
168
|
<a href="/guides/claude-workflow-guide.html" class="nav-item active" 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="fas fa-file-alt"></i> Claude Workflow Guide</a>
|
|
170
169
|
<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="fas fa-file-alt"></i> Documentation Standards</a>
|
|
171
|
-
<a href="/guides/next-steps-walkthrough.html" class="nav-item" data-tooltip="Now that we've implemented Supabase authentication, let's walk through testing the implementation and preparing for deployment."><i class="fas fa-file-alt"></i> Next Steps Walkthrough</a>
|
|
172
170
|
<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="fas fa-file-alt"></i> Phosphor Icons Guide</a>
|
|
171
|
+
<a href="/guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now includes automatic authentication for documents placed in a directory."><i class="fas fa-file-alt"></i> Private Directory Authentication</a>
|
|
173
172
|
<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="fas fa-file-alt"></i> Public Site Deployment</a>
|
|
174
173
|
<a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="fas fa-file-alt"></i> Search Engine Verification Guide</a>
|
|
175
174
|
<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="fas fa-file-alt"></i> Seo Guide</a>
|
|
176
175
|
<a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features that automatically optimize your documentation for search..."><i class="fas fa-file-alt"></i> Seo Optimization Guide</a>
|
|
177
|
-
<a href="/guides/supabase-auth-implementation-plan.html" class="nav-item" data-tooltip="Supabase Auth Implementation Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Implementation Plan</a>
|
|
178
|
-
<a href="/guides/supabase-auth-integration-plan.html" class="nav-item" data-tooltip="Supabase Authentication Integration Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Integration Plan</a>
|
|
179
|
-
<a href="/guides/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder now supports enterprise-grade authentication through Supabase, replacing the previous insecure basic authentication."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
|
|
180
176
|
<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="fas fa-file-alt"></i> Troubleshooting Guide</a>
|
|
181
|
-
<a href="/guides/vercel-deployment-auth-setup.html" class="nav-item" data-tooltip="Vercel Deployment Authentication Setup Guide."><i class="fas fa-file-alt"></i> Vercel Deployment Auth Setup</a>
|
|
182
177
|
<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="fas fa-file-alt"></i> Windows Setup Guide</a></div></div>
|
|
183
|
-
<div class="nav-section" data-level="1">
|
|
184
|
-
<a class="nav-title collapsible" href="/launch/README.html" data-target="nav-launch-1" >
|
|
185
|
-
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
186
|
-
</a>
|
|
187
|
-
<div class="nav-content collapsed" id="nav-launch-1">
|
|
188
|
-
<a href="/launch/README.html" class="nav-item" data-tooltip="This directory contains all documentation related to the commercial launch of @knowcode/doc-builder, including go-to-market strategy, platform..."><i class="fas fa-file-alt"></i> Launch Overview</a>
|
|
189
|
-
<a href="/launch/bubble-plugin-specification.html" class="nav-item" data-tooltip="This document outlines the technical specification for creating a Bubble.io plugin that integrates @knowcode/doc-builder, enabling Bubble developers..."><i class="fas fa-file-alt"></i> Bubble Plugin Specification</a>
|
|
190
|
-
<a href="/launch/go-to-market-strategy.html" class="nav-item" data-tooltip="Go-to-Market Strategy & Product Launch Plan."><i class="fas fa-file-alt"></i> Go To Market Strategy</a>
|
|
191
|
-
<a href="/launch/launch-announcements.html" class="nav-item" data-tooltip="This document contains ready-to-use announcement templates for launching @knowcode/doc-builder across various platforms and channels."><i class="fas fa-file-alt"></i> Launch Announcements</a></div></div>
|
|
192
178
|
</nav>
|
|
193
179
|
<div class="resize-handle"></div>
|
|
194
180
|
</aside>
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"name": "Knowcode Ltd",
|
|
66
66
|
"url": "https://knowcode.tech"
|
|
67
67
|
},
|
|
68
|
-
"datePublished": "2025-07-
|
|
69
|
-
"dateModified": "2025-07-
|
|
68
|
+
"datePublished": "2025-07-26T09:59:22.953Z",
|
|
69
|
+
"dateModified": "2025-07-26T09:59:22.953Z",
|
|
70
70
|
"mainEntityOfPage": {
|
|
71
71
|
"@type": "WebPage",
|
|
72
72
|
"@id": "https://doc-builder-delta.vercel.app/guides/documentation-standards.html"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
<div class="header-actions">
|
|
107
107
|
<div class="deployment-info">
|
|
108
|
-
<span class="deployment-date" title="Built with doc-builder v1.
|
|
108
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.0">Last updated: Jul 26, 2025, 09:59 AM UTC</span>
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
|
|
@@ -164,31 +164,17 @@
|
|
|
164
164
|
</a>
|
|
165
165
|
<div class="nav-content" id="nav-guides-1">
|
|
166
166
|
<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="fas fa-file-alt"></i> Authentication Default Change</a>
|
|
167
|
-
<a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="
|
|
168
|
-
<a href="/guides/cache-control-anti-pattern.html" class="nav-item" data-tooltip="Cache Control Anti-Pattern: Why Aggressive Cache-Busting is Bad for Documentation Sites."><i class="fas fa-file-alt"></i> Cache Control Anti Pattern</a>
|
|
167
|
+
<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="fas fa-file-alt"></i> Authentication Guide</a>
|
|
169
168
|
<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="fas fa-file-alt"></i> Claude Workflow Guide</a>
|
|
170
169
|
<a href="/guides/documentation-standards.html" class="nav-item active" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
|
|
171
|
-
<a href="/guides/next-steps-walkthrough.html" class="nav-item" data-tooltip="Now that we've implemented Supabase authentication, let's walk through testing the implementation and preparing for deployment."><i class="fas fa-file-alt"></i> Next Steps Walkthrough</a>
|
|
172
170
|
<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="fas fa-file-alt"></i> Phosphor Icons Guide</a>
|
|
171
|
+
<a href="/guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now includes automatic authentication for documents placed in a directory."><i class="fas fa-file-alt"></i> Private Directory Authentication</a>
|
|
173
172
|
<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="fas fa-file-alt"></i> Public Site Deployment</a>
|
|
174
173
|
<a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="fas fa-file-alt"></i> Search Engine Verification Guide</a>
|
|
175
174
|
<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="fas fa-file-alt"></i> Seo Guide</a>
|
|
176
175
|
<a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features that automatically optimize your documentation for search..."><i class="fas fa-file-alt"></i> Seo Optimization Guide</a>
|
|
177
|
-
<a href="/guides/supabase-auth-implementation-plan.html" class="nav-item" data-tooltip="Supabase Auth Implementation Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Implementation Plan</a>
|
|
178
|
-
<a href="/guides/supabase-auth-integration-plan.html" class="nav-item" data-tooltip="Supabase Authentication Integration Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Integration Plan</a>
|
|
179
|
-
<a href="/guides/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder now supports enterprise-grade authentication through Supabase, replacing the previous insecure basic authentication."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
|
|
180
176
|
<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="fas fa-file-alt"></i> Troubleshooting Guide</a>
|
|
181
|
-
<a href="/guides/vercel-deployment-auth-setup.html" class="nav-item" data-tooltip="Vercel Deployment Authentication Setup Guide."><i class="fas fa-file-alt"></i> Vercel Deployment Auth Setup</a>
|
|
182
177
|
<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="fas fa-file-alt"></i> Windows Setup Guide</a></div></div>
|
|
183
|
-
<div class="nav-section" data-level="1">
|
|
184
|
-
<a class="nav-title collapsible" href="/launch/README.html" data-target="nav-launch-1" >
|
|
185
|
-
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
186
|
-
</a>
|
|
187
|
-
<div class="nav-content collapsed" id="nav-launch-1">
|
|
188
|
-
<a href="/launch/README.html" class="nav-item" data-tooltip="This directory contains all documentation related to the commercial launch of @knowcode/doc-builder, including go-to-market strategy, platform..."><i class="fas fa-file-alt"></i> Launch Overview</a>
|
|
189
|
-
<a href="/launch/bubble-plugin-specification.html" class="nav-item" data-tooltip="This document outlines the technical specification for creating a Bubble.io plugin that integrates @knowcode/doc-builder, enabling Bubble developers..."><i class="fas fa-file-alt"></i> Bubble Plugin Specification</a>
|
|
190
|
-
<a href="/launch/go-to-market-strategy.html" class="nav-item" data-tooltip="Go-to-Market Strategy & Product Launch Plan."><i class="fas fa-file-alt"></i> Go To Market Strategy</a>
|
|
191
|
-
<a href="/launch/launch-announcements.html" class="nav-item" data-tooltip="This document contains ready-to-use announcement templates for launching @knowcode/doc-builder across various platforms and channels."><i class="fas fa-file-alt"></i> Launch Announcements</a></div></div>
|
|
192
178
|
</nav>
|
|
193
179
|
<div class="resize-handle"></div>
|
|
194
180
|
</aside>
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"name": "Knowcode Ltd",
|
|
66
66
|
"url": "https://knowcode.tech"
|
|
67
67
|
},
|
|
68
|
-
"datePublished": "2025-07-
|
|
69
|
-
"dateModified": "2025-07-
|
|
68
|
+
"datePublished": "2025-07-26T09:59:22.956Z",
|
|
69
|
+
"dateModified": "2025-07-26T09:59:22.956Z",
|
|
70
70
|
"mainEntityOfPage": {
|
|
71
71
|
"@type": "WebPage",
|
|
72
72
|
"@id": "https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.html"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
<div class="header-actions">
|
|
107
107
|
<div class="deployment-info">
|
|
108
|
-
<span class="deployment-date" title="Built with doc-builder v1.
|
|
108
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.0">Last updated: Jul 26, 2025, 09:59 AM UTC</span>
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
|
|
@@ -164,31 +164,17 @@
|
|
|
164
164
|
</a>
|
|
165
165
|
<div class="nav-content" id="nav-guides-1">
|
|
166
166
|
<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="fas fa-file-alt"></i> Authentication Default Change</a>
|
|
167
|
-
<a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="
|
|
168
|
-
<a href="/guides/cache-control-anti-pattern.html" class="nav-item" data-tooltip="Cache Control Anti-Pattern: Why Aggressive Cache-Busting is Bad for Documentation Sites."><i class="fas fa-file-alt"></i> Cache Control Anti Pattern</a>
|
|
167
|
+
<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="fas fa-file-alt"></i> Authentication Guide</a>
|
|
169
168
|
<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="fas fa-file-alt"></i> Claude Workflow Guide</a>
|
|
170
169
|
<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="fas fa-file-alt"></i> Documentation Standards</a>
|
|
171
|
-
<a href="/guides/next-steps-walkthrough.html" class="nav-item" data-tooltip="Now that we've implemented Supabase authentication, let's walk through testing the implementation and preparing for deployment."><i class="fas fa-file-alt"></i> Next Steps Walkthrough</a>
|
|
172
170
|
<a href="/guides/phosphor-icons-guide.html" class="nav-item active" data-tooltip="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML."><i class="fas fa-file-alt"></i> Phosphor Icons Guide</a>
|
|
171
|
+
<a href="/guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now includes automatic authentication for documents placed in a directory."><i class="fas fa-file-alt"></i> Private Directory Authentication</a>
|
|
173
172
|
<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="fas fa-file-alt"></i> Public Site Deployment</a>
|
|
174
173
|
<a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="fas fa-file-alt"></i> Search Engine Verification Guide</a>
|
|
175
174
|
<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="fas fa-file-alt"></i> Seo Guide</a>
|
|
176
175
|
<a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features that automatically optimize your documentation for search..."><i class="fas fa-file-alt"></i> Seo Optimization Guide</a>
|
|
177
|
-
<a href="/guides/supabase-auth-implementation-plan.html" class="nav-item" data-tooltip="Supabase Auth Implementation Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Implementation Plan</a>
|
|
178
|
-
<a href="/guides/supabase-auth-integration-plan.html" class="nav-item" data-tooltip="Supabase Authentication Integration Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Integration Plan</a>
|
|
179
|
-
<a href="/guides/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder now supports enterprise-grade authentication through Supabase, replacing the previous insecure basic authentication."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
|
|
180
176
|
<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="fas fa-file-alt"></i> Troubleshooting Guide</a>
|
|
181
|
-
<a href="/guides/vercel-deployment-auth-setup.html" class="nav-item" data-tooltip="Vercel Deployment Authentication Setup Guide."><i class="fas fa-file-alt"></i> Vercel Deployment Auth Setup</a>
|
|
182
177
|
<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="fas fa-file-alt"></i> Windows Setup Guide</a></div></div>
|
|
183
|
-
<div class="nav-section" data-level="1">
|
|
184
|
-
<a class="nav-title collapsible" href="/launch/README.html" data-target="nav-launch-1" >
|
|
185
|
-
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
186
|
-
</a>
|
|
187
|
-
<div class="nav-content collapsed" id="nav-launch-1">
|
|
188
|
-
<a href="/launch/README.html" class="nav-item" data-tooltip="This directory contains all documentation related to the commercial launch of @knowcode/doc-builder, including go-to-market strategy, platform..."><i class="fas fa-file-alt"></i> Launch Overview</a>
|
|
189
|
-
<a href="/launch/bubble-plugin-specification.html" class="nav-item" data-tooltip="This document outlines the technical specification for creating a Bubble.io plugin that integrates @knowcode/doc-builder, enabling Bubble developers..."><i class="fas fa-file-alt"></i> Bubble Plugin Specification</a>
|
|
190
|
-
<a href="/launch/go-to-market-strategy.html" class="nav-item" data-tooltip="Go-to-Market Strategy & Product Launch Plan."><i class="fas fa-file-alt"></i> Go To Market Strategy</a>
|
|
191
|
-
<a href="/launch/launch-announcements.html" class="nav-item" data-tooltip="This document contains ready-to-use announcement templates for launching @knowcode/doc-builder across various platforms and channels."><i class="fas fa-file-alt"></i> Launch Announcements</a></div></div>
|
|
192
178
|
</nav>
|
|
193
179
|
<div class="resize-handle"></div>
|
|
194
180
|
</aside>
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="description" content="The @knowcode/doc-builder now includes automatic authentication for documents placed in a `private` directory. This feature provides a simple,...">
|
|
7
|
+
<title>Private Directory Authentication Guide</title>
|
|
8
|
+
|
|
9
|
+
<meta name="author" content="Lindsay Smith">
|
|
10
|
+
<meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, private, directory">
|
|
11
|
+
<meta name="robots" content="index, follow">
|
|
12
|
+
<link rel="canonical" href="https://doc-builder-delta.vercel.app/guides/private-directory-authentication.html">
|
|
13
|
+
|
|
14
|
+
<!-- Open Graph / Facebook -->
|
|
15
|
+
<meta property="og:type" content="article">
|
|
16
|
+
<meta property="og:url" content="https://doc-builder-delta.vercel.app/guides/private-directory-authentication.html">
|
|
17
|
+
<meta property="og:title" content="Private Directory Authentication Guide">
|
|
18
|
+
<meta property="og:description" content="The @knowcode/doc-builder now includes automatic authentication for documents placed in a `private` directory. This feature provides a simple,...">
|
|
19
|
+
<meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
20
|
+
<meta property="og:site_name" content="@knowcode/doc-builder">
|
|
21
|
+
<meta property="og:locale" content="en_US">
|
|
22
|
+
|
|
23
|
+
<!-- Twitter Card -->
|
|
24
|
+
<meta name="twitter:card" content="summary_large_image">
|
|
25
|
+
<meta name="twitter:site" content="@planbbackups">
|
|
26
|
+
<meta name="twitter:creator" content="@planbbackups">
|
|
27
|
+
<meta name="twitter:title" content="Private Directory Authentication Guide">
|
|
28
|
+
<meta name="twitter:description" content="The @knowcode/doc-builder now includes automatic authentication for documents placed in a `private` directory. This feature provides a simple,...">
|
|
29
|
+
<meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
30
|
+
|
|
31
|
+
<!-- Custom Meta Tags -->
|
|
32
|
+
<meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
|
|
33
|
+
<meta name="msvalidate.01" content="B2D8C4C12C530D47AA962B24CAA09630">
|
|
34
|
+
|
|
35
|
+
<!-- Fonts -->
|
|
36
|
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
37
|
+
|
|
38
|
+
<!-- Icons -->
|
|
39
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
|
40
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css">
|
|
41
|
+
|
|
42
|
+
<!-- Mermaid -->
|
|
43
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
|
|
44
|
+
|
|
45
|
+
<!-- Styles -->
|
|
46
|
+
<link rel="stylesheet" href="/css/notion-style.css">
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<!-- Favicon -->
|
|
51
|
+
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>✨</text></svg>">
|
|
52
|
+
|
|
53
|
+
<script type="application/ld+json">
|
|
54
|
+
{
|
|
55
|
+
"@context": "https://schema.org",
|
|
56
|
+
"@type": "TechArticle",
|
|
57
|
+
"headline": "Private Directory Authentication Guide",
|
|
58
|
+
"description": "The @knowcode/doc-builder now includes automatic authentication for documents placed in a `private` directory. This feature provides a simple,...",
|
|
59
|
+
"author": {
|
|
60
|
+
"@type": "Person",
|
|
61
|
+
"name": "Lindsay Smith"
|
|
62
|
+
},
|
|
63
|
+
"publisher": {
|
|
64
|
+
"@type": "Organization",
|
|
65
|
+
"name": "Knowcode Ltd",
|
|
66
|
+
"url": "https://knowcode.tech"
|
|
67
|
+
},
|
|
68
|
+
"datePublished": "2025-07-26T09:59:22.958Z",
|
|
69
|
+
"dateModified": "2025-07-26T09:59:22.958Z",
|
|
70
|
+
"mainEntityOfPage": {
|
|
71
|
+
"@type": "WebPage",
|
|
72
|
+
"@id": "https://doc-builder-delta.vercel.app/guides/private-directory-authentication.html"
|
|
73
|
+
},
|
|
74
|
+
"breadcrumb": {
|
|
75
|
+
"@type": "BreadcrumbList",
|
|
76
|
+
"itemListElement": [
|
|
77
|
+
{
|
|
78
|
+
"@type": "ListItem",
|
|
79
|
+
"position": 1,
|
|
80
|
+
"name": "@knowcode/doc-builder",
|
|
81
|
+
"item": "https://doc-builder-delta.vercel.app"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"@type": "ListItem",
|
|
85
|
+
"position": 2,
|
|
86
|
+
"name": "Guides",
|
|
87
|
+
"item": "https://doc-builder-delta.vercel.app/guides/"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"@type": "ListItem",
|
|
91
|
+
"position": 3,
|
|
92
|
+
"name": "Private Directory Authentication",
|
|
93
|
+
"item": "https://doc-builder-delta.vercel.app/guides/private-directory-authentication.html"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</script>
|
|
99
|
+
</head>
|
|
100
|
+
<body>
|
|
101
|
+
<!-- Header -->
|
|
102
|
+
<header class="header">
|
|
103
|
+
<div class="header-content">
|
|
104
|
+
<a href="/index.html" class="logo">@knowcode/doc-builder</a>
|
|
105
|
+
|
|
106
|
+
<div class="header-actions">
|
|
107
|
+
<div class="deployment-info">
|
|
108
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.0">Last updated: Jul 26, 2025, 09:59 AM UTC</span>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
|
|
114
|
+
<i class="fas fa-moon"></i>
|
|
115
|
+
</button>
|
|
116
|
+
|
|
117
|
+
<button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
|
|
118
|
+
<i class="fas fa-bars"></i>
|
|
119
|
+
</button>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</header>
|
|
123
|
+
|
|
124
|
+
<!-- Preview Banner -->
|
|
125
|
+
<div id="preview-banner" class="preview-banner">
|
|
126
|
+
<div class="banner-content">
|
|
127
|
+
<i class="fas fa-exclamation-triangle banner-icon"></i>
|
|
128
|
+
<span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
|
|
129
|
+
<button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
|
|
130
|
+
<i class="fas fa-times"></i>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<!-- Breadcrumbs -->
|
|
136
|
+
<nav class="breadcrumbs" id="breadcrumbs">
|
|
137
|
+
<!-- Breadcrumbs will be generated by JavaScript -->
|
|
138
|
+
</nav>
|
|
139
|
+
|
|
140
|
+
<!-- Main Content -->
|
|
141
|
+
<div class="main-wrapper">
|
|
142
|
+
<!-- Sidebar -->
|
|
143
|
+
<aside class="sidebar">
|
|
144
|
+
<div class="sidebar-header">
|
|
145
|
+
<div class="filter-box">
|
|
146
|
+
<input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
|
|
147
|
+
<i class="fas fa-search filter-icon"></i>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
<nav class="navigation">
|
|
151
|
+
|
|
152
|
+
<div class="nav-section" data-level="0">
|
|
153
|
+
<a class="nav-title" href="/README.html" >
|
|
154
|
+
<i class="fas fa-home"></i> Documentation
|
|
155
|
+
</a>
|
|
156
|
+
<div class="nav-content" >
|
|
157
|
+
<a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
|
|
158
|
+
<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>
|
|
159
|
+
<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>
|
|
160
|
+
<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>
|
|
161
|
+
<div class="nav-section" data-level="1">
|
|
162
|
+
<a class="nav-title collapsible expanded" href="#" data-target="nav-guides-1" >
|
|
163
|
+
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Guides
|
|
164
|
+
</a>
|
|
165
|
+
<div class="nav-content" id="nav-guides-1">
|
|
166
|
+
<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="fas fa-file-alt"></i> Authentication Default Change</a>
|
|
167
|
+
<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="fas fa-file-alt"></i> Authentication Guide</a>
|
|
168
|
+
<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="fas fa-file-alt"></i> Claude Workflow Guide</a>
|
|
169
|
+
<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="fas fa-file-alt"></i> Documentation Standards</a>
|
|
170
|
+
<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="fas fa-file-alt"></i> Phosphor Icons Guide</a>
|
|
171
|
+
<a href="/guides/private-directory-authentication.html" class="nav-item active" data-tooltip="The @knowcode/doc-builder now includes automatic authentication for documents placed in a directory."><i class="fas fa-file-alt"></i> Private Directory Authentication</a>
|
|
172
|
+
<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="fas fa-file-alt"></i> Public Site Deployment</a>
|
|
173
|
+
<a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="fas fa-file-alt"></i> Search Engine Verification Guide</a>
|
|
174
|
+
<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="fas fa-file-alt"></i> Seo Guide</a>
|
|
175
|
+
<a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features that automatically optimize your documentation for search..."><i class="fas fa-file-alt"></i> Seo Optimization Guide</a>
|
|
176
|
+
<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="fas fa-file-alt"></i> Troubleshooting Guide</a>
|
|
177
|
+
<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="fas fa-file-alt"></i> Windows Setup Guide</a></div></div>
|
|
178
|
+
</nav>
|
|
179
|
+
<div class="resize-handle"></div>
|
|
180
|
+
</aside>
|
|
181
|
+
|
|
182
|
+
<!-- Content Area -->
|
|
183
|
+
<main class="content">
|
|
184
|
+
<div class="content-inner">
|
|
185
|
+
<h1>Private Directory Authentication Guide</h1>
|
|
186
|
+
<h2>Overview</h2>
|
|
187
|
+
<p>The @knowcode/doc-builder now includes automatic authentication for documents placed in a <code>private</code> directory. This feature provides a simple, convention-based approach to protecting sensitive documentation without requiring complex configuration.</p>
|
|
188
|
+
<h2>How It Works</h2>
|
|
189
|
+
<h3>Automatic Detection</h3>
|
|
190
|
+
<p>When the doc-builder detects a <code>docs/private/</code> directory during the build process, it automatically:</p>
|
|
191
|
+
<ol>
|
|
192
|
+
<li>Enables Supabase authentication for the entire site</li>
|
|
193
|
+
<li>Hides all private documents from unauthenticated users</li>
|
|
194
|
+
<li>Shows a login button in the header</li>
|
|
195
|
+
<li>Requires authentication to access any document in the private directory</li>
|
|
196
|
+
</ol>
|
|
197
|
+
<h3>Zero Configuration</h3>
|
|
198
|
+
<p>Simply create a <code>private</code> folder in your docs directory:</p>
|
|
199
|
+
<pre><code>docs/
|
|
200
|
+
├── README.md # Public documentation
|
|
201
|
+
├── guides/ # Public guides
|
|
202
|
+
│ └── setup.md
|
|
203
|
+
└── private/ # 🔐 Protected documents
|
|
204
|
+
├── api-keys.md
|
|
205
|
+
├── internal/
|
|
206
|
+
│ └── architecture.md
|
|
207
|
+
└── team-notes.md
|
|
208
|
+
</code></pre>
|
|
209
|
+
<p>That's it! No configuration changes needed.</p>
|
|
210
|
+
<h2>User Experience</h2>
|
|
211
|
+
<h3>For Unauthenticated Users</h3>
|
|
212
|
+
<ul>
|
|
213
|
+
<li>Private documents are completely invisible in the navigation menu</li>
|
|
214
|
+
<li>Attempting to access a private URL directly redirects to login</li>
|
|
215
|
+
<li>Only public documentation is shown</li>
|
|
216
|
+
<li>Login icon appears in the header</li>
|
|
217
|
+
</ul>
|
|
218
|
+
<h3>For Authenticated Users</h3>
|
|
219
|
+
<ul>
|
|
220
|
+
<li>Full navigation menu including private documents</li>
|
|
221
|
+
<li>Seamless access to all documentation</li>
|
|
222
|
+
<li>Logout icon replaces login icon in header</li>
|
|
223
|
+
<li>No visual distinction between public and private docs</li>
|
|
224
|
+
</ul>
|
|
225
|
+
<h2>Setting Up Authentication</h2>
|
|
226
|
+
<p>While the private directory triggers authentication automatically, you still need to configure Supabase credentials:</p>
|
|
227
|
+
<h3>1. Configure Supabase</h3>
|
|
228
|
+
<p>In your <code>doc-builder.config.js</code>:</p>
|
|
229
|
+
<pre><code class="language-javascript">module.exports = {
|
|
230
|
+
auth: {
|
|
231
|
+
supabaseUrl: 'https://your-project.supabase.co',
|
|
232
|
+
supabaseAnonKey: 'your-anon-key',
|
|
233
|
+
siteId: 'your-site-id'
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
</code></pre>
|
|
237
|
+
<h3>2. Set Up Database Access</h3>
|
|
238
|
+
<p>Create the <code>docbuilder_access</code> table in Supabase:</p>
|
|
239
|
+
<pre><code class="language-sql">CREATE TABLE docbuilder_access (
|
|
240
|
+
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
|
|
241
|
+
user_id UUID REFERENCES auth.users(id) ON DELETE CASCADE,
|
|
242
|
+
site_id TEXT NOT NULL,
|
|
243
|
+
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
|
|
244
|
+
UNIQUE(user_id, site_id)
|
|
245
|
+
);
|
|
246
|
+
</code></pre>
|
|
247
|
+
<h3>3. Grant User Access</h3>
|
|
248
|
+
<p>Add users to your site:</p>
|
|
249
|
+
<pre><code class="language-sql">INSERT INTO docbuilder_access (user_id, site_id)
|
|
250
|
+
VALUES ('user-uuid-here', 'your-site-id');
|
|
251
|
+
</code></pre>
|
|
252
|
+
<h2>Best Practices</h2>
|
|
253
|
+
<h3>Organizing Private Content</h3>
|
|
254
|
+
<p>Structure your private directory logically:</p>
|
|
255
|
+
<pre><code>private/
|
|
256
|
+
├── admin/ # Admin-only documentation
|
|
257
|
+
├── api/ # Internal API docs
|
|
258
|
+
├── deployment/ # Deployment guides
|
|
259
|
+
├── keys-and-secrets/ # Sensitive configurations
|
|
260
|
+
└── team/ # Team-specific docs
|
|
261
|
+
</code></pre>
|
|
262
|
+
<h3>Security Considerations</h3>
|
|
263
|
+
<ol>
|
|
264
|
+
<li><strong>Complete Isolation</strong>: Private documents are never sent to unauthenticated users</li>
|
|
265
|
+
<li><strong>No Partial Access</strong>: Users either see all private docs or none</li>
|
|
266
|
+
<li><strong>Server-Side Protection</strong>: Navigation filtering happens during build time</li>
|
|
267
|
+
<li><strong>Client-Side Verification</strong>: Additional checks on the client prevent unauthorized access</li>
|
|
268
|
+
</ol>
|
|
269
|
+
<h3>Migration Tips</h3>
|
|
270
|
+
<p>If you have existing documentation:</p>
|
|
271
|
+
<ol>
|
|
272
|
+
<li>Identify sensitive documents</li>
|
|
273
|
+
<li>Move them to the <code>private/</code> directory</li>
|
|
274
|
+
<li>Update any internal links</li>
|
|
275
|
+
<li>Rebuild and deploy</li>
|
|
276
|
+
</ol>
|
|
277
|
+
<h2>Examples</h2>
|
|
278
|
+
<h3>Simple Private Document</h3>
|
|
279
|
+
<p>Create <code>docs/private/api-keys.md</code>:</p>
|
|
280
|
+
<pre><code class="language-markdown"># API Keys and Secrets
|
|
281
|
+
|
|
282
|
+
## Production Keys
|
|
283
|
+
|
|
284
|
+
- API Gateway: `sk_live_...`
|
|
285
|
+
- Database: `postgres://...`
|
|
286
|
+
- Third-party service: `...`
|
|
287
|
+
</code></pre>
|
|
288
|
+
<p>This document will only be visible to authenticated users.</p>
|
|
289
|
+
<h3>Mixed Public/Private Structure</h3>
|
|
290
|
+
<pre><code>docs/
|
|
291
|
+
├── README.md # ✅ Public
|
|
292
|
+
├── guides/
|
|
293
|
+
│ ├── getting-started.md # ✅ Public
|
|
294
|
+
│ └── troubleshooting.md # ✅ Public
|
|
295
|
+
├── api/
|
|
296
|
+
│ ├── overview.md # ✅ Public
|
|
297
|
+
│ └── endpoints.md # ✅ Public
|
|
298
|
+
└── private/
|
|
299
|
+
├── deployment-guide.md # 🔐 Private
|
|
300
|
+
├── internal-api.md # 🔐 Private
|
|
301
|
+
└── team/
|
|
302
|
+
├── onboarding.md # 🔐 Private
|
|
303
|
+
└── processes.md # 🔐 Private
|
|
304
|
+
</code></pre>
|
|
305
|
+
<h2>Troubleshooting</h2>
|
|
306
|
+
<h3>Private Directory Not Detected</h3>
|
|
307
|
+
<p>Ensure your private directory is directly under the docs folder:</p>
|
|
308
|
+
<ul>
|
|
309
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>docs/private/</code></li>
|
|
310
|
+
<li><i class="ph ph-x-circle" aria-label="error"></i> <code>docs/guides/private/</code></li>
|
|
311
|
+
</ul>
|
|
312
|
+
<h3>Authentication Not Working</h3>
|
|
313
|
+
<p>Check the console for messages:</p>
|
|
314
|
+
<ul>
|
|
315
|
+
<li>"<i class="ph ph-lock-key" aria-label="secure"></i> Found private directory - automatically enabling Supabase authentication"</li>
|
|
316
|
+
<li>"<i class="ph ph-warning-circle" aria-label="warning"></i> Supabase credentials not configured"</li>
|
|
317
|
+
</ul>
|
|
318
|
+
<h3>Users Can't Access Private Docs</h3>
|
|
319
|
+
<p>Verify:</p>
|
|
320
|
+
<ol>
|
|
321
|
+
<li>User exists in Supabase Auth</li>
|
|
322
|
+
<li>User has entry in <code>docbuilder_access</code> table</li>
|
|
323
|
+
<li><code>site_id</code> matches your configuration</li>
|
|
324
|
+
</ol>
|
|
325
|
+
<h2>Summary</h2>
|
|
326
|
+
<p>The private directory feature provides the simplest way to protect sensitive documentation:</p>
|
|
327
|
+
<ol>
|
|
328
|
+
<li>Create <code>docs/private/</code> directory</li>
|
|
329
|
+
<li>Put sensitive docs inside</li>
|
|
330
|
+
<li>Configure Supabase credentials</li>
|
|
331
|
+
<li>Deploy</li>
|
|
332
|
+
</ol>
|
|
333
|
+
<p>No complex configuration, no manual setup - just organize your files and go!</p>
|
|
334
|
+
|
|
335
|
+
</div>
|
|
336
|
+
</main>
|
|
337
|
+
</div>
|
|
338
|
+
|
|
339
|
+
<!-- Scripts -->
|
|
340
|
+
<script>
|
|
341
|
+
// Pass configuration to frontend
|
|
342
|
+
window.docBuilderConfig = {
|
|
343
|
+
features: {
|
|
344
|
+
showPdfDownload: true,
|
|
345
|
+
menuDefaultOpen: false
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
</script>
|
|
349
|
+
<script src="/js/main.js"></script>
|
|
350
|
+
|
|
351
|
+
</body>
|
|
352
|
+
</html>
|