@knowcode/doc-builder 1.9.0 → 1.9.1

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 (40) hide show
  1. package/README.md +2 -0
  2. package/html/README.html +34 -149
  3. package/html/css/notion-style.css +13 -394
  4. package/html/documentation-index.html +17 -127
  5. package/html/guides/authentication-default-change.html +8 -130
  6. package/html/guides/authentication-guide.html +20 -141
  7. package/html/guides/claude-workflow-guide.html +23 -137
  8. package/html/guides/documentation-standards.html +12 -133
  9. package/html/guides/image-modal-guide.html +381 -0
  10. package/html/guides/phosphor-icons-guide.html +28 -150
  11. package/html/guides/private-directory-authentication.html +8 -130
  12. package/html/guides/public-site-deployment.html +8 -130
  13. package/html/guides/search-engine-verification-guide.html +8 -130
  14. package/html/guides/seo-guide.html +8 -130
  15. package/html/guides/seo-optimization-guide.html +39 -159
  16. package/html/guides/troubleshooting-guide.html +20 -141
  17. package/html/guides/windows-setup-guide.html +39 -161
  18. package/html/image-modal-test.html +9 -125
  19. package/html/index.html +34 -149
  20. package/html/js/auth.js +39 -118
  21. package/html/js/main.js +25 -259
  22. package/html/private/cache-control-anti-pattern.html +13 -135
  23. package/html/private/launch/README.html +16 -144
  24. package/html/private/launch/auth-cleanup-summary.html +25 -153
  25. package/html/private/launch/bubble-plugin-specification.html +8 -136
  26. package/html/private/launch/go-to-market-strategy.html +10 -138
  27. package/html/private/launch/launch-announcements.html +24 -151
  28. package/html/private/launch/vercel-deployment-auth-setup.html +10 -138
  29. package/html/private/next-steps-walkthrough.html +15 -137
  30. package/html/private/supabase-auth-implementation-completed.html +22 -143
  31. package/html/private/supabase-auth-implementation-plan.html +15 -136
  32. package/html/private/supabase-auth-integration-plan.html +22 -142
  33. package/html/private/supabase-auth-setup-guide.html +17 -139
  34. package/html/private/test-private-doc.html +8 -130
  35. package/html/private/user-management-tooling.html +8 -130
  36. package/html/prompts/markdown-document-standards.html +13 -134
  37. package/html/vercel-cli-setup-guide.html +12 -128
  38. package/html/vercel-first-time-setup-guide.html +9 -125
  39. package/lib/emoji-mapper.js +12 -0
  40. package/package.json +1 -1
@@ -3,41 +3,14 @@
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="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">
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>
34
8
 
35
9
  <!-- Fonts -->
36
10
  <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
11
 
38
12
  <!-- Icons -->
39
13
  <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
14
 
42
15
  <!-- Mermaid -->
43
16
  <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
@@ -45,90 +18,8 @@
45
18
  <!-- Styles -->
46
19
  <link rel="stylesheet" href="/css/notion-style.css">
47
20
 
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
-
83
21
  <!-- Favicon -->
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-27T08:30:10.827Z",
102
- "dateModified": "2025-07-27T08:30:10.827Z",
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>
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>">
132
23
  </head>
133
24
  <body>
134
25
  <!-- Header -->
@@ -138,14 +29,10 @@
138
29
 
139
30
  <div class="header-actions">
140
31
  <div class="deployment-info">
141
- <span class="deployment-date" title="Built with doc-builder v1.9.0">Last updated: Jul 27, 2025, 08:30 AM UTC</span>
32
+ <span class="deployment-date" title="Built with doc-builder v1.4.21">Last updated: Jul 27, 2025, 08:32 AM UTC</span>
142
33
  </div>
143
34
 
144
35
 
145
- <a href="../../login.html" class="auth-btn" title="Login/Logout">
146
- <i class="fas fa-sign-in-alt"></i>
147
- </a>
148
-
149
36
 
150
37
  <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
151
38
  <i class="fas fa-moon"></i>
@@ -205,6 +92,7 @@
205
92
  <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>
206
93
  <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>
207
94
  <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>
95
+ <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>
208
96
  <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>
209
97
  <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>
210
98
  <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>
@@ -213,7 +101,7 @@
213
101
  <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>
214
102
  <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>
215
103
  <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>
216
- <div class="nav-section private-nav" data-level="1">
104
+ <div class="nav-section" data-level="1">
217
105
  <a class="nav-title collapsible expanded" href="#" data-target="nav-private-1" >
218
106
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Private
219
107
  </a>
@@ -226,7 +114,7 @@
226
114
  <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>
227
115
  <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>
228
116
  <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>
229
- <div class="nav-section private-nav" data-level="2">
117
+ <div class="nav-section" data-level="2">
230
118
  <a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
231
119
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
232
120
  </a>
@@ -262,6 +150,7 @@
262
150
  </ol>
263
151
  <h2>Architecture Summary</h2>
264
152
  <div class="mermaid-wrapper">
153
+ <div class="mermaid-title">Diagram</div>
265
154
  <div class="mermaid">graph TD
266
155
  subgraph "Build Time"
267
156
  Config[doc-builder.config.js]
@@ -515,34 +404,34 @@ npx @knowcode/doc-builder auth:list-sites --email user@example.com
515
404
  <li><strong>Security</strong>: Follow Supabase best practices</li>
516
405
  <li><strong>Support</strong>: Provide clear documentation and migration guide</li>
517
406
  </ol>
518
- <h2><i class="ph ph-check-circle" aria-label="checked"></i> Implementation Status: COMPLETE</h2>
407
+ <h2>✅ Implementation Status: COMPLETE</h2>
519
408
  <p>All planned phases have been successfully implemented:</p>
520
- <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 1: Core Infrastructure - COMPLETE</h3>
409
+ <h3>✅ Phase 1: Core Infrastructure - COMPLETE</h3>
521
410
  <ul>
522
411
  <li><input checked="" disabled="" type="checkbox"> Updated configuration system to remove basic auth</li>
523
412
  <li><input checked="" disabled="" type="checkbox"> Added Supabase SDK dependency</li>
524
413
  <li><input checked="" disabled="" type="checkbox"> Created Supabase auth module (<code>lib/supabase-auth.js</code>)</li>
525
414
  <li><input checked="" disabled="" type="checkbox"> Updated core-builder.js integration</li>
526
415
  </ul>
527
- <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 2: Client-Side Implementation - COMPLETE</h3>
416
+ <h3>✅ Phase 2: Client-Side Implementation - COMPLETE</h3>
528
417
  <ul>
529
418
  <li><input checked="" disabled="" type="checkbox"> Generated Supabase auth script replaces basic auth</li>
530
419
  <li><input checked="" disabled="" type="checkbox"> Secure login page with Supabase integration</li>
531
420
  <li><input checked="" disabled="" type="checkbox"> Logout functionality with proper session cleanup</li>
532
421
  </ul>
533
- <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 3: Build Process Updates - COMPLETE</h3>
422
+ <h3>✅ Phase 3: Build Process Updates - COMPLETE</h3>
534
423
  <ul>
535
424
  <li><input checked="" disabled="" type="checkbox"> Supabase SDK integration in build output</li>
536
425
  <li><input checked="" disabled="" type="checkbox"> Environment variable support</li>
537
426
  <li><input checked="" disabled="" type="checkbox"> Build validation and error handling</li>
538
427
  </ul>
539
- <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 4: User Management Tools - COMPLETE</h3>
428
+ <h3>✅ Phase 4: User Management Tools - COMPLETE</h3>
540
429
  <ul>
541
430
  <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>
542
431
  <li><input checked="" disabled="" type="checkbox"> Updated settings command to show Supabase config</li>
543
432
  <li><input checked="" disabled="" type="checkbox"> Removed insecure <code>--no-auth</code> flag</li>
544
433
  </ul>
545
- <h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 5: Documentation and Migration - COMPLETE</h3>
434
+ <h3>✅ Phase 5: Documentation and Migration - COMPLETE</h3>
546
435
  <ul>
547
436
  <li><input checked="" disabled="" type="checkbox"> Comprehensive Supabase setup guide created</li>
548
437
  <li><input checked="" disabled="" type="checkbox"> Updated main README with new auth information</li>
@@ -565,17 +454,7 @@ npx @knowcode/doc-builder auth:list-sites --email user@example.com
565
454
  </div>
566
455
 
567
456
  <!-- Scripts -->
568
- <script>
569
- // Pass configuration to frontend
570
- window.docBuilderConfig = {
571
- features: {
572
- showPdfDownload: true,
573
- menuDefaultOpen: false
574
- }
575
- };
576
- </script>
577
457
  <script src="/js/main.js"></script>
578
- <script src="https://unpkg.com/@supabase/supabase-js@2"></script>
579
- <script src="/js/auth.js"></script>
458
+
580
459
  </body>
581
460
  </html>
@@ -3,41 +3,14 @@
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="Transform @knowcode/doc-builder from basic client-side authentication to a sophisticated, centralized authentication system powered by Supabase that enables:">
7
- <title>Supabase Authentication Integration Plan for @k...</title>
8
-
9
- <meta name="author" content="Lindsay Smith">
10
- <meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, authentication, security">
11
- <meta name="robots" content="index, follow">
12
- <link rel="canonical" href="https://doc-builder-delta.vercel.app/private/supabase-auth-integration-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-integration-plan.html">
17
- <meta property="og:title" content="Supabase Authentication Integration Plan for @k...">
18
- <meta property="og:description" content="Transform @knowcode/doc-builder from basic client-side authentication to a sophisticated, centralized authentication system powered by Supabase that enables:">
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 Integration Plan for @k...">
28
- <meta name="twitter:description" content="Transform @knowcode/doc-builder from basic client-side authentication to a sophisticated, centralized authentication system powered by Supabase that enables:">
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">
6
+ <meta name="description" content="Beautiful documentation with the least effort possible">
7
+ <title>Supabase Authentication Integration Plan for @knowcode/doc-builder - @knowcode/doc-builder</title>
34
8
 
35
9
  <!-- Fonts -->
36
10
  <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
11
 
38
12
  <!-- Icons -->
39
13
  <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
14
 
42
15
  <!-- Mermaid -->
43
16
  <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
@@ -45,90 +18,8 @@
45
18
  <!-- Styles -->
46
19
  <link rel="stylesheet" href="/css/notion-style.css">
47
20
 
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
-
83
21
  <!-- Favicon -->
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 Integration Plan for @knowcode/doc-builder",
91
- "description": "Transform @knowcode/doc-builder from basic client-side authentication to a sophisticated, centralized authentication system powered by Supabase that enables:",
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-27T08:30:10.829Z",
102
- "dateModified": "2025-07-27T08:30:10.829Z",
103
- "mainEntityOfPage": {
104
- "@type": "WebPage",
105
- "@id": "https://doc-builder-delta.vercel.app/private/supabase-auth-integration-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 Integration Plan",
126
- "item": "https://doc-builder-delta.vercel.app/private/supabase-auth-integration-plan.html"
127
- }
128
- ]
129
- }
130
- }
131
- </script>
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>">
132
23
  </head>
133
24
  <body>
134
25
  <!-- Header -->
@@ -138,14 +29,10 @@
138
29
 
139
30
  <div class="header-actions">
140
31
  <div class="deployment-info">
141
- <span class="deployment-date" title="Built with doc-builder v1.9.0">Last updated: Jul 27, 2025, 08:30 AM UTC</span>
32
+ <span class="deployment-date" title="Built with doc-builder v1.4.21">Last updated: Jul 27, 2025, 08:32 AM UTC</span>
142
33
  </div>
143
34
 
144
35
 
145
- <a href="../../login.html" class="auth-btn" title="Login/Logout">
146
- <i class="fas fa-sign-in-alt"></i>
147
- </a>
148
-
149
36
 
150
37
  <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
151
38
  <i class="fas fa-moon"></i>
@@ -205,6 +92,7 @@
205
92
  <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>
206
93
  <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>
207
94
  <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>
95
+ <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>
208
96
  <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>
209
97
  <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>
210
98
  <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>
@@ -213,7 +101,7 @@
213
101
  <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>
214
102
  <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>
215
103
  <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>
216
- <div class="nav-section private-nav" data-level="1">
104
+ <div class="nav-section" data-level="1">
217
105
  <a class="nav-title collapsible expanded" href="#" data-target="nav-private-1" >
218
106
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Private
219
107
  </a>
@@ -226,7 +114,7 @@
226
114
  <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>
227
115
  <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>
228
116
  <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>
229
- <div class="nav-section private-nav" data-level="2">
117
+ <div class="nav-section" data-level="2">
230
118
  <a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
231
119
  <i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
232
120
  </a>
@@ -262,6 +150,7 @@
262
150
  </ul>
263
151
  <h2>Architecture Overview</h2>
264
152
  <div class="mermaid-wrapper">
153
+ <div class="mermaid-title">Diagram</div>
265
154
  <div class="mermaid">graph TB
266
155
  subgraph "Supabase Cloud"
267
156
  DB[(PostgreSQL)]
@@ -338,6 +227,7 @@ CREATE POLICY &quot;View own access logs&quot; ON access_logs
338
227
  <h2>Implementation Architecture</h2>
339
228
  <h3>1. Authentication Flow</h3>
340
229
  <div class="mermaid-wrapper">
230
+ <div class="mermaid-title">Diagram</div>
341
231
  <div class="mermaid">sequenceDiagram
342
232
  participant User
343
233
  participant DocSite
@@ -576,21 +466,21 @@ npx @knowcode/doc-builder auth logs --days 30
576
466
  <h2>Security Benefits</h2>
577
467
  <h3>Current Basic Auth Vulnerabilities</h3>
578
468
  <ul>
579
- <li><i class="ph ph-x-circle" aria-label="error"></i> Credentials visible in browser</li>
580
- <li><i class="ph ph-x-circle" aria-label="error"></i> No password hashing</li>
581
- <li><i class="ph ph-x-circle" aria-label="error"></i> No session management</li>
582
- <li><i class="ph ph-x-circle" aria-label="error"></i> No audit trail</li>
583
- <li><i class="ph ph-x-circle" aria-label="error"></i> Single shared password</li>
469
+ <li>❌ Credentials visible in browser</li>
470
+ <li>❌ No password hashing</li>
471
+ <li>❌ No session management</li>
472
+ <li>❌ No audit trail</li>
473
+ <li>❌ Single shared password</li>
584
474
  </ul>
585
475
  <h3>Supabase Auth Security</h3>
586
476
  <ul>
587
- <li><i class="ph ph-check-circle" aria-label="checked"></i> Server-side authentication</li>
588
- <li><i class="ph ph-check-circle" aria-label="checked"></i> Bcrypt password hashing</li>
589
- <li><i class="ph ph-check-circle" aria-label="checked"></i> JWT tokens with expiration</li>
590
- <li><i class="ph ph-check-circle" aria-label="checked"></i> Row Level Security</li>
591
- <li><i class="ph ph-check-circle" aria-label="checked"></i> Comprehensive audit logs</li>
592
- <li><i class="ph ph-check-circle" aria-label="checked"></i> Multi-factor authentication support</li>
593
- <li><i class="ph ph-check-circle" aria-label="checked"></i> OAuth provider support</li>
477
+ <li>✅ Server-side authentication</li>
478
+ <li>✅ Bcrypt password hashing</li>
479
+ <li>✅ JWT tokens with expiration</li>
480
+ <li>✅ Row Level Security</li>
481
+ <li>✅ Comprehensive audit logs</li>
482
+ <li>✅ Multi-factor authentication support</li>
483
+ <li>✅ OAuth provider support</li>
594
484
  </ul>
595
485
  <h2>Cost Analysis</h2>
596
486
  <h3>Supabase Free Tier</h3>
@@ -675,17 +565,7 @@ npx @knowcode/doc-builder auth logs --days 30
675
565
  </div>
676
566
 
677
567
  <!-- Scripts -->
678
- <script>
679
- // Pass configuration to frontend
680
- window.docBuilderConfig = {
681
- features: {
682
- showPdfDownload: true,
683
- menuDefaultOpen: false
684
- }
685
- };
686
- </script>
687
568
  <script src="/js/main.js"></script>
688
- <script src="https://unpkg.com/@supabase/supabase-js@2"></script>
689
- <script src="/js/auth.js"></script>
569
+
690
570
  </body>
691
571
  </html>