@knowcode/doc-builder 1.8.1 → 1.8.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.
- package/CHANGELOG.md +17 -0
- package/html/README.html +3 -3
- package/html/auth.js +2 -2
- package/html/documentation-index.html +3 -3
- package/html/guides/authentication-default-change.html +3 -3
- package/html/guides/authentication-guide.html +10 -7
- package/html/guides/claude-workflow-guide.html +3 -3
- package/html/guides/documentation-standards.html +3 -3
- package/html/guides/phosphor-icons-guide.html +3 -3
- package/html/guides/private-directory-authentication.html +25 -18
- package/html/guides/public-site-deployment.html +3 -3
- package/html/guides/search-engine-verification-guide.html +3 -3
- package/html/guides/seo-guide.html +3 -3
- package/html/guides/seo-optimization-guide.html +3 -3
- package/html/guides/troubleshooting-guide.html +3 -3
- package/html/guides/windows-setup-guide.html +3 -3
- package/html/index.html +3 -3
- package/html/js/auth.js +2 -2
- package/html/login.html +2 -2
- package/html/private/cache-control-anti-pattern.html +5 -4
- package/html/private/launch/README.html +5 -4
- package/html/private/launch/auth-cleanup-summary.html +5 -4
- package/html/private/launch/bubble-plugin-specification.html +5 -4
- package/html/private/launch/go-to-market-strategy.html +5 -4
- package/html/private/launch/launch-announcements.html +5 -4
- package/html/private/launch/vercel-deployment-auth-setup.html +5 -4
- package/html/private/next-steps-walkthrough.html +5 -4
- package/html/private/supabase-auth-implementation-completed.html +5 -4
- package/html/private/supabase-auth-implementation-plan.html +5 -4
- package/html/private/supabase-auth-integration-plan.html +5 -4
- package/html/private/supabase-auth-setup-guide.html +5 -4
- package/html/private/test-private-doc.html +5 -4
- package/html/private/user-management-tooling.html +587 -0
- package/html/sitemap.xml +49 -43
- package/html/vercel-cli-setup-guide.html +3 -3
- package/html/vercel-first-time-setup-guide.html +3 -3
- package/lib/config.js +12 -13
- package/lib/core-builder.js +4 -4
- package/lib/shared-auth-config.js +21 -0
- package/package.json +1 -1
- package/user-management/README.md +8 -4
- package/user-management/add-users.sh +37 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.8.2] - 2025-07-26
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Automatic Supabase Credentials**: No more placeholder errors! Credentials are now built into the package
|
|
12
|
+
- **Auto-generated Site IDs**: Each site gets a unique ID automatically when authentication is enabled
|
|
13
|
+
- Shared authentication database across all doc-builder sites for easier management
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Supabase URL and anonymous key are now provided by default via `shared-auth-config.js`
|
|
17
|
+
- Site IDs are auto-generated using site name, timestamp, and random string
|
|
18
|
+
- Updated documentation to reflect zero-configuration authentication
|
|
19
|
+
|
|
20
|
+
### Developer Experience
|
|
21
|
+
- No need to configure Supabase credentials manually anymore
|
|
22
|
+
- Just create a `private` directory and authentication works immediately
|
|
23
|
+
- Site administrators only need to add the auto-generated site ID to the database
|
|
24
|
+
|
|
8
25
|
## [1.8.1] - 2025-07-26
|
|
9
26
|
|
|
10
27
|
### Fixed
|
package/html/README.html
CHANGED
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.951Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.951Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/README.html"
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
|
|
133
133
|
<div class="header-actions">
|
|
134
134
|
<div class="deployment-info">
|
|
135
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
135
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
136
136
|
</div>
|
|
137
137
|
|
|
138
138
|
|
package/html/auth.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
// Initialize Supabase client
|
|
18
18
|
const { createClient } = supabase;
|
|
19
|
-
const supabaseClient = createClient('https://
|
|
19
|
+
const supabaseClient = createClient('https://xcihhnfcitjrwbynxmka.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhjaWhobmZjaXRqcndieW54bWthIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM0Mzc2MzcsImV4cCI6MjA2OTAxMzYzN30.zvWp3JFIR8fBIiwuFF5gqOR_Kxb42baZS5fsBz60XOY', {
|
|
20
20
|
auth: {
|
|
21
21
|
persistSession: true,
|
|
22
22
|
autoRefreshToken: true,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
.from('docbuilder_access')
|
|
52
52
|
.select('*')
|
|
53
53
|
.eq('user_id', user.id)
|
|
54
|
-
.eq('site_id', '
|
|
54
|
+
.eq('site_id', '-knowcode-doc-builder-1753526321904-eivutk')
|
|
55
55
|
.single();
|
|
56
56
|
|
|
57
57
|
if (accessError || !access) {
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.963Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.963Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/documentation-index.html"
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
|
|
133
133
|
<div class="header-actions">
|
|
134
134
|
<div class="deployment-info">
|
|
135
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
135
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
136
136
|
</div>
|
|
137
137
|
|
|
138
138
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.967Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.967Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/authentication-default-change.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -3,7 +3,7 @@
|
|
|
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="
|
|
6
|
+
<meta name="description" content="> 🎉 Update v1.8.2: Supabase credentials are now automatically configured! No manual setup needed - just enable authentication and add users to the database.">
|
|
7
7
|
<title>Authentication Guide for @knowcode/doc-builder</title>
|
|
8
8
|
|
|
9
9
|
<meta name="author" content="Lindsay Smith">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta property="og:type" content="article">
|
|
16
16
|
<meta property="og:url" content="https://doc-builder-delta.vercel.app/guides/authentication-guide.html">
|
|
17
17
|
<meta property="og:title" content="Authentication Guide for @knowcode/doc-builder">
|
|
18
|
-
<meta property="og:description" content="
|
|
18
|
+
<meta property="og:description" content="> 🎉 Update v1.8.2: Supabase credentials are now automatically configured! No manual setup needed - just enable authentication and add users to the database.">
|
|
19
19
|
<meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
20
20
|
<meta property="og:site_name" content="@knowcode/doc-builder">
|
|
21
21
|
<meta property="og:locale" content="en_US">
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<meta name="twitter:site" content="@planbbackups">
|
|
26
26
|
<meta name="twitter:creator" content="@planbbackups">
|
|
27
27
|
<meta name="twitter:title" content="Authentication Guide for @knowcode/doc-builder">
|
|
28
|
-
<meta name="twitter:description" content="
|
|
28
|
+
<meta name="twitter:description" content="> 🎉 Update v1.8.2: Supabase credentials are now automatically configured! No manual setup needed - just enable authentication and add users to the database.">
|
|
29
29
|
<meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
30
30
|
|
|
31
31
|
<!-- Custom Meta Tags -->
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@context": "https://schema.org",
|
|
89
89
|
"@type": "TechArticle",
|
|
90
90
|
"headline": "Authentication Guide for @knowcode/doc-builder",
|
|
91
|
-
"description": "
|
|
91
|
+
"description": "> 🎉 Update v1.8.2: Supabase credentials are now automatically configured! No manual setup needed - just enable authentication and add users to the database.",
|
|
92
92
|
"author": {
|
|
93
93
|
"@type": "Person",
|
|
94
94
|
"name": "Lindsay Smith"
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.969Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.969Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/authentication-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -220,6 +220,9 @@
|
|
|
220
220
|
<main class="content">
|
|
221
221
|
<div class="content-inner">
|
|
222
222
|
<h1>Authentication Guide for @knowcode/doc-builder</h1>
|
|
223
|
+
<blockquote>
|
|
224
|
+
<p><strong><i class="ph ph-confetti" aria-label="party"></i> Update v1.8.2</strong>: Supabase credentials are now automatically configured! No manual setup needed - just enable authentication and add users to the database.</p>
|
|
225
|
+
</blockquote>
|
|
223
226
|
<h2>Overview</h2>
|
|
224
227
|
<p>@knowcode/doc-builder supports enterprise-grade authentication through <strong>Supabase</strong> - a secure, scalable authentication platform. This guide explains how to protect your documentation with proper user authentication and access control.</p>
|
|
225
228
|
<h2>Why Supabase?</h2>
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.973Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.973Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/claude-workflow-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.977Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.977Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/documentation-standards.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.979Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.979Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.982Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.982Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/private-directory-authentication.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -264,11 +264,12 @@ module.exports = {
|
|
|
264
264
|
};
|
|
265
265
|
</code></pre>
|
|
266
266
|
<h2>How They Work Together</h2>
|
|
267
|
-
<p>If you have <strong>both</strong> a private directory AND set
|
|
267
|
+
<p>If you have <strong>both</strong> a private directory AND set authentication in your config:</p>
|
|
268
268
|
<ul>
|
|
269
|
-
<li>The
|
|
270
|
-
<li>
|
|
271
|
-
<li>
|
|
269
|
+
<li>The private directory <strong>always</strong> triggers authentication (for security)</li>
|
|
270
|
+
<li>Setting <code>authentication: 'supabase'</code> makes the entire site private</li>
|
|
271
|
+
<li>Setting <code>authentication: false</code> is overridden by private directory presence</li>
|
|
272
|
+
<li>This ensures private content is never accidentally exposed</li>
|
|
272
273
|
</ul>
|
|
273
274
|
<h2>User Experience</h2>
|
|
274
275
|
<h3>Private Directory Mode</h3>
|
|
@@ -295,13 +296,14 @@ module.exports = {
|
|
|
295
296
|
</ul>
|
|
296
297
|
<h2>Setting Up Supabase Authentication</h2>
|
|
297
298
|
<p>Both authentication modes use Supabase for secure user management. Here's how to configure it:</p>
|
|
298
|
-
<h3>1.
|
|
299
|
-
<p>
|
|
299
|
+
<h3>1. Credentials Are Automatic! (v1.8.2+)</h3>
|
|
300
|
+
<p>No need to configure credentials anymore! The shared Supabase database is automatically configured. Each site gets a unique auto-generated site ID during build.</p>
|
|
301
|
+
<p>To override with custom credentials (optional):</p>
|
|
300
302
|
<pre><code class="language-javascript">module.exports = {
|
|
301
303
|
auth: {
|
|
302
|
-
supabaseUrl: 'https://your-project.supabase.co',
|
|
303
|
-
supabaseAnonKey: 'your-anon-key',
|
|
304
|
-
siteId: 'your-site-id'
|
|
304
|
+
supabaseUrl: 'https://your-project.supabase.co', // Optional override
|
|
305
|
+
supabaseAnonKey: 'your-anon-key', // Optional override
|
|
306
|
+
siteId: 'your-site-id' // Optional custom ID
|
|
305
307
|
}
|
|
306
308
|
};
|
|
307
309
|
</code></pre>
|
|
@@ -322,14 +324,19 @@ module.exports = {
|
|
|
322
324
|
INSERT INTO docbuilder_access (user_id, site_id)
|
|
323
325
|
VALUES ('user-uuid-from-auth-users', 'your-site-id');
|
|
324
326
|
</code></pre>
|
|
325
|
-
<h3>
|
|
326
|
-
<p>
|
|
327
|
+
<h3>Automatic Credential Configuration</h3>
|
|
328
|
+
<p>Starting from version 1.8.2, Supabase credentials are automatically configured:</p>
|
|
327
329
|
<ul>
|
|
328
|
-
<li>
|
|
329
|
-
<li>
|
|
330
|
-
<li>
|
|
331
|
-
<li>
|
|
330
|
+
<li>All doc-builder sites share the same Supabase authentication database</li>
|
|
331
|
+
<li>Credentials are built into the package - no manual configuration needed</li>
|
|
332
|
+
<li>Each site gets a unique auto-generated site ID</li>
|
|
333
|
+
<li>You just need to add the site ID to the database to grant user access</li>
|
|
332
334
|
</ul>
|
|
335
|
+
<p><strong>Note</strong>: The auto-generated site ID is displayed during build:</p>
|
|
336
|
+
<pre><code>🔐 Found private directory - automatically enabling Supabase authentication
|
|
337
|
+
📋 Generated site ID: documentation-1753525200000-abc123
|
|
338
|
+
Note: Add this site ID to your Supabase database to enable user access
|
|
339
|
+
</code></pre>
|
|
333
340
|
<h2>Best Practices</h2>
|
|
334
341
|
<h3>Choosing the Right Mode</h3>
|
|
335
342
|
<p><strong>Use Private Directory Mode when:</strong></p>
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.983Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.983Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/public-site-deployment.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.985Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.985Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/search-engine-verification-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.988Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.988Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/seo-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.995Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.995Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/seo-optimization-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.997Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.997Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/troubleshooting-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:42.002Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:42.002Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/guides/windows-setup-guide.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
package/html/index.html
CHANGED
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:41.951Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:41.951Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/README.html"
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
|
|
133
133
|
<div class="header-actions">
|
|
134
134
|
<div class="deployment-info">
|
|
135
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
135
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
136
136
|
</div>
|
|
137
137
|
|
|
138
138
|
|
package/html/js/auth.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
// Initialize Supabase client
|
|
18
18
|
const { createClient } = supabase;
|
|
19
|
-
const supabaseClient = createClient('https://
|
|
19
|
+
const supabaseClient = createClient('https://xcihhnfcitjrwbynxmka.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhjaWhobmZjaXRqcndieW54bWthIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM0Mzc2MzcsImV4cCI6MjA2OTAxMzYzN30.zvWp3JFIR8fBIiwuFF5gqOR_Kxb42baZS5fsBz60XOY', {
|
|
20
20
|
auth: {
|
|
21
21
|
persistSession: true,
|
|
22
22
|
autoRefreshToken: true,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
.from('docbuilder_access')
|
|
52
52
|
.select('*')
|
|
53
53
|
.eq('user_id', user.id)
|
|
54
|
-
.eq('site_id', '
|
|
54
|
+
.eq('site_id', '-knowcode-doc-builder-1753526321904-eivutk')
|
|
55
55
|
.single();
|
|
56
56
|
|
|
57
57
|
if (accessError || !access) {
|
package/html/login.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<script>
|
|
33
33
|
// Initialize Supabase
|
|
34
34
|
const { createClient } = supabase;
|
|
35
|
-
const supabaseClient = createClient('https://
|
|
35
|
+
const supabaseClient = createClient('https://xcihhnfcitjrwbynxmka.supabase.co', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhjaWhobmZjaXRqcndieW54bWthIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM0Mzc2MzcsImV4cCI6MjA2OTAxMzYzN30.zvWp3JFIR8fBIiwuFF5gqOR_Kxb42baZS5fsBz60XOY');
|
|
36
36
|
|
|
37
37
|
// Handle login form
|
|
38
38
|
document.getElementById('login-form').addEventListener('submit', async function(e) {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.from('docbuilder_access')
|
|
57
57
|
.select('*')
|
|
58
58
|
.eq('user_id', data.user.id)
|
|
59
|
-
.eq('site_id', '
|
|
59
|
+
.eq('site_id', '-knowcode-doc-builder-1753526321904-eivutk')
|
|
60
60
|
.single();
|
|
61
61
|
|
|
62
62
|
if (accessError || !access) {
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:42.005Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:42.005Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/private/cache-control-anti-pattern.html"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
<div class="header-actions">
|
|
140
140
|
<div class="deployment-info">
|
|
141
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
141
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
|
|
@@ -223,7 +223,8 @@
|
|
|
223
223
|
<a href="/private/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>
|
|
224
224
|
<a href="/private/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>
|
|
225
225
|
<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>
|
|
226
|
-
<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
|
|
226
|
+
<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>
|
|
227
|
+
<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>
|
|
227
228
|
<div class="nav-section" data-level="2">
|
|
228
229
|
<a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
|
|
229
230
|
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:42.007Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:42.007Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/private/launch/README.html"
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
|
|
145
145
|
<div class="header-actions">
|
|
146
146
|
<div class="deployment-info">
|
|
147
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
147
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
|
|
@@ -229,7 +229,8 @@
|
|
|
229
229
|
<a href="/private/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>
|
|
230
230
|
<a href="/private/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>
|
|
231
231
|
<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>
|
|
232
|
-
<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
|
|
232
|
+
<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>
|
|
233
|
+
<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>
|
|
233
234
|
<div class="nav-section" data-level="2">
|
|
234
235
|
<a class="nav-title collapsible expanded" href="/private/launch/README.html" data-target="nav-private-launch-2" >
|
|
235
236
|
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"name": "Knowcode Ltd",
|
|
99
99
|
"url": "https://knowcode.tech"
|
|
100
100
|
},
|
|
101
|
-
"datePublished": "2025-07-26T10:
|
|
102
|
-
"dateModified": "2025-07-26T10:
|
|
101
|
+
"datePublished": "2025-07-26T10:38:42.009Z",
|
|
102
|
+
"dateModified": "2025-07-26T10:38:42.009Z",
|
|
103
103
|
"mainEntityOfPage": {
|
|
104
104
|
"@type": "WebPage",
|
|
105
105
|
"@id": "https://doc-builder-delta.vercel.app/private/launch/auth-cleanup-summary.html"
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
|
|
145
145
|
<div class="header-actions">
|
|
146
146
|
<div class="deployment-info">
|
|
147
|
-
<span class="deployment-date" title="Built with doc-builder v1.8.
|
|
147
|
+
<span class="deployment-date" title="Built with doc-builder v1.8.1">Last updated: Jul 26, 2025, 10:38 AM UTC</span>
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
|
|
@@ -229,7 +229,8 @@
|
|
|
229
229
|
<a href="/private/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>
|
|
230
230
|
<a href="/private/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>
|
|
231
231
|
<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>
|
|
232
|
-
<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
|
|
232
|
+
<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>
|
|
233
|
+
<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>
|
|
233
234
|
<div class="nav-section" data-level="2">
|
|
234
235
|
<a class="nav-title collapsible expanded" href="/private/launch/README.html" data-target="nav-private-launch-2" >
|
|
235
236
|
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|