@knowcode/doc-builder 1.9.30 โ†’ 1.9.31

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 (196) hide show
  1. package/package.json +12 -2
  2. package/.claude/settings.local.json +0 -56
  3. package/CACHE-BUSTING-GUIDE.md +0 -82
  4. package/CLAUDE.md +0 -86
  5. package/CONTRIBUTING.md +0 -148
  6. package/GITHUB_SETUP.md +0 -203
  7. package/RELEASE-NOTES-1.7.5.md +0 -64
  8. package/Screenshot 2025-07-22 at 19.51.21.png +0 -0
  9. package/Screenshot 2025-07-26 at 17.06.49.png +0 -0
  10. package/add-user-clive.sql +0 -35
  11. package/add-user-lindsay-fixed.sql +0 -85
  12. package/add-user-lindsay.sql +0 -68
  13. package/add-user-pmorgan.sql +0 -35
  14. package/add-user-robbie.sql +0 -35
  15. package/add-wru-users.sql +0 -105
  16. package/debug-login.sql +0 -30
  17. package/doc-builder.config.js +0 -126
  18. package/doc-builder.config.js.backup.1753793768283 +0 -47
  19. package/doc-builder.config.js.backup.1753803964423 +0 -114
  20. package/doc-builder.config.js.backup.1753945707032 +0 -115
  21. package/doc-builder.config.js.backup.1754059241330 +0 -115
  22. package/doc-builder.config.js.backup.1754119567787 +0 -123
  23. package/doc-builder.config.js.backup.1754120048862 +0 -124
  24. package/doc-builder.config.js.backup.1754120529913 +0 -124
  25. package/doc-builder.config.js.backup.1754218469785 +0 -124
  26. package/doc-builder.config.js.backup.1754384764054 +0 -124
  27. package/doc-builder.config.js.backup.1754567425847 +0 -124
  28. package/doc-builder.config.js.backup.1754568137859 +0 -126
  29. package/doc-builder.config.js.backup.1754569388252 +0 -126
  30. package/doc-builder.config.js.backup.1754576694123 +0 -126
  31. package/doc-builder.config.js.backup.1755031374829 +0 -126
  32. package/doc-builder.config.js.backup.1755034500990 +0 -126
  33. package/doc-builder.config.js.backup.1755034809236 +0 -126
  34. package/grant-access.sql +0 -15
  35. package/html/11.png +0 -0
  36. package/html/404.html +0 -115
  37. package/html/README.html +0 -522
  38. package/html/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  39. package/html/about-doc-builder.html +0 -491
  40. package/html/auth.js +0 -157
  41. package/html/claude-workflow-guide.html +0 -525
  42. package/html/css/notion-style.css +0 -2502
  43. package/html/documentation-index.html +0 -471
  44. package/html/guides/authentication-default-change.html +0 -370
  45. package/html/guides/authentication-guide.html +0 -509
  46. package/html/guides/cache-control-anti-pattern.html +0 -361
  47. package/html/guides/claude-workflow-guide.html +0 -1074
  48. package/html/guides/configuration-guide.html +0 -472
  49. package/html/guides/document-standards.html +0 -518
  50. package/html/guides/documentation-standards.html +0 -694
  51. package/html/guides/html-embedding-guide.html +0 -461
  52. package/html/guides/image-modal-guide.html +0 -515
  53. package/html/guides/next-steps-walkthrough.html +0 -638
  54. package/html/guides/phosphor-icons-guide.html +0 -584
  55. package/html/guides/private-directory-authentication-troubleshooting.html +0 -555
  56. package/html/guides/private-directory-authentication.html +0 -541
  57. package/html/guides/public-site-deployment.html +0 -431
  58. package/html/guides/search-engine-verification-guide.html +0 -542
  59. package/html/guides/seo-guide.html +0 -661
  60. package/html/guides/seo-optimization-guide.html +0 -887
  61. package/html/guides/supabase-auth-implementation-plan.html +0 -543
  62. package/html/guides/supabase-auth-integration-plan.html +0 -671
  63. package/html/guides/supabase-auth-setup-guide.html +0 -498
  64. package/html/guides/supabase-authentication-complete-guide.html +0 -866
  65. package/html/guides/troubleshooting-guide.html +0 -633
  66. package/html/guides/vercel-deployment-auth-setup.html +0 -337
  67. package/html/guides/windows-setup-guide.html +0 -859
  68. package/html/image-modal-test.html +0 -318
  69. package/html/index.html +0 -522
  70. package/html/js/auth.js +0 -157
  71. package/html/js/main.js +0 -1754
  72. package/html/launch/README.html +0 -297
  73. package/html/launch/bubble-plugin-specification.html +0 -933
  74. package/html/launch/go-to-market-strategy.html +0 -663
  75. package/html/launch/launch-announcements.html +0 -593
  76. package/html/login.html +0 -102
  77. package/html/logout.html +0 -18
  78. package/html/private/cache-control-anti-pattern.html +0 -429
  79. package/html/private/launch/README.html +0 -371
  80. package/html/private/launch/auth-cleanup-summary.html +0 -361
  81. package/html/private/launch/bubble-plugin-specification.html +0 -1007
  82. package/html/private/launch/go-to-market-strategy.html +0 -737
  83. package/html/private/launch/launch-announcements.html +0 -667
  84. package/html/private/launch/vercel-deployment-auth-setup.html +0 -417
  85. package/html/private/next-steps-walkthrough.html +0 -679
  86. package/html/private/supabase-auth-implementation-completed.html +0 -454
  87. package/html/private/supabase-auth-implementation-plan.html +0 -594
  88. package/html/private/supabase-auth-integration-plan.html +0 -704
  89. package/html/private/supabase-auth-setup-guide.html +0 -555
  90. package/html/private/test-private-doc.html +0 -302
  91. package/html/private/user-management-tooling.html +0 -601
  92. package/html/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  93. package/html/prompts/beautiful-documentation-design.html +0 -784
  94. package/html/prompts/markdown-document-standards.html +0 -422
  95. package/html/prompts/project-rename-strategy-sasha-publish.html +0 -530
  96. package/html/robots.txt +0 -9
  97. package/html/sitemap.xml +0 -357
  98. package/html/test-questions/how-does-it-work%3F.html +0 -294
  99. package/html/test-questions/step-1%3A%20getting-started.html +0 -289
  100. package/html/test-questions/what-is-the-purpose.html +0 -293
  101. package/html/test-status.html +0 -281
  102. package/html/vercel-cli-setup-guide.html +0 -495
  103. package/html/vercel-first-time-setup-guide.html +0 -454
  104. package/html/vercel.json +0 -29
  105. package/html-static/11.png +0 -0
  106. package/html-static/404.html +0 -115
  107. package/html-static/README.html +0 -609
  108. package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  109. package/html-static/about-doc-builder.html +0 -578
  110. package/html-static/css/notion-style.css +0 -2502
  111. package/html-static/documentation-index.html +0 -558
  112. package/html-static/guides/authentication-default-change.html +0 -457
  113. package/html-static/guides/authentication-guide.html +0 -596
  114. package/html-static/guides/claude-workflow-guide.html +0 -1161
  115. package/html-static/guides/configuration-guide.html +0 -559
  116. package/html-static/guides/documentation-standards.html +0 -781
  117. package/html-static/guides/html-embedding-guide.html +0 -548
  118. package/html-static/guides/image-modal-guide.html +0 -602
  119. package/html-static/guides/phosphor-icons-guide.html +0 -671
  120. package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -642
  121. package/html-static/guides/private-directory-authentication.html +0 -628
  122. package/html-static/guides/public-site-deployment.html +0 -518
  123. package/html-static/guides/search-engine-verification-guide.html +0 -629
  124. package/html-static/guides/seo-guide.html +0 -748
  125. package/html-static/guides/seo-optimization-guide.html +0 -974
  126. package/html-static/guides/supabase-authentication-complete-guide.html +0 -953
  127. package/html-static/guides/troubleshooting-guide.html +0 -720
  128. package/html-static/guides/windows-setup-guide.html +0 -946
  129. package/html-static/image-modal-test.html +0 -405
  130. package/html-static/index.html +0 -609
  131. package/html-static/js/main.js +0 -1754
  132. package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  133. package/html-static/prompts/beautiful-documentation-design.html +0 -871
  134. package/html-static/prompts/markdown-document-standards.html +0 -509
  135. package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -617
  136. package/html-static/robots.txt +0 -5
  137. package/html-static/sitemap.xml +0 -195
  138. package/html-static/test-questions/how-does-it-work%3F.html +0 -381
  139. package/html-static/test-questions/step-1%3A%20getting-started.html +0 -376
  140. package/html-static/test-questions/what-is-the-purpose.html +0 -380
  141. package/html-static/vercel-cli-setup-guide.html +0 -582
  142. package/html-static/vercel-first-time-setup-guide.html +0 -541
  143. package/manage-users.sql +0 -191
  144. package/migrate-to-domain-auth.sql +0 -47
  145. package/package/CACHE-BUSTING-GUIDE.md +0 -82
  146. package/package/CHANGELOG.md +0 -902
  147. package/package/README.md +0 -248
  148. package/package/assets/css/notion-style.css +0 -2211
  149. package/package/assets/js/auth.js +0 -67
  150. package/package/assets/js/main.js +0 -1565
  151. package/package/cli.js +0 -764
  152. package/package/index.js +0 -38
  153. package/package/knowcode-doc-builder-1.3.15.tgz +0 -0
  154. package/package/lib/builder.js +0 -32
  155. package/package/lib/config.js +0 -278
  156. package/package/lib/core-builder.js +0 -957
  157. package/package/lib/deploy.js +0 -497
  158. package/package/lib/dev-server.js +0 -96
  159. package/package/package.json +0 -34
  160. package/package/scripts/npx-runner.js +0 -27
  161. package/package/scripts/setup.js +0 -56
  162. package/package/test-cache-bust.sh +0 -43
  163. package/public-config.js +0 -22
  164. package/public-html/404.html +0 -115
  165. package/public-html/README.html +0 -149
  166. package/public-html/css/notion-style.css +0 -2036
  167. package/public-html/index.html +0 -149
  168. package/public-html/js/auth.js +0 -67
  169. package/public-html/js/main.js +0 -1485
  170. package/quick-test-commands.md +0 -40
  171. package/recordings/Screenshot 2025-07-24 at 18.22.01.png +0 -0
  172. package/recordings/mh-ls-22jul.txt +0 -2305
  173. package/screenshot.png +0 -0
  174. package/scripts/Screenshot 2025-07-23 at 15.39.41.png +0 -0
  175. package/setup-database-v2.sql +0 -53
  176. package/setup-database.sql +0 -41
  177. package/test-auth-config.js +0 -17
  178. package/test-cache-bust.sh +0 -43
  179. package/test-docs/README.md +0 -39
  180. package/test-html/404.html +0 -115
  181. package/test-html/README.html +0 -172
  182. package/test-html/auth.js +0 -97
  183. package/test-html/css/notion-style.css +0 -2036
  184. package/test-html/index.html +0 -172
  185. package/test-html/js/auth.js +0 -97
  186. package/test-html/js/main.js +0 -1485
  187. package/test-html/login.html +0 -102
  188. package/test-html/logout.html +0 -18
  189. package/update-domain.sql +0 -9
  190. package/user-access-view.sql +0 -49
  191. package/user-management/README.md +0 -301
  192. package/user-management/add-users.sh +0 -776
  193. package/user-management/create-user.js +0 -65
  194. package/user-management/users.txt +0 -15
  195. package/view-all-users.sql +0 -40
  196. package/wru-auth-config.js +0 -17
@@ -1,56 +0,0 @@
1
- /**
2
- * Post-install setup script for @knowcode/doc-builder
3
- * This script runs after npm install to help users get started
4
- */
5
-
6
- const fs = require('fs');
7
- const path = require('path');
8
- const chalk = require('chalk');
9
-
10
- // Check if we're in the doc-builder package itself (skip setup)
11
- const packagePath = path.join(process.cwd(), 'package.json');
12
- if (fs.existsSync(packagePath)) {
13
- const pkg = JSON.parse(fs.readFileSync(packagePath, 'utf8'));
14
- if (pkg.name === '@knowcode/doc-builder') {
15
- // We're in the doc-builder package itself, skip setup
16
- process.exit(0);
17
- }
18
- }
19
-
20
- console.log(chalk.cyan('\n๐Ÿš€ Welcome to @knowcode/doc-builder!\n'));
21
-
22
- console.log('You can use doc-builder in several ways:\n');
23
-
24
- console.log(chalk.yellow('1. Using npx (no installation required):'));
25
- console.log(' npx @knowcode/doc-builder build');
26
- console.log(' npx @knowcode/doc-builder dev');
27
- console.log(' npx @knowcode/doc-builder deploy\n');
28
-
29
- console.log(chalk.yellow('2. After installing as a dependency:'));
30
- console.log(' doc-builder build');
31
- console.log(' doc-builder dev');
32
- console.log(' doc-builder deploy\n');
33
-
34
- console.log(chalk.yellow('3. In your package.json scripts:'));
35
- console.log(chalk.gray(' "scripts": {'));
36
- console.log(chalk.gray(' "docs:build": "doc-builder build",'));
37
- console.log(chalk.gray(' "docs:dev": "doc-builder dev",'));
38
- console.log(chalk.gray(' "docs:deploy": "doc-builder deploy --prod"'));
39
- console.log(chalk.gray(' }\n'));
40
-
41
- console.log(chalk.yellow('4. Programmatically in your code:'));
42
- console.log(chalk.gray(' const { build } = require("@knowcode/doc-builder");'));
43
- console.log(chalk.gray(' await build();\n'));
44
-
45
- // Check for common doc directories
46
- const commonDirs = ['docs', 'documentation', 'doc'];
47
- const foundDir = commonDirs.find(dir => fs.existsSync(path.join(process.cwd(), dir)));
48
-
49
- if (foundDir) {
50
- console.log(chalk.green(`โœ… Found ${foundDir}/ directory - doc-builder will use this by default\n`));
51
- } else {
52
- console.log(chalk.yellow(`โ„น๏ธ No docs directory found. Create a 'docs' folder with markdown files to get started.\n`));
53
- }
54
-
55
- console.log(chalk.gray('For more information, visit: https://github.com/knowcode/doc-builder'));
56
- console.log(chalk.gray('To create a config file, run: doc-builder init --config\n'));
@@ -1,43 +0,0 @@
1
- #!/bin/bash
2
-
3
- echo "๐Ÿงน Cache Busting Test for doc-builder"
4
- echo "===================================="
5
-
6
- # Step 1: Clean everything
7
- echo "1. Removing old build artifacts..."
8
- rm -rf html/
9
- rm -rf node_modules/
10
- rm -rf .cache/
11
-
12
- # Step 2: Clear npm cache
13
- echo "2. Clearing npm cache..."
14
- npm cache clean --force
15
-
16
- # Step 3: Install latest version
17
- echo "3. Installing latest doc-builder..."
18
- npm install @knowcode/doc-builder@latest
19
-
20
- # Step 4: Show version
21
- echo "4. Installed version:"
22
- npm list @knowcode/doc-builder
23
-
24
- # Step 5: Build fresh
25
- echo "5. Building documentation..."
26
- npx @knowcode/doc-builder build
27
-
28
- # Step 6: Check CSS content
29
- echo "6. Checking if CSS has latest changes..."
30
- echo " Looking for 'margin: 0; /* Left aligned'..."
31
- grep -n "margin: 0; /\* Left aligned" html/css/notion-style.css || echo "NOT FOUND!"
32
-
33
- echo " Looking for 'position: fixed; /* Use fixed'..."
34
- grep -n "position: fixed; /\* Use fixed" html/css/notion-style.css || echo "NOT FOUND!"
35
-
36
- echo ""
37
- echo "โœ… If you see the CSS changes above, the package is working correctly!"
38
- echo "๐Ÿšจ If not found, there's a build issue we need to investigate."
39
- echo ""
40
- echo "Next steps:"
41
- echo "1. Deploy with: vercel --prod --force"
42
- echo "2. Open in incognito/private browsing"
43
- echo "3. Hard refresh: Cmd+Shift+R (Mac) or Ctrl+Shift+R (Windows)"
package/public-config.js DELETED
@@ -1,22 +0,0 @@
1
- module.exports = {
2
- siteName: 'โœจ Test Documentation',
3
- siteDescription: 'Public documentation site',
4
- favicon: 'โœจ',
5
- footer: {
6
- copyright: 'Test Documentation',
7
- links: []
8
- },
9
- docsDir: 'test-docs',
10
- outputDir: 'public-html',
11
- // No authentication configured - this is a public site
12
- features: {
13
- authentication: false,
14
- darkMode: true,
15
- mermaid: true,
16
- changelog: false,
17
- normalizeTitle: true,
18
- showPdfDownload: true,
19
- menuDefaultOpen: true,
20
- phosphorIcons: true
21
- }
22
- };
@@ -1,115 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Page Not Found - Redirecting...</title>
7
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
8
- <style>
9
- body {
10
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
11
- margin: 0;
12
- padding: 0;
13
- display: flex;
14
- align-items: center;
15
- justify-content: center;
16
- min-height: 100vh;
17
- background-color: #f7f7f5;
18
- color: #37352f;
19
- }
20
- .container {
21
- text-align: center;
22
- padding: 2rem;
23
- max-width: 600px;
24
- }
25
- h1 {
26
- font-size: 3rem;
27
- margin: 0 0 1rem 0;
28
- color: #37352f;
29
- }
30
- p {
31
- font-size: 1.125rem;
32
- line-height: 1.6;
33
- color: #6b6b6b;
34
- margin: 0 0 2rem 0;
35
- }
36
- a {
37
- color: #0366d6;
38
- text-decoration: none;
39
- }
40
- a:hover {
41
- text-decoration: underline;
42
- }
43
- .emoji {
44
- font-size: 4rem;
45
- margin-bottom: 1rem;
46
- }
47
- .loading {
48
- display: none;
49
- color: #0366d6;
50
- margin-top: 1rem;
51
- }
52
- .redirect-message {
53
- display: none;
54
- background-color: #e8f4fd;
55
- border: 1px solid #c3e0f7;
56
- padding: 1rem;
57
- border-radius: 8px;
58
- margin-top: 1rem;
59
- }
60
- </style>
61
- </head>
62
- <body>
63
- <div class="container">
64
- <div class="emoji">๐Ÿ”</div>
65
- <h1>404</h1>
66
- <p id="message">The page you're looking for doesn't exist.</p>
67
- <div id="redirect-message" class="redirect-message">
68
- Redirecting to the correct page...
69
- </div>
70
- <p id="loading" class="loading">Redirecting...</p>
71
- <p>
72
- <a href="/" id="home-link">Go to Home</a>
73
- </p>
74
- </div>
75
-
76
- <script>
77
- // Check if the URL ends with .md
78
- const pathname = window.location.pathname;
79
-
80
- if (pathname.endsWith('.md')) {
81
- // Convert .md to .html
82
- const htmlPath = pathname.replace(/\.md$/, '.html');
83
-
84
- // Show redirect message
85
- document.getElementById('message').textContent = 'Found a markdown link. Redirecting to the HTML version...';
86
- document.getElementById('redirect-message').style.display = 'block';
87
- document.getElementById('loading').style.display = 'block';
88
-
89
- // Redirect after a brief delay to show the message
90
- setTimeout(() => {
91
- window.location.replace(htmlPath);
92
- }, 500);
93
- } else {
94
- // For true 404s, show the standard message
95
- document.getElementById('message').textContent = "The page you're looking for doesn't exist.";
96
-
97
- // Also check if we can suggest a similar page
98
- // Remove common suffixes and try to find a match
99
- const basePath = pathname
100
- .replace(/\.(html|htm|php|asp|aspx)$/, '')
101
- .replace(/\/$/, '');
102
-
103
- if (basePath && basePath !== pathname) {
104
- document.getElementById('message').innerHTML =
105
- `The page you're looking for doesn't exist.<br>
106
- <small>Did you mean <a href="${basePath}.html">${basePath}.html</a>?</small>`;
107
- }
108
- }
109
-
110
- // Update home link to use the correct base URL
111
- const baseUrl = window.location.origin;
112
- document.getElementById('home-link').href = baseUrl;
113
- </script>
114
- </body>
115
- </html>
@@ -1,149 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="description" content="Welcome to the test documentation site! If you can see this page, it means:">
7
- <title>๐Ÿ” Test Documentation with Supabase Auth - โœจ Test Documentation</title>
8
-
9
-
10
-
11
- <!-- Fonts -->
12
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
13
-
14
- <!-- Icons -->
15
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
16
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css">
17
-
18
- <!-- Mermaid -->
19
- <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
20
-
21
- <!-- Styles -->
22
- <link rel="stylesheet" href="/css/notion-style.css">
23
-
24
-
25
-
26
- <!-- Favicon -->
27
- <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>">
28
-
29
-
30
- </head>
31
- <body>
32
- <!-- Header -->
33
- <header class="header">
34
- <div class="header-content">
35
- <a href="/index.html" class="logo">โœจ Test Documentation</a>
36
-
37
- <div class="header-actions">
38
- <div class="deployment-info">
39
- <span class="deployment-date" title="Built with doc-builder v1.7.4">Last updated: Jul 25, 2025, 12:40 PM UTC</span>
40
- </div>
41
-
42
-
43
-
44
- <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
45
- <i class="fas fa-moon"></i>
46
- </button>
47
-
48
- <button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
49
- <i class="fas fa-bars"></i>
50
- </button>
51
- </div>
52
- </div>
53
- </header>
54
-
55
- <!-- Preview Banner -->
56
- <div id="preview-banner" class="preview-banner">
57
- <div class="banner-content">
58
- <i class="fas fa-exclamation-triangle banner-icon"></i>
59
- <span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
60
- <button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
61
- <i class="fas fa-times"></i>
62
- </button>
63
- </div>
64
- </div>
65
-
66
- <!-- Breadcrumbs -->
67
- <nav class="breadcrumbs" id="breadcrumbs">
68
- <!-- Breadcrumbs will be generated by JavaScript -->
69
- </nav>
70
-
71
- <!-- Main Content -->
72
- <div class="main-wrapper">
73
- <!-- Sidebar -->
74
- <aside class="sidebar">
75
- <div class="sidebar-header">
76
- <div class="filter-box">
77
- <input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
78
- <i class="fas fa-search filter-icon"></i>
79
- </div>
80
- </div>
81
- <nav class="navigation">
82
-
83
- <div class="nav-section" data-level="0">
84
- <a class="nav-title expanded" href="/README.html" >
85
- <i class="fas fa-home"></i> Documentation
86
- </a>
87
- <div class="nav-content" >
88
- <a href="/README.html" class="nav-item active" data-tooltip="๐Ÿ” Test Documentation with Supabase Auth."><i class="fas fa-file-alt"></i> Overview</a></div></div>
89
- </nav>
90
- <div class="resize-handle"></div>
91
- </aside>
92
-
93
- <!-- Content Area -->
94
- <main class="content">
95
- <div class="content-inner">
96
- <h1><i class="ph ph-lock-key" aria-label="secure"></i> Test Documentation with Supabase Auth</h1>
97
- <p>Welcome to the test documentation site! If you can see this page, it means:</p>
98
- <h2><i class="ph ph-check-circle" aria-label="checked"></i> Authentication is Working!</h2>
99
- <ul>
100
- <li>You successfully logged in with Supabase</li>
101
- <li>Your user account has access to this documentation site</li>
102
- <li>The JWT token is valid and verified</li>
103
- <li>Row Level Security is properly configured</li>
104
- </ul>
105
- <h2>๐Ÿงช Test Features</h2>
106
- <h3>Secure Access</h3>
107
- <p>This page is protected by enterprise-grade Supabase authentication. Only authorized users can view this content.</p>
108
- <h3>Modern Technology Stack</h3>
109
- <ul>
110
- <li><strong>Frontend</strong>: Generated static HTML with auth checking</li>
111
- <li><strong>Backend</strong>: Supabase authentication and database</li>
112
- <li><strong>Security</strong>: JWT tokens, bcrypt password hashing, RLS policies</li>
113
- </ul>
114
- <h3>What This Proves</h3>
115
- <ol>
116
- <li><strong>Database Setup</strong>: Tables were created correctly</li>
117
- <li><strong>Authentication Flow</strong>: Login โ†’ JWT โ†’ Access check โ†’ Content</li>
118
- <li><strong>Integration</strong>: doc-builder + Supabase working together</li>
119
- <li><strong>Security</strong>: Only authenticated users with proper access can see this</li>
120
- </ol>
121
- <h2><i class="ph ph-target" aria-label="goal"></i> Next Steps</h2>
122
- <p>Once this test works, we can:</p>
123
- <ul>
124
- <li>Deploy to Vercel with production settings</li>
125
- <li>Add more users and documentation sites </li>
126
- <li>Set up your real documentation content</li>
127
- <li>Configure custom domains and advanced features</li>
128
- </ul>
129
- <hr>
130
- <p><strong>Generated by</strong>: @knowcode/doc-builder with Supabase authentication<br><strong>Test Date</strong>: July 25, 2025</p>
131
-
132
- </div>
133
- </main>
134
- </div>
135
-
136
- <!-- Scripts -->
137
- <script>
138
- // Pass configuration to frontend
139
- window.docBuilderConfig = {
140
- features: {
141
- showPdfDownload: true,
142
- menuDefaultOpen: true
143
- }
144
- };
145
- </script>
146
- <script src="/js/main.js"></script>
147
-
148
- </body>
149
- </html>