@knowcode/doc-builder 1.9.1 → 1.9.2

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -0
  3. package/html/README.html +150 -33
  4. package/html/css/notion-style.css +394 -13
  5. package/html/documentation-index.html +128 -10
  6. package/html/guides/authentication-default-change.html +131 -7
  7. package/html/guides/authentication-guide.html +142 -19
  8. package/html/guides/claude-workflow-guide.html +138 -22
  9. package/html/guides/documentation-standards.html +134 -11
  10. package/html/guides/html-embedding-guide.html +450 -0
  11. package/html/guides/image-modal-guide.html +133 -10
  12. package/html/guides/phosphor-icons-guide.html +151 -27
  13. package/html/guides/private-directory-authentication.html +131 -7
  14. package/html/guides/public-site-deployment.html +131 -7
  15. package/html/guides/search-engine-verification-guide.html +131 -7
  16. package/html/guides/seo-guide.html +131 -7
  17. package/html/guides/seo-optimization-guide.html +160 -38
  18. package/html/guides/troubleshooting-guide.html +142 -19
  19. package/html/guides/windows-setup-guide.html +162 -38
  20. package/html/image-modal-test.html +126 -8
  21. package/html/index.html +150 -33
  22. package/html/js/auth.js +118 -39
  23. package/html/js/main.js +259 -25
  24. package/html/private/cache-control-anti-pattern.html +136 -12
  25. package/html/private/launch/README.html +145 -15
  26. package/html/private/launch/auth-cleanup-summary.html +154 -24
  27. package/html/private/launch/bubble-plugin-specification.html +137 -7
  28. package/html/private/launch/go-to-market-strategy.html +139 -9
  29. package/html/private/launch/launch-announcements.html +153 -24
  30. package/html/private/launch/vercel-deployment-auth-setup.html +139 -9
  31. package/html/private/next-steps-walkthrough.html +138 -14
  32. package/html/private/supabase-auth-implementation-completed.html +144 -21
  33. package/html/private/supabase-auth-implementation-plan.html +137 -14
  34. package/html/private/supabase-auth-integration-plan.html +143 -21
  35. package/html/private/supabase-auth-setup-guide.html +140 -16
  36. package/html/private/test-private-doc.html +131 -7
  37. package/html/private/user-management-tooling.html +131 -7
  38. package/html/prompts/markdown-document-standards.html +135 -12
  39. package/html/sitemap.xml +58 -46
  40. package/html/vercel-cli-setup-guide.html +129 -11
  41. package/html/vercel-first-time-setup-guide.html +126 -8
  42. package/lib/config.js +2 -0
  43. package/package.json +1 -1
@@ -3,14 +3,41 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="description" content="Beautiful documentation with the least effort possible">
7
- <title>Supabase Authentication Implementation - COMPLETED ✅ - @knowcode/doc-builder</title>
6
+ <meta name="description" content="This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+. All references to the old insecure...">
7
+ <title>Supabase Authentication Implementation - COMPLE...</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/supabase-auth-implementation-completed.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/supabase-auth-implementation-completed.html">
17
+ <meta property="og:title" content="Supabase Authentication Implementation - COMPLE...">
18
+ <meta property="og:description" content="This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+. All references to the old insecure...">
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="Supabase Authentication Implementation - COMPLE...">
28
+ <meta name="twitter:description" content="This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+. All references to the old insecure...">
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">
8
34
 
9
35
  <!-- Fonts -->
10
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">
11
37
 
12
38
  <!-- Icons -->
13
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">
14
41
 
15
42
  <!-- Mermaid -->
16
43
  <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
@@ -18,8 +45,90 @@
18
45
  <!-- Styles -->
19
46
  <link rel="stylesheet" href="/css/notion-style.css">
20
47
 
48
+
49
+ <!-- Hide content until auth check -->
50
+ <style>
51
+ body {
52
+ visibility: hidden;
53
+ opacity: 0;
54
+ transition: opacity 0.3s ease;
55
+ }
56
+ body.authenticated {
57
+ visibility: visible;
58
+ opacity: 1;
59
+ }
60
+ /* Show login/logout pages immediately */
61
+ body.auth-page {
62
+ visibility: visible;
63
+ opacity: 1;
64
+ }
65
+ /* Style auth button consistently */
66
+ .auth-btn {
67
+ background: none;
68
+ border: none;
69
+ color: var(--text-secondary);
70
+ cursor: pointer;
71
+ padding: 0.5rem;
72
+ border-radius: 0.5rem;
73
+ transition: all 0.2s;
74
+ font-size: 1.1rem;
75
+ }
76
+ .auth-btn:hover {
77
+ background: var(--bg-secondary);
78
+ color: var(--text-primary);
79
+ }
80
+ </style>
81
+
82
+
21
83
  <!-- Favicon -->
22
- <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>">
84
+ <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>">
85
+
86
+ <script type="application/ld+json">
87
+ {
88
+ "@context": "https://schema.org",
89
+ "@type": "TechArticle",
90
+ "headline": "Supabase Authentication Implementation - COMPLETED ✅",
91
+ "description": "This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+. All references to the old insecure...",
92
+ "author": {
93
+ "@type": "Person",
94
+ "name": "Lindsay Smith"
95
+ },
96
+ "publisher": {
97
+ "@type": "Organization",
98
+ "name": "Knowcode Ltd",
99
+ "url": "https://knowcode.tech"
100
+ },
101
+ "datePublished": "2025-07-28T10:31:53.249Z",
102
+ "dateModified": "2025-07-28T10:31:53.249Z",
103
+ "mainEntityOfPage": {
104
+ "@type": "WebPage",
105
+ "@id": "https://doc-builder-delta.vercel.app/private/supabase-auth-implementation-completed.html"
106
+ },
107
+ "breadcrumb": {
108
+ "@type": "BreadcrumbList",
109
+ "itemListElement": [
110
+ {
111
+ "@type": "ListItem",
112
+ "position": 1,
113
+ "name": "@knowcode/doc-builder",
114
+ "item": "https://doc-builder-delta.vercel.app"
115
+ },
116
+ {
117
+ "@type": "ListItem",
118
+ "position": 2,
119
+ "name": "Private",
120
+ "item": "https://doc-builder-delta.vercel.app/private/"
121
+ },
122
+ {
123
+ "@type": "ListItem",
124
+ "position": 3,
125
+ "name": "Supabase Auth Implementation Completed",
126
+ "item": "https://doc-builder-delta.vercel.app/private/supabase-auth-implementation-completed.html"
127
+ }
128
+ ]
129
+ }
130
+ }
131
+ </script>
23
132
  </head>
24
133
  <body>
25
134
  <!-- Header -->
@@ -29,10 +138,14 @@
29
138
 
30
139
  <div class="header-actions">
31
140
  <div class="deployment-info">
32
- <span class="deployment-date" title="Built with doc-builder v1.4.21">Last updated: Jul 27, 2025, 08:32 AM UTC</span>
141
+ <span class="deployment-date" title="Built with doc-builder v1.9.1">Last updated: Jul 28, 2025, 10:31 AM UTC</span>
33
142
  </div>
34
143
 
35
144
 
145
+ <a href="../../login.html" class="auth-btn" title="Login/Logout">
146
+ <i class="fas fa-sign-in-alt"></i>
147
+ </a>
148
+
36
149
 
37
150
  <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
38
151
  <i class="fas fa-moon"></i>
@@ -92,6 +205,7 @@
92
205
  <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>
93
206
  <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>
94
207
  <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>
208
+ <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="fas fa-file-alt"></i> Html Embedding Guide</a>
95
209
  <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="fas fa-file-alt"></i> Image Modal Guide</a>
96
210
  <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>
97
211
  <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="fas fa-file-alt"></i> Private Directory Authentication</a>
@@ -101,7 +215,7 @@
101
215
  <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>
102
216
  <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>
103
217
  <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>
104
- <div class="nav-section" data-level="1">
218
+ <div class="nav-section private-nav" data-level="1">
105
219
  <a class="nav-title collapsible expanded" href="#" data-target="nav-private-1" >
106
220
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Private
107
221
  </a>
@@ -114,7 +228,7 @@
114
228
  <a href="/private/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder supports enterprise-grade authentication through Supabase."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
115
229
  <a href="/private/test-private-doc.html" class="nav-item" data-tooltip="Test Private Document."><i class="fas fa-file-alt"></i> Test Private Doc</a>
116
230
  <a href="/private/user-management-tooling.html" class="nav-item" data-tooltip="The user management system is a set of tools designed to manage user access to Supabase-authenticated documentation sites built with."><i class="fas fa-file-alt"></i> User Management Tooling</a></div></div>
117
- <div class="nav-section" data-level="2">
231
+ <div class="nav-section private-nav" data-level="2">
118
232
  <a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
119
233
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
120
234
  </a>
@@ -138,34 +252,33 @@
138
252
  <!-- Content Area -->
139
253
  <main class="content">
140
254
  <div class="content-inner">
141
- <h1>Supabase Authentication Implementation - COMPLETED ✅</h1>
255
+ <h1>Supabase Authentication Implementation - COMPLETED <i class="ph ph-check-circle" aria-label="checked"></i></h1>
142
256
  <h2>Overview</h2>
143
257
  <p>This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+. All references to the old insecure authentication system have been removed.</p>
144
258
  <h2>What Was Achieved</h2>
145
259
  <h3>1. Complete Removal of Old System</h3>
146
260
  <ul>
147
- <li>✅ Removed all client-side credential checking</li>
148
- <li>✅ Deleted old auth.js files</li>
149
- <li>✅ Cleaned up configuration options</li>
150
- <li>✅ Updated all documentation</li>
261
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Removed all client-side credential checking</li>
262
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Deleted old auth.js files</li>
263
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Cleaned up configuration options</li>
264
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Updated all documentation</li>
151
265
  </ul>
152
266
  <h3>2. Supabase Integration</h3>
153
267
  <ul>
154
- <li>✅ JWT-based authentication</li>
155
- <li>✅ Row Level Security (RLS) </li>
156
- <li>✅ Multi-user support</li>
157
- <li>✅ Fine-grained access control</li>
158
- <li>✅ Session management</li>
268
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> JWT-based authentication</li>
269
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Row Level Security (RLS) </li>
270
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Multi-user support</li>
271
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Fine-grained access control</li>
272
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Session management</li>
159
273
  </ul>
160
274
  <h3>3. Default Behavior Change</h3>
161
275
  <ul>
162
- <li>✅ Authentication now <strong>disabled by default</strong></li>
163
- <li>✅ Public documentation works out of the box</li>
164
- <li>✅ Authentication must be explicitly enabled</li>
276
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Authentication now <strong>disabled by default</strong></li>
277
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Public documentation works out of the box</li>
278
+ <li><i class="ph ph-check-circle" aria-label="checked"></i> Authentication must be explicitly enabled</li>
165
279
  </ul>
166
280
  <h2>Current Architecture</h2>
167
281
  <div class="mermaid-wrapper">
168
- <div class="mermaid-title">Diagram</div>
169
282
  <div class="mermaid">graph TD
170
283
  A[User Request] --> B{Auth Enabled?}
171
284
  B -->|No| C[Show Content]
@@ -314,7 +427,17 @@ auth: {
314
427
  </div>
315
428
 
316
429
  <!-- Scripts -->
430
+ <script>
431
+ // Pass configuration to frontend
432
+ window.docBuilderConfig = {
433
+ features: {
434
+ showPdfDownload: true,
435
+ menuDefaultOpen: false
436
+ }
437
+ };
438
+ </script>
317
439
  <script src="/js/main.js"></script>
318
-
440
+ <script src="https://unpkg.com/@supabase/supabase-js@2"></script>
441
+ <script src="/js/auth.js"></script>
319
442
  </body>
320
443
  </html>
@@ -3,14 +3,41 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="description" content="Beautiful documentation with the least effort possible">
7
- <title>Supabase Auth Implementation Plan for @knowcode/doc-builder - @knowcode/doc-builder</title>
6
+ <meta name="description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
7
+ <title>Supabase Auth Implementation Plan for @knowcode...</title>
8
+
9
+ <meta name="author" content="Lindsay Smith">
10
+ <meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, auth, supabase">
11
+ <meta name="robots" content="index, follow">
12
+ <link rel="canonical" href="https://doc-builder-delta.vercel.app/private/supabase-auth-implementation-plan.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/supabase-auth-implementation-plan.html">
17
+ <meta property="og:title" content="Supabase Auth Implementation Plan for @knowcode...">
18
+ <meta property="og:description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
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="Supabase Auth Implementation Plan for @knowcode...">
28
+ <meta name="twitter:description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
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">
8
34
 
9
35
  <!-- Fonts -->
10
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">
11
37
 
12
38
  <!-- Icons -->
13
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">
14
41
 
15
42
  <!-- Mermaid -->
16
43
  <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
@@ -18,8 +45,90 @@
18
45
  <!-- Styles -->
19
46
  <link rel="stylesheet" href="/css/notion-style.css">
20
47
 
48
+
49
+ <!-- Hide content until auth check -->
50
+ <style>
51
+ body {
52
+ visibility: hidden;
53
+ opacity: 0;
54
+ transition: opacity 0.3s ease;
55
+ }
56
+ body.authenticated {
57
+ visibility: visible;
58
+ opacity: 1;
59
+ }
60
+ /* Show login/logout pages immediately */
61
+ body.auth-page {
62
+ visibility: visible;
63
+ opacity: 1;
64
+ }
65
+ /* Style auth button consistently */
66
+ .auth-btn {
67
+ background: none;
68
+ border: none;
69
+ color: var(--text-secondary);
70
+ cursor: pointer;
71
+ padding: 0.5rem;
72
+ border-radius: 0.5rem;
73
+ transition: all 0.2s;
74
+ font-size: 1.1rem;
75
+ }
76
+ .auth-btn:hover {
77
+ background: var(--bg-secondary);
78
+ color: var(--text-primary);
79
+ }
80
+ </style>
81
+
82
+
21
83
  <!-- Favicon -->
22
- <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>">
84
+ <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>">
85
+
86
+ <script type="application/ld+json">
87
+ {
88
+ "@context": "https://schema.org",
89
+ "@type": "TechArticle",
90
+ "headline": "Supabase Auth Implementation Plan for @knowcode/doc-builder",
91
+ "description": "This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...",
92
+ "author": {
93
+ "@type": "Person",
94
+ "name": "Lindsay Smith"
95
+ },
96
+ "publisher": {
97
+ "@type": "Organization",
98
+ "name": "Knowcode Ltd",
99
+ "url": "https://knowcode.tech"
100
+ },
101
+ "datePublished": "2025-07-28T10:31:53.251Z",
102
+ "dateModified": "2025-07-28T10:31:53.251Z",
103
+ "mainEntityOfPage": {
104
+ "@type": "WebPage",
105
+ "@id": "https://doc-builder-delta.vercel.app/private/supabase-auth-implementation-plan.html"
106
+ },
107
+ "breadcrumb": {
108
+ "@type": "BreadcrumbList",
109
+ "itemListElement": [
110
+ {
111
+ "@type": "ListItem",
112
+ "position": 1,
113
+ "name": "@knowcode/doc-builder",
114
+ "item": "https://doc-builder-delta.vercel.app"
115
+ },
116
+ {
117
+ "@type": "ListItem",
118
+ "position": 2,
119
+ "name": "Private",
120
+ "item": "https://doc-builder-delta.vercel.app/private/"
121
+ },
122
+ {
123
+ "@type": "ListItem",
124
+ "position": 3,
125
+ "name": "Supabase Auth Implementation Plan",
126
+ "item": "https://doc-builder-delta.vercel.app/private/supabase-auth-implementation-plan.html"
127
+ }
128
+ ]
129
+ }
130
+ }
131
+ </script>
23
132
  </head>
24
133
  <body>
25
134
  <!-- Header -->
@@ -29,10 +138,14 @@
29
138
 
30
139
  <div class="header-actions">
31
140
  <div class="deployment-info">
32
- <span class="deployment-date" title="Built with doc-builder v1.4.21">Last updated: Jul 27, 2025, 08:32 AM UTC</span>
141
+ <span class="deployment-date" title="Built with doc-builder v1.9.1">Last updated: Jul 28, 2025, 10:31 AM UTC</span>
33
142
  </div>
34
143
 
35
144
 
145
+ <a href="../../login.html" class="auth-btn" title="Login/Logout">
146
+ <i class="fas fa-sign-in-alt"></i>
147
+ </a>
148
+
36
149
 
37
150
  <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
38
151
  <i class="fas fa-moon"></i>
@@ -92,6 +205,7 @@
92
205
  <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>
93
206
  <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>
94
207
  <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>
208
+ <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="fas fa-file-alt"></i> Html Embedding Guide</a>
95
209
  <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="fas fa-file-alt"></i> Image Modal Guide</a>
96
210
  <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>
97
211
  <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="fas fa-file-alt"></i> Private Directory Authentication</a>
@@ -101,7 +215,7 @@
101
215
  <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>
102
216
  <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>
103
217
  <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>
104
- <div class="nav-section" data-level="1">
218
+ <div class="nav-section private-nav" data-level="1">
105
219
  <a class="nav-title collapsible expanded" href="#" data-target="nav-private-1" >
106
220
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Private
107
221
  </a>
@@ -114,7 +228,7 @@
114
228
  <a href="/private/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder supports enterprise-grade authentication through Supabase."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
115
229
  <a href="/private/test-private-doc.html" class="nav-item" data-tooltip="Test Private Document."><i class="fas fa-file-alt"></i> Test Private Doc</a>
116
230
  <a href="/private/user-management-tooling.html" class="nav-item" data-tooltip="The user management system is a set of tools designed to manage user access to Supabase-authenticated documentation sites built with."><i class="fas fa-file-alt"></i> User Management Tooling</a></div></div>
117
- <div class="nav-section" data-level="2">
231
+ <div class="nav-section private-nav" data-level="2">
118
232
  <a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
119
233
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
120
234
  </a>
@@ -150,7 +264,6 @@
150
264
  </ol>
151
265
  <h2>Architecture Summary</h2>
152
266
  <div class="mermaid-wrapper">
153
- <div class="mermaid-title">Diagram</div>
154
267
  <div class="mermaid">graph TD
155
268
  subgraph "Build Time"
156
269
  Config[doc-builder.config.js]
@@ -404,34 +517,34 @@ npx @knowcode/doc-builder auth:list-sites --email user@example.com
404
517
  <li><strong>Security</strong>: Follow Supabase best practices</li>
405
518
  <li><strong>Support</strong>: Provide clear documentation and migration guide</li>
406
519
  </ol>
407
- <h2>✅ Implementation Status: COMPLETE</h2>
520
+ <h2><i class="ph ph-check-circle" aria-label="checked"></i> Implementation Status: COMPLETE</h2>
408
521
  <p>All planned phases have been successfully implemented:</p>
409
- <h3>✅ Phase 1: Core Infrastructure - COMPLETE</h3>
522
+ <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 1: Core Infrastructure - COMPLETE</h3>
410
523
  <ul>
411
524
  <li><input checked="" disabled="" type="checkbox"> Updated configuration system to remove basic auth</li>
412
525
  <li><input checked="" disabled="" type="checkbox"> Added Supabase SDK dependency</li>
413
526
  <li><input checked="" disabled="" type="checkbox"> Created Supabase auth module (<code>lib/supabase-auth.js</code>)</li>
414
527
  <li><input checked="" disabled="" type="checkbox"> Updated core-builder.js integration</li>
415
528
  </ul>
416
- <h3>✅ Phase 2: Client-Side Implementation - COMPLETE</h3>
529
+ <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 2: Client-Side Implementation - COMPLETE</h3>
417
530
  <ul>
418
531
  <li><input checked="" disabled="" type="checkbox"> Generated Supabase auth script replaces basic auth</li>
419
532
  <li><input checked="" disabled="" type="checkbox"> Secure login page with Supabase integration</li>
420
533
  <li><input checked="" disabled="" type="checkbox"> Logout functionality with proper session cleanup</li>
421
534
  </ul>
422
- <h3>✅ Phase 3: Build Process Updates - COMPLETE</h3>
535
+ <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 3: Build Process Updates - COMPLETE</h3>
423
536
  <ul>
424
537
  <li><input checked="" disabled="" type="checkbox"> Supabase SDK integration in build output</li>
425
538
  <li><input checked="" disabled="" type="checkbox"> Environment variable support</li>
426
539
  <li><input checked="" disabled="" type="checkbox"> Build validation and error handling</li>
427
540
  </ul>
428
- <h3>✅ Phase 4: User Management Tools - COMPLETE</h3>
541
+ <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 4: User Management Tools - COMPLETE</h3>
429
542
  <ul>
430
543
  <li><input checked="" disabled="" type="checkbox"> CLI commands: <code>auth:init</code>, <code>auth:add-site</code>, <code>auth:grant</code>, <code>auth:revoke</code>, <code>auth:list-users</code></li>
431
544
  <li><input checked="" disabled="" type="checkbox"> Updated settings command to show Supabase config</li>
432
545
  <li><input checked="" disabled="" type="checkbox"> Removed insecure <code>--no-auth</code> flag</li>
433
546
  </ul>
434
- <h3>✅ Phase 5: Documentation and Migration - COMPLETE</h3>
547
+ <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 5: Documentation and Migration - COMPLETE</h3>
435
548
  <ul>
436
549
  <li><input checked="" disabled="" type="checkbox"> Comprehensive Supabase setup guide created</li>
437
550
  <li><input checked="" disabled="" type="checkbox"> Updated main README with new auth information</li>
@@ -454,7 +567,17 @@ npx @knowcode/doc-builder auth:list-sites --email user@example.com
454
567
  </div>
455
568
 
456
569
  <!-- Scripts -->
570
+ <script>
571
+ // Pass configuration to frontend
572
+ window.docBuilderConfig = {
573
+ features: {
574
+ showPdfDownload: true,
575
+ menuDefaultOpen: false
576
+ }
577
+ };
578
+ </script>
457
579
  <script src="/js/main.js"></script>
458
-
580
+ <script src="https://unpkg.com/@supabase/supabase-js@2"></script>
581
+ <script src="/js/auth.js"></script>
459
582
  </body>
460
583
  </html>