@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
|
@@ -0,0 +1,279 @@
|
|
|
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="All references to the old client-side authentication system have been removed from @knowcode/doc-builder. The project now exclusively uses Supabase for...">
|
|
7
|
+
<title>Authentication System Cleanup Summary</title>
|
|
8
|
+
|
|
9
|
+
<meta name="author" content="Lindsay Smith">
|
|
10
|
+
<meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, supabase, authentication">
|
|
11
|
+
<meta name="robots" content="index, follow">
|
|
12
|
+
<link rel="canonical" href="https://doc-builder-delta.vercel.app/private/launch/auth-cleanup-summary.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/private/launch/auth-cleanup-summary.html">
|
|
17
|
+
<meta property="og:title" content="Authentication System Cleanup Summary">
|
|
18
|
+
<meta property="og:description" content="All references to the old client-side authentication system have been removed from @knowcode/doc-builder. The project now exclusively uses Supabase for...">
|
|
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="Authentication System Cleanup Summary">
|
|
28
|
+
<meta name="twitter:description" content="All references to the old client-side authentication system have been removed from @knowcode/doc-builder. The project now exclusively uses Supabase for...">
|
|
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": "Authentication System Cleanup Summary",
|
|
58
|
+
"description": "All references to the old client-side authentication system have been removed from @knowcode/doc-builder. The project now exclusively uses Supabase for...",
|
|
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.987Z",
|
|
69
|
+
"dateModified": "2025-07-26T09:59:22.987Z",
|
|
70
|
+
"mainEntityOfPage": {
|
|
71
|
+
"@type": "WebPage",
|
|
72
|
+
"@id": "https://doc-builder-delta.vercel.app/private/launch/auth-cleanup-summary.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": "Private",
|
|
87
|
+
"item": "https://doc-builder-delta.vercel.app/private/"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"@type": "ListItem",
|
|
91
|
+
"position": 3,
|
|
92
|
+
"name": "Launch",
|
|
93
|
+
"item": "https://doc-builder-delta.vercel.app/private/launch/"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"@type": "ListItem",
|
|
97
|
+
"position": 4,
|
|
98
|
+
"name": "Auth Cleanup Summary",
|
|
99
|
+
"item": "https://doc-builder-delta.vercel.app/private/launch/auth-cleanup-summary.html"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</script>
|
|
105
|
+
</head>
|
|
106
|
+
<body>
|
|
107
|
+
<!-- Header -->
|
|
108
|
+
<header class="header">
|
|
109
|
+
<div class="header-content">
|
|
110
|
+
<a href="/index.html" class="logo">@knowcode/doc-builder</a>
|
|
111
|
+
|
|
112
|
+
<div class="header-actions">
|
|
113
|
+
<div class="deployment-info">
|
|
114
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.0">Last updated: Jul 26, 2025, 09:59 AM UTC</span>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
|
|
120
|
+
<i class="fas fa-moon"></i>
|
|
121
|
+
</button>
|
|
122
|
+
|
|
123
|
+
<button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
|
|
124
|
+
<i class="fas fa-bars"></i>
|
|
125
|
+
</button>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</header>
|
|
129
|
+
|
|
130
|
+
<!-- Preview Banner -->
|
|
131
|
+
<div id="preview-banner" class="preview-banner">
|
|
132
|
+
<div class="banner-content">
|
|
133
|
+
<i class="fas fa-exclamation-triangle banner-icon"></i>
|
|
134
|
+
<span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
|
|
135
|
+
<button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
|
|
136
|
+
<i class="fas fa-times"></i>
|
|
137
|
+
</button>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
<!-- Breadcrumbs -->
|
|
142
|
+
<nav class="breadcrumbs" id="breadcrumbs">
|
|
143
|
+
<!-- Breadcrumbs will be generated by JavaScript -->
|
|
144
|
+
</nav>
|
|
145
|
+
|
|
146
|
+
<!-- Main Content -->
|
|
147
|
+
<div class="main-wrapper">
|
|
148
|
+
<!-- Sidebar -->
|
|
149
|
+
<aside class="sidebar">
|
|
150
|
+
<div class="sidebar-header">
|
|
151
|
+
<div class="filter-box">
|
|
152
|
+
<input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
|
|
153
|
+
<i class="fas fa-search filter-icon"></i>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
<nav class="navigation">
|
|
157
|
+
|
|
158
|
+
<div class="nav-section" data-level="0">
|
|
159
|
+
<a class="nav-title" href="/README.html" >
|
|
160
|
+
<i class="fas fa-home"></i> Documentation
|
|
161
|
+
</a>
|
|
162
|
+
<div class="nav-content" >
|
|
163
|
+
<a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
|
|
164
|
+
<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>
|
|
165
|
+
<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>
|
|
166
|
+
<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>
|
|
167
|
+
<div class="nav-section" data-level="1">
|
|
168
|
+
<a class="nav-title collapsible" href="#" data-target="nav-guides-1" >
|
|
169
|
+
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Guides
|
|
170
|
+
</a>
|
|
171
|
+
<div class="nav-content collapsed" id="nav-guides-1">
|
|
172
|
+
<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>
|
|
173
|
+
<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>
|
|
174
|
+
<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>
|
|
175
|
+
<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>
|
|
176
|
+
<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>
|
|
177
|
+
<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>
|
|
178
|
+
<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>
|
|
179
|
+
<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>
|
|
180
|
+
<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>
|
|
181
|
+
<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>
|
|
182
|
+
<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>
|
|
183
|
+
<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>
|
|
184
|
+
</nav>
|
|
185
|
+
<div class="resize-handle"></div>
|
|
186
|
+
</aside>
|
|
187
|
+
|
|
188
|
+
<!-- Content Area -->
|
|
189
|
+
<main class="content">
|
|
190
|
+
<div class="content-inner">
|
|
191
|
+
<h1>Authentication System Cleanup Summary</h1>
|
|
192
|
+
<h2>Overview</h2>
|
|
193
|
+
<p>All references to the old client-side authentication system have been removed from @knowcode/doc-builder. The project now exclusively uses Supabase for authentication needs.</p>
|
|
194
|
+
<h2>Changes Made</h2>
|
|
195
|
+
<h3>1. Removed Files</h3>
|
|
196
|
+
<ul>
|
|
197
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>/assets/js/auth.js</code> - Old client-side auth script deleted</li>
|
|
198
|
+
</ul>
|
|
199
|
+
<h3>2. Updated Documentation</h3>
|
|
200
|
+
<ul>
|
|
201
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>/docs/guides/authentication-guide.md</code> - Completely rewritten for Supabase only</li>
|
|
202
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>/docs/guides/public-site-deployment.md</code> - Updated migration section</li>
|
|
203
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>/docs/guides/supabase-auth-setup-guide.md</code> - Removed old auth references</li>
|
|
204
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> <code>/docs/launch/bubble-plugin-specification.md</code> - Updated to Supabase auth</li>
|
|
205
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Created <code>/docs/guides/supabase-auth-implementation-completed.md</code> - Records completion</li>
|
|
206
|
+
</ul>
|
|
207
|
+
<h3>3. CLI Updates</h3>
|
|
208
|
+
<ul>
|
|
209
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Updated help text in <code>cli.js</code> to reference Supabase authentication</li>
|
|
210
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Removed "password protection" terminology</li>
|
|
211
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> All auth references now point to Supabase</li>
|
|
212
|
+
</ul>
|
|
213
|
+
<h3>4. Configuration Changes</h3>
|
|
214
|
+
<ul>
|
|
215
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Default config has <code>authentication: false</code></li>
|
|
216
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Notion preset has <code>authentication: false</code> </li>
|
|
217
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> Only Supabase auth can be enabled with <code>authentication: 'supabase'</code></li>
|
|
218
|
+
</ul>
|
|
219
|
+
<h2>Current State</h2>
|
|
220
|
+
<h3>Authentication Options</h3>
|
|
221
|
+
<ol>
|
|
222
|
+
<li><p><strong>No Authentication (Default)</strong></p>
|
|
223
|
+
<pre><code class="language-javascript">// No config needed - public by default
|
|
224
|
+
</code></pre>
|
|
225
|
+
</li>
|
|
226
|
+
<li><p><strong>Supabase Authentication</strong></p>
|
|
227
|
+
<pre><code class="language-javascript">features: {
|
|
228
|
+
authentication: 'supabase'
|
|
229
|
+
},
|
|
230
|
+
auth: {
|
|
231
|
+
supabaseUrl: 'https://xxx.supabase.co',
|
|
232
|
+
supabaseAnonKey: 'xxx',
|
|
233
|
+
siteId: 'xxx'
|
|
234
|
+
}
|
|
235
|
+
</code></pre>
|
|
236
|
+
</li>
|
|
237
|
+
</ol>
|
|
238
|
+
<h3>CLI Commands</h3>
|
|
239
|
+
<ul>
|
|
240
|
+
<li><code>npx @knowcode/doc-builder build</code> - Builds public site by default</li>
|
|
241
|
+
<li><code>npx @knowcode/doc-builder build --no-auth</code> - Forces public build</li>
|
|
242
|
+
<li><code>npx @knowcode/doc-builder deploy</code> - Deploys based on config</li>
|
|
243
|
+
<li><code>npx @knowcode/doc-builder deploy --no-auth</code> - Forces public deployment</li>
|
|
244
|
+
</ul>
|
|
245
|
+
<h2>What Users Need to Know</h2>
|
|
246
|
+
<ol>
|
|
247
|
+
<li><strong>Authentication is disabled by default</strong> - Public docs work out of the box</li>
|
|
248
|
+
<li><strong>Only Supabase is supported</strong> - No other auth methods available</li>
|
|
249
|
+
<li><strong>Old configs won't work</strong> - Must migrate to Supabase if auth needed</li>
|
|
250
|
+
<li><strong>Clear documentation</strong> - Full guide at <code>/docs/guides/authentication-guide.md</code></li>
|
|
251
|
+
</ol>
|
|
252
|
+
<h2>No Traces Remain</h2>
|
|
253
|
+
<ul>
|
|
254
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> No username/password fields in config</li>
|
|
255
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> No client-side credential checking</li>
|
|
256
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> No references to "basic auth" in active code</li>
|
|
257
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> No old auth.js files</li>
|
|
258
|
+
<li><i class="ph ph-check-circle" aria-label="checked"></i> All documentation updated</li>
|
|
259
|
+
</ul>
|
|
260
|
+
<p>The cleanup is complete. @knowcode/doc-builder now has a clean, secure authentication system powered exclusively by Supabase.</p>
|
|
261
|
+
|
|
262
|
+
</div>
|
|
263
|
+
</main>
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
<!-- Scripts -->
|
|
267
|
+
<script>
|
|
268
|
+
// Pass configuration to frontend
|
|
269
|
+
window.docBuilderConfig = {
|
|
270
|
+
features: {
|
|
271
|
+
showPdfDownload: true,
|
|
272
|
+
menuDefaultOpen: false
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
</script>
|
|
276
|
+
<script src="/js/main.js"></script>
|
|
277
|
+
|
|
278
|
+
</body>
|
|
279
|
+
</html>
|