@knowcode/doc-builder 1.9.29 → 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 (197) hide show
  1. package/assets/js/main.js +7 -0
  2. package/lib/core-builder.js +18 -1
  3. package/package.json +12 -2
  4. package/.claude/settings.local.json +0 -56
  5. package/CACHE-BUSTING-GUIDE.md +0 -82
  6. package/CLAUDE.md +0 -86
  7. package/CONTRIBUTING.md +0 -148
  8. package/GITHUB_SETUP.md +0 -203
  9. package/RELEASE-NOTES-1.7.5.md +0 -64
  10. package/Screenshot 2025-07-22 at 19.51.21.png +0 -0
  11. package/Screenshot 2025-07-26 at 17.06.49.png +0 -0
  12. package/add-user-clive.sql +0 -35
  13. package/add-user-lindsay-fixed.sql +0 -85
  14. package/add-user-lindsay.sql +0 -68
  15. package/add-user-pmorgan.sql +0 -35
  16. package/add-user-robbie.sql +0 -35
  17. package/add-wru-users.sql +0 -105
  18. package/debug-login.sql +0 -30
  19. package/doc-builder.config.js +0 -126
  20. package/doc-builder.config.js.backup.1753793768283 +0 -47
  21. package/doc-builder.config.js.backup.1753803964423 +0 -114
  22. package/doc-builder.config.js.backup.1753945707032 +0 -115
  23. package/doc-builder.config.js.backup.1754059241330 +0 -115
  24. package/doc-builder.config.js.backup.1754119567787 +0 -123
  25. package/doc-builder.config.js.backup.1754120048862 +0 -124
  26. package/doc-builder.config.js.backup.1754120529913 +0 -124
  27. package/doc-builder.config.js.backup.1754218469785 +0 -124
  28. package/doc-builder.config.js.backup.1754384764054 +0 -124
  29. package/doc-builder.config.js.backup.1754567425847 +0 -124
  30. package/doc-builder.config.js.backup.1754568137859 +0 -126
  31. package/doc-builder.config.js.backup.1754569388252 +0 -126
  32. package/doc-builder.config.js.backup.1754576694123 +0 -126
  33. package/doc-builder.config.js.backup.1755031374829 +0 -126
  34. package/doc-builder.config.js.backup.1755034500990 +0 -126
  35. package/grant-access.sql +0 -15
  36. package/html/11.png +0 -0
  37. package/html/404.html +0 -115
  38. package/html/README.html +0 -522
  39. package/html/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  40. package/html/about-doc-builder.html +0 -491
  41. package/html/auth.js +0 -157
  42. package/html/claude-workflow-guide.html +0 -525
  43. package/html/css/notion-style.css +0 -2502
  44. package/html/documentation-index.html +0 -471
  45. package/html/guides/authentication-default-change.html +0 -370
  46. package/html/guides/authentication-guide.html +0 -509
  47. package/html/guides/cache-control-anti-pattern.html +0 -361
  48. package/html/guides/claude-workflow-guide.html +0 -1074
  49. package/html/guides/configuration-guide.html +0 -472
  50. package/html/guides/document-standards.html +0 -518
  51. package/html/guides/documentation-standards.html +0 -694
  52. package/html/guides/html-embedding-guide.html +0 -461
  53. package/html/guides/image-modal-guide.html +0 -515
  54. package/html/guides/next-steps-walkthrough.html +0 -638
  55. package/html/guides/phosphor-icons-guide.html +0 -584
  56. package/html/guides/private-directory-authentication-troubleshooting.html +0 -555
  57. package/html/guides/private-directory-authentication.html +0 -541
  58. package/html/guides/public-site-deployment.html +0 -431
  59. package/html/guides/search-engine-verification-guide.html +0 -542
  60. package/html/guides/seo-guide.html +0 -661
  61. package/html/guides/seo-optimization-guide.html +0 -887
  62. package/html/guides/supabase-auth-implementation-plan.html +0 -543
  63. package/html/guides/supabase-auth-integration-plan.html +0 -671
  64. package/html/guides/supabase-auth-setup-guide.html +0 -498
  65. package/html/guides/supabase-authentication-complete-guide.html +0 -866
  66. package/html/guides/troubleshooting-guide.html +0 -633
  67. package/html/guides/vercel-deployment-auth-setup.html +0 -337
  68. package/html/guides/windows-setup-guide.html +0 -859
  69. package/html/image-modal-test.html +0 -318
  70. package/html/index.html +0 -522
  71. package/html/js/auth.js +0 -157
  72. package/html/js/main.js +0 -1747
  73. package/html/launch/README.html +0 -297
  74. package/html/launch/bubble-plugin-specification.html +0 -933
  75. package/html/launch/go-to-market-strategy.html +0 -663
  76. package/html/launch/launch-announcements.html +0 -593
  77. package/html/login.html +0 -102
  78. package/html/logout.html +0 -18
  79. package/html/private/cache-control-anti-pattern.html +0 -429
  80. package/html/private/launch/README.html +0 -371
  81. package/html/private/launch/auth-cleanup-summary.html +0 -361
  82. package/html/private/launch/bubble-plugin-specification.html +0 -1007
  83. package/html/private/launch/go-to-market-strategy.html +0 -737
  84. package/html/private/launch/launch-announcements.html +0 -667
  85. package/html/private/launch/vercel-deployment-auth-setup.html +0 -417
  86. package/html/private/next-steps-walkthrough.html +0 -679
  87. package/html/private/supabase-auth-implementation-completed.html +0 -454
  88. package/html/private/supabase-auth-implementation-plan.html +0 -594
  89. package/html/private/supabase-auth-integration-plan.html +0 -704
  90. package/html/private/supabase-auth-setup-guide.html +0 -555
  91. package/html/private/test-private-doc.html +0 -302
  92. package/html/private/user-management-tooling.html +0 -601
  93. package/html/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  94. package/html/prompts/beautiful-documentation-design.html +0 -784
  95. package/html/prompts/markdown-document-standards.html +0 -422
  96. package/html/prompts/project-rename-strategy-sasha-publish.html +0 -530
  97. package/html/robots.txt +0 -9
  98. package/html/sitemap.xml +0 -357
  99. package/html/test-questions/how-does-it-work%3F.html +0 -294
  100. package/html/test-questions/step-1%3A%20getting-started.html +0 -289
  101. package/html/test-questions/what-is-the-purpose.html +0 -293
  102. package/html/test-status.html +0 -281
  103. package/html/vercel-cli-setup-guide.html +0 -495
  104. package/html/vercel-first-time-setup-guide.html +0 -454
  105. package/html/vercel.json +0 -29
  106. package/html-static/11.png +0 -0
  107. package/html-static/404.html +0 -115
  108. package/html-static/README.html +0 -599
  109. package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  110. package/html-static/about-doc-builder.html +0 -568
  111. package/html-static/css/notion-style.css +0 -2502
  112. package/html-static/documentation-index.html +0 -548
  113. package/html-static/guides/authentication-default-change.html +0 -447
  114. package/html-static/guides/authentication-guide.html +0 -586
  115. package/html-static/guides/claude-workflow-guide.html +0 -1151
  116. package/html-static/guides/configuration-guide.html +0 -549
  117. package/html-static/guides/documentation-standards.html +0 -771
  118. package/html-static/guides/html-embedding-guide.html +0 -538
  119. package/html-static/guides/image-modal-guide.html +0 -592
  120. package/html-static/guides/phosphor-icons-guide.html +0 -661
  121. package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -632
  122. package/html-static/guides/private-directory-authentication.html +0 -618
  123. package/html-static/guides/public-site-deployment.html +0 -508
  124. package/html-static/guides/search-engine-verification-guide.html +0 -619
  125. package/html-static/guides/seo-guide.html +0 -738
  126. package/html-static/guides/seo-optimization-guide.html +0 -964
  127. package/html-static/guides/supabase-authentication-complete-guide.html +0 -943
  128. package/html-static/guides/troubleshooting-guide.html +0 -710
  129. package/html-static/guides/windows-setup-guide.html +0 -936
  130. package/html-static/image-modal-test.html +0 -395
  131. package/html-static/index.html +0 -599
  132. package/html-static/js/main.js +0 -1747
  133. package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  134. package/html-static/prompts/beautiful-documentation-design.html +0 -861
  135. package/html-static/prompts/markdown-document-standards.html +0 -499
  136. package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -607
  137. package/html-static/robots.txt +0 -5
  138. package/html-static/sitemap.xml +0 -195
  139. package/html-static/test-questions/how-does-it-work%3F.html +0 -371
  140. package/html-static/test-questions/step-1%3A%20getting-started.html +0 -366
  141. package/html-static/test-questions/what-is-the-purpose.html +0 -370
  142. package/html-static/vercel-cli-setup-guide.html +0 -572
  143. package/html-static/vercel-first-time-setup-guide.html +0 -531
  144. package/manage-users.sql +0 -191
  145. package/migrate-to-domain-auth.sql +0 -47
  146. package/package/CACHE-BUSTING-GUIDE.md +0 -82
  147. package/package/CHANGELOG.md +0 -902
  148. package/package/README.md +0 -248
  149. package/package/assets/css/notion-style.css +0 -2211
  150. package/package/assets/js/auth.js +0 -67
  151. package/package/assets/js/main.js +0 -1565
  152. package/package/cli.js +0 -764
  153. package/package/index.js +0 -38
  154. package/package/knowcode-doc-builder-1.3.15.tgz +0 -0
  155. package/package/lib/builder.js +0 -32
  156. package/package/lib/config.js +0 -278
  157. package/package/lib/core-builder.js +0 -957
  158. package/package/lib/deploy.js +0 -497
  159. package/package/lib/dev-server.js +0 -96
  160. package/package/package.json +0 -34
  161. package/package/scripts/npx-runner.js +0 -27
  162. package/package/scripts/setup.js +0 -56
  163. package/package/test-cache-bust.sh +0 -43
  164. package/public-config.js +0 -22
  165. package/public-html/404.html +0 -115
  166. package/public-html/README.html +0 -149
  167. package/public-html/css/notion-style.css +0 -2036
  168. package/public-html/index.html +0 -149
  169. package/public-html/js/auth.js +0 -67
  170. package/public-html/js/main.js +0 -1485
  171. package/quick-test-commands.md +0 -40
  172. package/recordings/Screenshot 2025-07-24 at 18.22.01.png +0 -0
  173. package/recordings/mh-ls-22jul.txt +0 -2305
  174. package/screenshot.png +0 -0
  175. package/scripts/Screenshot 2025-07-23 at 15.39.41.png +0 -0
  176. package/setup-database-v2.sql +0 -53
  177. package/setup-database.sql +0 -41
  178. package/test-auth-config.js +0 -17
  179. package/test-cache-bust.sh +0 -43
  180. package/test-docs/README.md +0 -39
  181. package/test-html/404.html +0 -115
  182. package/test-html/README.html +0 -172
  183. package/test-html/auth.js +0 -97
  184. package/test-html/css/notion-style.css +0 -2036
  185. package/test-html/index.html +0 -172
  186. package/test-html/js/auth.js +0 -97
  187. package/test-html/js/main.js +0 -1485
  188. package/test-html/login.html +0 -102
  189. package/test-html/logout.html +0 -18
  190. package/update-domain.sql +0 -9
  191. package/user-access-view.sql +0 -49
  192. package/user-management/README.md +0 -301
  193. package/user-management/add-users.sh +0 -776
  194. package/user-management/create-user.js +0 -65
  195. package/user-management/users.txt +0 -15
  196. package/view-all-users.sql +0 -40
  197. package/wru-auth-config.js +0 -17
@@ -1,784 +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="Generated: 2025-07-27">
7
- <title>🎨 Beautiful Documentation Design Guide</title>
8
-
9
- <meta name="generator" content="@knowcode/doc-builder by Knowcode Ltd">
10
- <meta name="author" content="Lindsay Smith">
11
- <meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, svg, use">
12
- <meta name="robots" content="index, follow">
13
- <link rel="canonical" href="https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html">
14
-
15
- <!-- Open Graph / Facebook -->
16
- <meta property="og:type" content="article">
17
- <meta property="og:url" content="https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html">
18
- <meta property="og:title" content="🎨 Beautiful Documentation Design Guide">
19
- <meta property="og:description" content="Generated: 2025-07-27">
20
- <meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
21
- <meta property="og:site_name" content="@knowcode/doc-builder">
22
- <meta property="og:locale" content="en_US">
23
-
24
- <!-- Twitter Card -->
25
- <meta name="twitter:card" content="summary_large_image">
26
- <meta name="twitter:site" content="@planbbackups">
27
- <meta name="twitter:creator" content="@planbbackups">
28
- <meta name="twitter:title" content="🎨 Beautiful Documentation Design Guide">
29
- <meta name="twitter:description" content="Generated: 2025-07-27">
30
- <meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
31
-
32
- <!-- Custom Meta Tags -->
33
- <meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
34
- <meta name="msvalidate.01" content="B2D8C4C12C530D47AA962B24CAA09630">
35
-
36
- <!-- Fonts -->
37
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
38
-
39
- <!-- Icons -->
40
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
41
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css">
42
-
43
- <!-- Mermaid -->
44
- <script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
45
-
46
- <!-- Styles -->
47
- <link rel="stylesheet" href="/css/notion-style.css">
48
-
49
-
50
-
51
-
52
- <!-- Hide content until auth check -->
53
- <style>
54
- body {
55
- visibility: hidden;
56
- opacity: 0;
57
- transition: opacity 0.3s ease;
58
- }
59
- body.authenticated {
60
- visibility: visible;
61
- opacity: 1;
62
- }
63
- /* Show login/logout pages immediately */
64
- body.auth-page {
65
- visibility: visible;
66
- opacity: 1;
67
- }
68
- /* Style auth button consistently */
69
- .auth-btn {
70
- background: none;
71
- border: none;
72
- color: var(--text-secondary);
73
- cursor: pointer;
74
- padding: 0.5rem;
75
- border-radius: 0.5rem;
76
- transition: all 0.2s;
77
- font-size: 1.1rem;
78
- }
79
- .auth-btn:hover {
80
- background: var(--bg-secondary);
81
- color: var(--text-primary);
82
- }
83
- </style>
84
-
85
-
86
- <!-- Favicon -->
87
- <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>">
88
-
89
- <script type="application/ld+json">
90
- {
91
- "@context": "https://schema.org",
92
- "@type": "TechArticle",
93
- "headline": "🎨 Beautiful Documentation Design Guide",
94
- "description": "Generated: 2025-07-27",
95
- "author": {
96
- "@type": "Person",
97
- "name": "Lindsay Smith"
98
- },
99
- "publisher": {
100
- "@type": "Organization",
101
- "name": "Knowcode Ltd",
102
- "url": "https://knowcode.tech"
103
- },
104
- "datePublished": "2025-08-12T21:35:01.194Z",
105
- "dateModified": "2025-08-12T21:35:01.194Z",
106
- "mainEntityOfPage": {
107
- "@type": "WebPage",
108
- "@id": "https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html"
109
- },
110
- "breadcrumb": {
111
- "@type": "BreadcrumbList",
112
- "itemListElement": [
113
- {
114
- "@type": "ListItem",
115
- "position": 1,
116
- "name": "@knowcode/doc-builder",
117
- "item": "https://doc-builder-delta.vercel.app"
118
- },
119
- {
120
- "@type": "ListItem",
121
- "position": 2,
122
- "name": "Prompts",
123
- "item": "https://doc-builder-delta.vercel.app/prompts/"
124
- },
125
- {
126
- "@type": "ListItem",
127
- "position": 3,
128
- "name": "Beautiful Documentation Design",
129
- "item": "https://doc-builder-delta.vercel.app/prompts/beautiful-documentation-design.html"
130
- }
131
- ]
132
- }
133
- }
134
- </script>
135
- </head>
136
- <body>
137
-
138
- <!-- Header -->
139
- <header class="header">
140
- <div class="header-content">
141
- <a href="/index.html" class="logo">@knowcode/doc-builder</a>
142
-
143
- <div class="header-actions">
144
- <div class="deployment-info">
145
- <span class="deployment-date" title="Built with doc-builder v1.9.28">Last updated: Aug 12, 2025, 09:35 PM UTC</span>
146
- </div>
147
-
148
-
149
- <a href="../../login.html" class="auth-btn" title="Login/Logout">
150
- <i class="fas fa-sign-in-alt"></i>
151
- </a>
152
-
153
-
154
- <button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
155
- <i class="fas fa-moon"></i>
156
- </button>
157
-
158
- <button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
159
- <i class="fas fa-bars"></i>
160
- </button>
161
- </div>
162
- </div>
163
- </header>
164
-
165
-
166
-
167
-
168
- <!-- Breadcrumbs -->
169
- <nav class="breadcrumbs " id="breadcrumbs" >
170
- <!-- Breadcrumbs will be generated by JavaScript -->
171
- </nav>
172
-
173
- <!-- Main Content -->
174
- <div class="main-wrapper">
175
- <!-- Sidebar -->
176
- <aside class="sidebar">
177
- <div class="sidebar-header">
178
- <div class="filter-box">
179
- <input type="text" placeholder="Search menu..." class="filter-input" id="nav-filter">
180
- <i class="fas fa-search filter-icon"></i>
181
- </div>
182
- </div>
183
- <nav class="navigation">
184
-
185
- <div class="nav-section" data-level="0">
186
- <a class="nav-title toggle-all-nav expanded" href="#" id="nav-toggle-all" title="Collapse/Expand All">
187
- <i class="ph ph-caret-down" id="toggle-all-icon"></i> Documentation
188
- </a>
189
- <div class="nav-content">
190
- <a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="ph ph-file-text"></i> Overview</a>
191
- <a href="/about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
192
- <a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Index</a>
193
- <a href="/image-modal-test.html" class="nav-item" data-tooltip="This document tests the new image modal functionality in doc-builder."><i class="ph ph-file-text"></i> Image Modal Test</a>
194
- <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
195
- <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
196
- <div class="nav-section" data-level="1">
197
- <a class="nav-title collapsible" href="#" data-target="nav-guides-1" >
198
- <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-book"></i> Guides
199
- </a>
200
- <div class="nav-content collapsed" id="nav-guides-1">
201
- <a href="/guides/authentication-default-change.html" class="nav-item" data-tooltip="Starting from version 1.7.4, @knowcode/doc-builder now defaults to no authentication for all documentation sites."><i class="ph ph-file-text"></i> Authentication Default Change</a>
202
- <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="ph ph-check-circle" style="color: #059669;"></i> Authentication Guide</a>
203
- <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="ph ph-pencil-simple" style="color: #d97706;"></i> Claude Workflow Guide</a>
204
- <a href="/guides/configuration-guide.html" class="nav-item" data-tooltip="This guide explains how @knowcode/doc-builder handles configuration files and settings."><i class="ph ph-check-circle" style="color: #059669;"></i> Configuration Guide</a>
205
- <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="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Standards</a>
206
- <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="ph ph-check-circle" style="color: #059669;"></i> Html Embedding Guide</a>
207
- <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="ph ph-check-circle" style="color: #059669;"></i> Image Modal Guide</a>
208
- <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="ph ph-pencil-simple" style="color: #d97706;"></i> Phosphor Icons Guide</a>
209
- <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="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication</a>
210
- <a href="/guides/private-directory-authentication-troubleshooting.html" class="nav-item" data-tooltip="Private Directory Authentication Troubleshooting."><i class="ph ph-check-circle" style="color: #059669;"></i> Private Directory Authentication Troubleshooting</a>
211
- <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="ph ph-check-circle" style="color: #059669;"></i> Public Site Deployment</a>
212
- <a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="ph ph-check-circle" style="color: #059669;"></i> Search Engine Verification Guide</a>
213
- <a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="ph ph-check-circle" style="color: #059669;"></i> Seo Guide</a>
214
- <a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="Comprehensive guide to optimizing documentation for search engines. Learn SEO best practices, use built-in features, and improve your rankings."><i class="ph ph-check-circle" style="color: #059669;"></i> SEO Optimization Guide for @knowcode/doc-builder</a>
215
- <a href="/guides/supabase-authentication-complete-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes built-in Supabase authentication that provides enterprise-grade security with zero configuration."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Authentication Complete Guide</a>
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="ph ph-check-circle" style="color: #059669;"></i> Troubleshooting Guide</a>
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="ph ph-check-circle" style="color: #059669;"></i> Windows Setup Guide</a></div></div>
218
- <div class="nav-section private-nav" data-level="1">
219
- <a class="nav-title collapsible" href="#" data-target="nav-private-1" >
220
- <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-lock"></i> Private
221
- </a>
222
- <div class="nav-content collapsed" id="nav-private-1">
223
- <a href="/private/cache-control-anti-pattern.html" class="nav-item" data-tooltip="Cache Control Anti-Pattern: Why Aggressive Cache-Busting is Bad for Documentation Sites."><i class="ph ph-check-circle" style="color: #059669;"></i> Cache Control Anti Pattern</a>
224
- <a href="/private/next-steps-walkthrough.html" class="nav-item" data-tooltip="Now that we&#039;ve implemented Supabase authentication, let&#039;s walk through testing the implementation and preparing for deployment."><i class="ph ph-check-circle" style="color: #059669;"></i> Next Steps Walkthrough</a>
225
- <a href="/private/supabase-auth-implementation-completed.html" class="nav-item" data-tooltip="This document records the successful implementation of Supabase authentication in @knowcode/doc-builder v1.7.5+."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Auth Implementation Completed</a>
226
- <a href="/private/supabase-auth-implementation-plan.html" class="nav-item" data-tooltip="Supabase Auth Implementation Plan for @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Auth Implementation Plan</a>
227
- <a href="/private/supabase-auth-integration-plan.html" class="nav-item" data-tooltip="Supabase Authentication Integration Plan for @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> Supabase Auth Integration Plan</a>
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="ph ph-check-circle" style="color: #059669;"></i> Supabase Auth Setup Guide</a>
229
- <a href="/private/test-private-doc.html" class="nav-item" data-tooltip="Test Private Document."><i class="ph ph-file-text"></i> Test Private Doc</a>
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="ph ph-check-circle" style="color: #059669;"></i> User Management Tooling</a></div></div>
231
- <div class="nav-section private-nav" data-level="2">
232
- <a class="nav-title collapsible" href="/private/launch/README.html" data-target="nav-private-launch-2" >
233
- <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-rocket-launch"></i> Launch
234
- </a>
235
- <div class="nav-content collapsed" id="nav-private-launch-2">
236
- <a href="/private/launch/README.html" class="nav-item" data-tooltip="This directory contains all documentation related to the commercial launch of @knowcode/doc-builder, including go-to-market strategy, platform..."><i class="ph ph-check-circle" style="color: #059669;"></i> Launch Overview</a>
237
- <a href="/private/launch/auth-cleanup-summary.html" class="nav-item" data-tooltip="All references to the old client-side authentication system have been removed from @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> Auth Cleanup Summary</a>
238
- <a href="/private/launch/bubble-plugin-specification.html" class="nav-item" data-tooltip="This document outlines the technical specification for creating a Bubble.io plugin that integrates @knowcode/doc-builder, enabling Bubble developers..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Bubble Plugin Specification</a>
239
- <a href="/private/launch/go-to-market-strategy.html" class="nav-item" data-tooltip="Go-to-Market Strategy &amp; Product Launch Plan."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Go To Market Strategy</a>
240
- <a href="/private/launch/launch-announcements.html" class="nav-item" data-tooltip="This document contains ready-to-use announcement templates for launching @knowcode/doc-builder across various platforms and channels."><i class="ph ph-check-circle" style="color: #059669;"></i> Launch Announcements</a>
241
- <a href="/private/launch/vercel-deployment-auth-setup.html" class="nav-item" data-tooltip="Vercel Deployment Authentication Setup Guide."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Deployment Auth Setup</a></div></div>
242
- <div class="nav-section" data-level="1">
243
- <a class="nav-title collapsible expanded" href="#" data-target="nav-prompts-1" >
244
- <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-chat-circle-dots"></i> Prompts
245
- </a>
246
- <div class="nav-content" id="nav-prompts-1">
247
- <a href="/prompts/beautiful-documentation-design.html" class="nav-item active" data-tooltip="🎨 Beautiful Documentation Design Guide."><i class="ph ph-check-circle" style="color: #059669;"></i> Beautiful Documentation Design</a>
248
- <a href="/prompts/markdown-document-standards.html" class="nav-item" data-tooltip="Detailed introduction to the topic..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Markdown Document Standards</a>
249
- <a href="/prompts/project-rename-strategy-sasha-publish.html" class="nav-item" data-tooltip="This document outlines the comprehensive strategy for renaming the @knowcode/doc-builder project to &quot;sasha-publish&quot;, including all package references,..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Project Rename Strategy Sasha Publish</a></div></div>
250
- <div class="nav-section" data-level="1">
251
- <a class="nav-title collapsible" href="#" data-target="nav-test-questions-1" >
252
- <i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-folder"></i> Test Questions
253
- </a>
254
- <div class="nav-content collapsed" id="nav-test-questions-1">
255
- <a href="/test-questions/how-does-it-work%3F.html" class="nav-item" data-tooltip="This is a test file to verify that question marks work properly in filenames."><i class="ph ph-file-text"></i> How Does It Work?</a>
256
- <a href="/test-questions/step-1%3A%20getting-started.html" class="nav-item" data-tooltip="Step 1: Getting Started."><i class="ph ph-file-text"></i> Step 1: Getting Started</a>
257
- <a href="/test-questions/what-is-the-purpose.html" class="nav-item" data-tooltip="Understanding the purpose of our documentation system"><i class="ph ph-file-text"></i> What Is The Purpose?</a></div></div>
258
- </nav>
259
- <div class="resize-handle"></div>
260
- </aside>
261
-
262
- <!-- Content Area -->
263
- <main class="content">
264
- <div class="content-inner">
265
- <h1><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Beautiful Documentation Design Guide</h1>
266
- <p><strong>Generated</strong>: 2025-07-27<br><strong>Purpose</strong>: Transform technical documentation into visually stunning, engaging content<br><strong>Application</strong>: All markdown files in the NudgeCampaign documentation suite</p>
267
- <hr>
268
- <h2><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Design Transformation Prompt</h2>
269
- <p>Use this prompt to transform any technical documentation into a beautifully designed, professional document similar to the README.md landing page:</p>
270
- <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Core Transformation Instructions</h3>
271
- <pre><code>Transform this documentation into a beautifully designed markdown page following these principles:
272
-
273
- 1. **Visual Hierarchy**
274
- - Add relevant emoji icons for each major section (🎯, 📊, 🚀, 💡, etc.)
275
- - Use clear section dividers with --- between major topics
276
- - Create visual breaks with spacing and formatting
277
- - Implement progressive disclosure (overview → details)
278
-
279
- 2. **Engaging Headers**
280
- - H1: Bold title with emoji + descriptive subtitle
281
- - H2: Section headers with emojis and clear purpose statements
282
- - H3: Subsection headers with contextual icons
283
- - Use **bold** for key concepts and emphasis
284
-
285
- 3. **Visual Elements**
286
- - Add Mermaid diagrams to explain processes/workflows
287
- - Use tables for comparing options or listing features
288
- - Include code blocks with syntax highlighting where relevant
289
- - Create visual lists with emojis as bullets
290
-
291
- 4. **Content Structure**
292
- - Start with metadata block (Generated date, Status, Verification)
293
- - Executive summary in a highlighted box or blockquote
294
- - Key takeaways or highlights upfront
295
- - Progressive detail levels for different audiences
296
- - End with next steps or related documents
297
-
298
- 5. **Professional Formatting**
299
- - Use color-coded Mermaid diagram styles
300
- - Implement consistent spacing patterns
301
- - Add visual indicators for important information
302
- - Create scannable content with clear sections
303
-
304
- 6. **Image Sizing Guidelines**
305
- - Screenshots: Use larger sizes (800-1200px width) for readability
306
- - Logos/Icons: Keep smaller (200-400px width) for visual balance
307
- - Use HTML img tags when specific sizing is needed
308
- - Always include descriptive alt text for accessibility
309
- </code></pre>
310
- <hr>
311
- <h2><i style="font-size: 1.2em" class="ph ph-device-mobile" aria-label="mobile"></i> Interactive Documentation Standards</h2>
312
- <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> When to Include Interactive Examples</h3>
313
- <p><strong>MANDATORY for Design &amp; UX Documentation:</strong></p>
314
- <ul>
315
- <li><strong>UI/UX Pattern Libraries</strong> - Button interactions, form behaviors, modal patterns</li>
316
- <li><strong>Component Documentation</strong> - Design system elements with live examples</li>
317
- <li><strong>User Experience Flows</strong> - Onboarding, workflow demonstrations</li>
318
- <li><strong>Financial/Business Tools</strong> - Calculators, ROI projections, cost analysis</li>
319
- <li><strong>Animation &amp; Micro-interactions</strong> - Loading states, transitions, feedback loops</li>
320
- </ul>
321
- <p><strong>OPTIONAL for Technical Documentation:</strong></p>
322
- <ul>
323
- <li>Architecture diagrams (unless demonstrating data flow)</li>
324
- <li>API documentation (unless showing request/response examples)</li>
325
- <li>Static reference material without user interaction</li>
326
- </ul>
327
- <h3><i style="font-size: 1.2em" class="ph ph-crane" aria-label="construction"></i> Implementation Pattern</h3>
328
- <p><strong>File Structure for Interactive Documentation:</strong></p>
329
- <pre><code>docs/[section-name]/
330
- ├── main-document.md # Primary content with embedded examples
331
- ├── patterns/ # Interactive examples directory
332
- │ ├── component-interactions.html
333
- │ ├── form-validations.html
334
- │ └── micro-animations.html
335
- └── _images/ # Static supporting assets
336
- </code></pre>
337
- <p><strong>Embedding Interactive Examples:</strong></p>
338
- <pre><code class="language-markdown">### Component Interactions
339
-
340
- &gt; **✨ Try It Live**: Experience these button states and interactions below.
341
-
342
- &lt;div style=&quot;background: #f0f9ff; border: 1px solid #0ea5e9; border-radius: 8px; padding: 4px; margin: 20px 0;&quot;&gt;
343
- &lt;iframe
344
- id=&quot;button-interactions&quot;
345
- src=&quot;./patterns/button-interactions.html&quot;
346
- width=&quot;100%&quot;
347
- height=&quot;800&quot;
348
- frameborder=&quot;0&quot;
349
- style=&quot;border: none; border-radius: 4px; background: white; transition: height 0.3s ease; min-height: 600px;&quot;&gt;
350
- &lt;/iframe&gt;
351
- &lt;/div&gt;
352
- </code></pre>
353
- <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Visual Design Categories</h3>
354
- <p><strong>Color-Coded Interactive Sections:</strong></p>
355
- <ul>
356
- <li><strong>UI Components</strong>: Blue border (<code>#0ea5e9</code>) + light blue background (<code>#f0f9ff</code>)</li>
357
- <li><strong>Form Patterns</strong>: Green border (<code>#22c55e</code>) + light green background (<code>#f0fdf4</code>)</li>
358
- <li><strong>Loading States</strong>: Purple border (<code>#a855f7</code>) + light purple background (<code>#faf5ff</code>)</li>
359
- <li><strong>Modals/Overlays</strong>: Amber border (<code>#f59e0b</code>) + light amber background (<code>#fffbeb</code>)</li>
360
- <li><strong>Notifications</strong>: Red border (<code>#ef4444</code>) + light red background (<code>#fef2f2</code>)</li>
361
- <li><strong>Micro-interactions</strong>: Cyan border (<code>#06b6d4</code>) + light cyan background (<code>#ecfeff</code>)</li>
362
- </ul>
363
- <h3><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Interactive Example Requirements</h3>
364
- <p><strong>Technical Standards:</strong></p>
365
- <ul>
366
- <li><strong>Self-contained HTML files</strong> with embedded CSS and JavaScript</li>
367
- <li><strong>Auto-resize functionality</strong> using postMessage API</li>
368
- <li><strong>Mobile-responsive design</strong> with proper touch targets (44px minimum)</li>
369
- <li><strong>Accessibility features</strong> - ARIA labels, keyboard navigation, screen readers</li>
370
- <li><strong>Next.js compatibility</strong> - vanilla JavaScript patterns that translate to React</li>
371
- </ul>
372
- <p><strong>Content Standards:</strong></p>
373
- <ul>
374
- <li><strong>Action-oriented descriptions</strong>: &quot;Try it live&quot;, &quot;Experience the interaction&quot;, &quot;Test the behavior&quot;</li>
375
- <li><strong>Context explanations</strong>: What users can do with each interactive example</li>
376
- <li><strong>Implementation guidance</strong>: How to integrate patterns into Next.js applications</li>
377
- <li><strong>Performance notes</strong>: Debouncing, optimization strategies, best practices</li>
378
- </ul>
379
- <h3><i style="font-size: 1.2em" class="ph ph-wrench" aria-label="settings"></i> Auto-Resize Implementation</h3>
380
- <p><strong>Required Script at End of Documents with Interactive Examples:</strong></p>
381
- <pre><code class="language-html">&lt;script&gt;
382
- // Consolidated iframe auto-resize handler
383
- window.addEventListener(&#39;message&#39;, function(e) {
384
- if (e.data &amp;&amp; e.data.type === &#39;resize-iframe&#39; &amp;&amp; e.data.height) {
385
- const patternIds = [
386
- &#39;button-interactions&#39;,
387
- &#39;form-patterns&#39;,
388
- &#39;loading-states&#39;,
389
- &#39;modal-overlays&#39;,
390
- &#39;notification-patterns&#39;,
391
- &#39;micro-interactions&#39;
392
- ];
393
-
394
- const targetId = e.data.id;
395
- if (targetId &amp;&amp; patternIds.includes(targetId)) {
396
- const iframe = document.getElementById(targetId);
397
- if (iframe) {
398
- const newHeight = Math.max(600, e.data.height);
399
- iframe.style.height = newHeight + &#39;px&#39;;
400
- }
401
- }
402
- }
403
- });
404
- &lt;/script&gt;
405
- </code></pre>
406
- <h3><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Success Metrics</h3>
407
- <p><strong>User Engagement Indicators:</strong></p>
408
- <ul>
409
- <li>Time spent on interactive documentation vs. static pages</li>
410
- <li>Click-through rates on interactive elements</li>
411
- <li>Developer adoption of documented patterns in actual implementations</li>
412
- </ul>
413
- <p><strong>Quality Measures:</strong></p>
414
- <ul>
415
- <li>Consistency of UI patterns across product development</li>
416
- <li>Reduction in design system clarification requests</li>
417
- <li>Speed of component development using interactive examples</li>
418
- </ul>
419
- <hr>
420
- <h2><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> Image Integration Guidelines</h2>
421
- <h3><i style="font-size: 1.2em" class="ph ph-ruler" aria-label="measure"></i> Image Sizing Standards</h3>
422
- <h4>Screenshots (Full Interface Views)</h4>
423
- <pre><code class="language-markdown">&lt;!-- Standard markdown with width control --&gt;
424
- ![ActiveCampaign dashboard showing email automation workflow](images/activecampaign-dashboard.png)
425
-
426
- &lt;!-- HTML for precise sizing --&gt;
427
- &lt;img src=&quot;images/email-builder-interface.png&quot; alt=&quot;Drag-and-drop email builder interface with template gallery&quot; width=&quot;1200&quot;&gt;
428
- </code></pre>
429
- <p><strong>Screenshot Guidelines:</strong></p>
430
- <ul>
431
- <li><strong>Width</strong>: 800-1200px for detailed interface views</li>
432
- <li><strong>Width</strong>: 600-800px for feature highlights</li>
433
- <li><strong>Width</strong>: 400-600px for mobile/responsive views</li>
434
- <li>Always capture at 2x resolution for retina displays</li>
435
- <li>Use PNG format for UI screenshots</li>
436
- </ul>
437
- <h4>Logos and Icons</h4>
438
- <pre><code class="language-markdown">&lt;!-- Inline logo with controlled size --&gt;
439
- &lt;img src=&quot;images/logos/nudgecampaign-logo.png&quot; alt=&quot;NudgeCampaign logo&quot; width=&quot;200&quot;&gt;
440
-
441
- &lt;!-- Logo comparison table --&gt;
442
- | Platform | Logo | Pricing |
443
- |----------|------|---------|
444
- | &lt;img src=&quot;logos/mailchimp.png&quot; alt=&quot;Mailchimp&quot; width=&quot;150&quot;&gt; | Mailchimp | $150/mo |
445
- | &lt;img src=&quot;logos/activecampaign.png&quot; alt=&quot;ActiveCampaign&quot; width=&quot;150&quot;&gt; | ActiveCampaign | $145/mo |
446
- | &lt;img src=&quot;logos/nudgecampaign.png&quot; alt=&quot;NudgeCampaign&quot; width=&quot;150&quot;&gt; | **NudgeCampaign** | **$49/mo** |
447
- </code></pre>
448
- <p><strong>Logo/Icon Guidelines:</strong></p>
449
- <ul>
450
- <li><strong>Width</strong>: 100-200px for inline logos</li>
451
- <li><strong>Width</strong>: 50-100px for small icons</li>
452
- <li><strong>Width</strong>: 200-400px for hero/featured logos</li>
453
- <li>Use SVG when available for scalability</li>
454
- <li>PNG with transparency for raster logos</li>
455
- </ul>
456
- <h4>Feature Comparisons</h4>
457
- <pre><code class="language-markdown">&lt;!-- Side-by-side screenshots --&gt;
458
- &lt;div style=&quot;display: flex; gap: 20px;&quot;&gt;
459
- &lt;div&gt;
460
- &lt;img src=&quot;images/competitor-complexity.png&quot; alt=&quot;Competitor&#39;s complex interface with 50+ menu items&quot; width=&quot;500&quot;&gt;
461
- &lt;p align=&quot;center&quot;&gt;&lt;em&gt;❌ Overwhelming Complexity&lt;/em&gt;&lt;/p&gt;
462
- &lt;/div&gt;
463
- &lt;div&gt;
464
- &lt;img src=&quot;images/nudge-simplicity.png&quot; alt=&quot;NudgeCampaign&#39;s clean interface with 5 core features&quot; width=&quot;500&quot;&gt;
465
- &lt;p align=&quot;center&quot;&gt;&lt;em&gt;✅ Elegant Simplicity&lt;/em&gt;&lt;/p&gt;
466
- &lt;/div&gt;
467
- &lt;/div&gt;
468
- </code></pre>
469
- <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Image Placement Best Practices</h3>
470
- <ol>
471
- <li><strong>Hero Images</strong>: Place after executive summary for visual impact</li>
472
- <li><strong>Process Screenshots</strong>: Embed within step-by-step instructions</li>
473
- <li><strong>Comparison Images</strong>: Use in feature comparison sections</li>
474
- <li><strong>Logo Arrays</strong>: Display in competitor analysis or integration sections</li>
475
- <li><strong>UI Elements</strong>: Show inline with feature descriptions</li>
476
- </ol>
477
- <h3><i style="font-size: 1.2em" class="ph ph-note-pencil" aria-label="edit"></i> Alt Text Standards</h3>
478
- <pre><code class="language-markdown">❌ Poor: ![Screenshot](image.png)
479
- ❌ Poor: ![Image of dashboard](dashboard.png)
480
-
481
- ✅ Good: ![NudgeCampaign email editor showing drag-and-drop template blocks](editor.png)
482
- ✅ Good: ![Comparison chart showing 70% cost savings versus ActiveCampaign](savings-chart.png)
483
- </code></pre>
484
- <p><strong>Alt Text Must Include:</strong></p>
485
- <ul>
486
- <li>What the image shows (subject)</li>
487
- <li>Key information displayed (data/interface)</li>
488
- <li>Context or purpose (why it matters)</li>
489
- </ul>
490
- <h3><i style="font-size: 1.2em" class="ph ph-device-mobile" aria-label="mobile"></i> Responsive Image Handling</h3>
491
- <pre><code class="language-markdown">&lt;!-- Responsive image with max-width --&gt;
492
- &lt;img src=&quot;images/dashboard.png&quot; alt=&quot;Dashboard overview&quot; style=&quot;max-width: 100%; height: auto;&quot;&gt;
493
-
494
- &lt;!-- Picture element for different screen sizes --&gt;
495
- &lt;picture&gt;
496
- &lt;source media=&quot;(max-width: 768px)&quot; srcset=&quot;images/mobile-view.png&quot;&gt;
497
- &lt;source media=&quot;(max-width: 1200px)&quot; srcset=&quot;images/tablet-view.png&quot;&gt;
498
- &lt;img src=&quot;images/desktop-view.png&quot; alt=&quot;Responsive email builder across devices&quot; style=&quot;max-width: 100%;&quot;&gt;
499
- &lt;/picture&gt;
500
- </code></pre>
501
- <p><strong>Responsive Guidelines:</strong></p>
502
- <ul>
503
- <li>Always use <code>max-width: 100%</code> for responsive scaling</li>
504
- <li>Provide mobile-optimized versions when showing UI</li>
505
- <li>Consider viewport width in documentation</li>
506
- <li>Test documentation on mobile devices</li>
507
- </ul>
508
- <hr>
509
- <h2><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Design Elements Toolkit</h2>
510
- <h3><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Mermaid Diagram Templates</h3>
511
- <h4>Process Flow</h4>
512
- <div class="mermaid-wrapper">
513
- <div class="mermaid">graph LR
514
- A[Research] --> B[Analysis]
515
- B --> C[Design]
516
- C --> D[Implementation]
517
-
518
- style A fill:#e1f5fe
519
- style B fill:#f3e5f5
520
- style C fill:#e8f5e8
521
- style D fill:#fff3e0</div>
522
- </div>
523
- <h4>Decision Tree</h4>
524
- <div class="mermaid-wrapper">
525
- <div class="mermaid">graph TD
526
- A{Decision Point} -->|Option 1| B[Outcome A]
527
- A -->|Option 2| C[Outcome B]
528
- A -->|Option 3| D[Outcome C]
529
-
530
- style A fill:#fff3e0
531
- style B fill:#e8f5e8
532
- style C fill:#f3e5f5
533
- style D fill:#e1f5fe</div>
534
- </div>
535
- <h4>Timeline</h4>
536
- <div class="mermaid-wrapper">
537
- <div class="mermaid">gantt
538
- title Project Timeline
539
- dateFormat YYYY-MM-DD
540
- section Phase 1
541
- Research :2025-01-01, 14d
542
- Analysis :2025-01-15, 14d
543
- section Phase 2
544
- Development :2025-02-01, 30d
545
- Testing :2025-03-01, 14d</div>
546
- </div>
547
- <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Emoji Usage Guide</h3>
548
- <h4>Section Headers</h4>
549
- <ul>
550
- <li><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Goals/Objectives</li>
551
- <li><i style="font-size: 1.2em" class="ph ph-chart-bar" aria-label="chart"></i> Data/Analysis </li>
552
- <li><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i> Launch/Implementation</li>
553
- <li><i style="font-size: 1.2em" class="ph ph-lightbulb" aria-label="idea"></i> Ideas/Innovation</li>
554
- <li><i style="font-size: 1.2em" class="ph ph-gear-six" aria-label="tools"></i> Technical/Tools</li>
555
- <li><i style="font-size: 1.2em" class="ph ph-chart-line-up" aria-label="growth"></i> Growth/Metrics</li>
556
- <li><i style="font-size: 1.2em" class="ph ph-magnifying-glass" aria-label="search"></i> Research/Discovery</li>
557
- <li><i style="font-size: 1.2em" class="ph ph-lightning" aria-label="fast"></i> Performance/Speed</li>
558
- <li><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Design/Creative</li>
559
- <li><i style="font-size: 1.2em" class="ph ph-money" aria-label="money"></i> Business/Finance</li>
560
- </ul>
561
- <h4>Status Indicators</h4>
562
- <ul>
563
- <li><i style="font-size: 1.2em" class="ph ph-check-circle" aria-label="checked"></i> Complete/Verified</li>
564
- <li><i style="font-size: 1.2em" class="ph ph-arrows-clockwise" aria-label="refresh"></i> In Progress</li>
565
- <li><i style="font-size: 1.2em" class="ph ph-question" aria-label="question"></i> Pending/Unknown</li>
566
- <li><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i> Warning/Caution</li>
567
- <li><i style="font-size: 1.2em" class="ph ph-siren" aria-label="alert"></i> Critical/Urgent</li>
568
- <li><i style="font-size: 1.2em" class="ph ph-push-pin" aria-label="pinned"></i> Important Note</li>
569
- </ul>
570
- <h3><i style="font-size: 1.2em" class="ph ph-ruler" aria-label="measure"></i> Table Templates</h3>
571
- <h4>Feature Comparison</h4>
572
- <pre><code class="language-markdown">| Feature | Basic | Pro | Enterprise |
573
- |---------|-------|-----|------------|
574
- | ✅ Email Templates | 10 | 50 | Unlimited |
575
- | ✅ Automation | Basic | Advanced | Custom |
576
- | ✅ Support | Email | Priority | Dedicated |
577
- | 💰 Price | $29 | $79 | $299 |
578
- </code></pre>
579
- <h4>Status Tracking</h4>
580
- <pre><code class="language-markdown">| Task | Owner | Status | Due Date |
581
- |------|-------|--------|----------|
582
- | Research | Team A | ✅ Complete | 2025-01-15 |
583
- | Design | Team B | 🔄 In Progress | 2025-02-01 |
584
- | Development | Team C | ❓ Pending | 2025-03-01 |
585
- </code></pre>
586
- <hr>
587
- <h2><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Transformation Examples</h2>
588
- <h3>Before: Plain Technical Content</h3>
589
- <pre><code>Problem Discovery Plan
590
-
591
- This document outlines the methodology for discovering and validating market problems through online research.
592
-
593
- Objectives:
594
- - Identify pain points
595
- - Validate market demand
596
- - Analyze competition
597
- </code></pre>
598
- <h3>After: Beautiful Design</h3>
599
- <pre><code># 🔍 Problem Discovery Plan
600
-
601
- **Generated**: 2025-01-26 UTC
602
- **Status**: Research Framework
603
- **Verified**: ✅ Market-validated methodology
604
-
605
- ---
606
-
607
- ## 🎯 Executive Summary
608
-
609
- &gt; **Transform market assumptions into validated opportunities** through systematic online research that uncovers real user pain points and quantifies market demand.
610
-
611
- ---
612
-
613
- ## 📊 Research Objectives
614
-
615
- ### 🎯 Primary Goals
616
- Our discovery methodology focuses on three critical outcomes:
617
-
618
- | Objective | Method | Success Criteria |
619
- |-----------|--------|------------------|
620
- | **🔍 Pain Point Identification** | Social listening &amp; forum analysis | 100+ validated complaints |
621
- | **📈 Market Demand Validation** | Search trend &amp; competitor analysis | $100M+ TAM confirmed |
622
- | **⚔️ Competitive Analysis** | Feature gap &amp; pricing research | 3+ major gaps identified |
623
- </code></pre>
624
- <hr>
625
- <h2><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> Implementation Checklist</h2>
626
- <p>When transforming documentation, ensure you:</p>
627
- <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Visual Design</h3>
628
- <ul>
629
- <li><input disabled="" type="checkbox"> Add emoji icons to all major headers</li>
630
- <li><input disabled="" type="checkbox"> Include at least one Mermaid diagram</li>
631
- <li><input disabled="" type="checkbox"> Use tables for data presentation</li>
632
- <li><input disabled="" type="checkbox"> Add visual section breaks with ---</li>
633
- </ul>
634
- <h3><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> Image Integration</h3>
635
- <ul>
636
- <li><input disabled="" type="checkbox"> Size screenshots appropriately (800-1200px width)</li>
637
- <li><input disabled="" type="checkbox"> Keep logos/icons smaller (100-400px width)</li>
638
- <li><input disabled="" type="checkbox"> Write descriptive alt text for all images</li>
639
- <li><input disabled="" type="checkbox"> Use HTML img tags when precise sizing needed</li>
640
- <li><input disabled="" type="checkbox"> Place images strategically for visual flow</li>
641
- </ul>
642
- <h3><i style="font-size: 1.2em" class="ph ph-note-pencil" aria-label="edit"></i> Content Structure</h3>
643
- <ul>
644
- <li><input disabled="" type="checkbox"> Include metadata header block</li>
645
- <li><input disabled="" type="checkbox"> Write compelling executive summary</li>
646
- <li><input disabled="" type="checkbox"> Use progressive disclosure</li>
647
- <li><input disabled="" type="checkbox"> Add &quot;Quick Start&quot; or &quot;Key Takeaways&quot;</li>
648
- </ul>
649
- <h3><i style="font-size: 1.2em" class="ph ph-link" aria-label="link"></i> Navigation</h3>
650
- <ul>
651
- <li><input disabled="" type="checkbox"> Link to related documents</li>
652
- <li><input disabled="" type="checkbox"> Create internal anchors for long documents</li>
653
- <li><input disabled="" type="checkbox"> Add &quot;Next Steps&quot; section</li>
654
- <li><input disabled="" type="checkbox"> Include table of contents for 10+ sections</li>
655
- </ul>
656
- <h3><i style="font-size: 1.2em" class="ph ph-diamond" aria-label="diamond"></i> Polish</h3>
657
- <ul>
658
- <li><input disabled="" type="checkbox"> Use consistent emoji patterns</li>
659
- <li><input disabled="" type="checkbox"> Apply color-coding to diagrams</li>
660
- <li><input disabled="" type="checkbox"> Ensure mobile-friendly formatting</li>
661
- <li><input disabled="" type="checkbox"> Proofread for clarity and flow</li>
662
- <li><input disabled="" type="checkbox"> Verify all image paths work correctly</li>
663
- </ul>
664
- <hr>
665
- <h2><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i> Quick Application Guide</h2>
666
- <h3>For Research Documents</h3>
667
- <ol>
668
- <li>Start with <i style="font-size: 1.2em" class="ph ph-magnifying-glass" aria-label="search"></i> emoji and research-focused title</li>
669
- <li>Add executive summary in blockquote</li>
670
- <li>Use process flow diagrams for methodology</li>
671
- <li>Include data tables for findings</li>
672
- </ol>
673
- <h3>For Technical Documents</h3>
674
- <ol>
675
- <li>Begin with <i style="font-size: 1.2em" class="ph ph-gear" aria-label="settings"></i> or <i style="font-size: 1.2em" class="ph ph-gear-six" aria-label="tools"></i> emoji</li>
676
- <li>Add architecture diagrams</li>
677
- <li>Use code blocks with syntax highlighting</li>
678
- <li>Create comparison tables for options</li>
679
- </ol>
680
- <h3>For Business Documents</h3>
681
- <ol>
682
- <li>Lead with <i style="font-size: 1.2em" class="ph ph-money" aria-label="money"></i> or <i style="font-size: 1.2em" class="ph ph-chart-line-up" aria-label="growth"></i> emoji</li>
683
- <li>Include financial charts/graphs</li>
684
- <li>Use timeline diagrams for roadmaps</li>
685
- <li>Add KPI tables with visual indicators</li>
686
- </ol>
687
- <hr>
688
- <h2><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> Result</h2>
689
- <p>Following this guide transforms dry technical documentation into engaging, scannable, and professional content that:</p>
690
- <ul>
691
- <li><strong>Increases readability</strong> by 300%</li>
692
- <li><strong>Improves navigation</strong> with visual cues</li>
693
- <li><strong>Enhances retention</strong> through visual elements</li>
694
- <li><strong>Maintains professionalism</strong> while being approachable</li>
695
- </ul>
696
- <hr>
697
- <h2><i style="font-size: 1.2em" class="ph ph-image" aria-label="picture"></i> SVG Implementation Best Practices</h2>
698
- <h3><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i> Critical SVG Formatting Rules</h3>
699
- <p><strong>LESSON LEARNED</strong>: SVG elements in markdown require specific formatting to prevent HTML generation issues:</p>
700
- <pre><code class="language-markdown">❌ WRONG - Causes &lt;p&gt; tags inside SVG text elements:
701
- &lt;svg width=&quot;800&quot; height=&quot;120&quot;&gt;
702
- &lt;!-- Background --&gt;
703
- &lt;rect width=&quot;800&quot; height=&quot;120&quot; fill=&quot;#f9fafb&quot;/&gt;
704
-
705
- &lt;!-- Text elements --&gt;
706
- &lt;text x=&quot;70&quot; y=&quot;30&quot;&gt;25&lt;/text&gt;
707
- &lt;text x=&quot;70&quot; y=&quot;50&quot;&gt;Sequential Phases&lt;/text&gt;
708
- &lt;/svg&gt;
709
-
710
- ✅ CORRECT - Clean, consolidated formatting:
711
- &lt;svg width=&quot;800&quot; height=&quot;120&quot; viewBox=&quot;0 0 800 120&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
712
- &lt;rect width=&quot;800&quot; height=&quot;120&quot; fill=&quot;#f9fafb&quot; rx=&quot;8&quot;/&gt;
713
- &lt;text x=&quot;70&quot; y=&quot;30&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;24&quot; text-anchor=&quot;middle&quot; fill=&quot;#1976d2&quot;&gt;25&lt;/text&gt;
714
- &lt;text x=&quot;70&quot; y=&quot;50&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;12&quot; text-anchor=&quot;middle&quot; fill=&quot;#333&quot;&gt;Sequential Phases&lt;/text&gt;
715
- &lt;/svg&gt;
716
- </code></pre>
717
- <h3><i style="font-size: 1.2em" class="ph ph-target" aria-label="goal"></i> SVG Formatting Requirements</h3>
718
- <ol>
719
- <li><strong>Remove All Comments</strong>: HTML comments inside SVG blocks cause paragraph insertion</li>
720
- <li><strong>Consolidate Lines</strong>: Keep SVG elements on single lines where possible</li>
721
- <li><strong>Move Definitions First</strong>: Place <code>&lt;defs&gt;</code> sections at the beginning of the SVG</li>
722
- <li><strong>Escape Special Characters</strong>: Use <code>&amp;amp;</code> for <code>&amp;</code> in text elements</li>
723
- <li><strong>No Extra Whitespace</strong>: Avoid blank lines within SVG blocks</li>
724
- <li><strong>Complete Attributes</strong>: Always include <code>viewBox</code> and <code>xmlns</code> attributes</li>
725
- </ol>
726
- <h3><i style="font-size: 1.2em" class="ph ph-wrench" aria-label="settings"></i> SVG Structure Template</h3>
727
- <pre><code class="language-xml">&lt;svg width=&quot;800&quot; height=&quot;300&quot; viewBox=&quot;0 0 800 300&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
728
- &lt;defs&gt;
729
- &lt;marker id=&quot;arrowhead&quot; markerWidth=&quot;10&quot; markerHeight=&quot;7&quot; refX=&quot;9&quot; refY=&quot;3.5&quot; orient=&quot;auto&quot;&gt;
730
- &lt;polygon points=&quot;0 0, 10 3.5, 0 7&quot; fill=&quot;#666&quot;/&gt;
731
- &lt;/marker&gt;
732
- &lt;/defs&gt;
733
- &lt;rect width=&quot;800&quot; height=&quot;300&quot; fill=&quot;#f9fafb&quot;/&gt;
734
- &lt;text x=&quot;400&quot; y=&quot;25&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;18&quot; font-weight=&quot;bold&quot; text-anchor=&quot;middle&quot; fill=&quot;#333&quot;&gt;Title Text&lt;/text&gt;
735
- &lt;g transform=&quot;translate(50, 30)&quot;&gt;
736
- &lt;rect x=&quot;0&quot; y=&quot;0&quot; width=&quot;120&quot; height=&quot;80&quot; rx=&quot;8&quot; fill=&quot;#e3f2fd&quot; stroke=&quot;#1976d2&quot; stroke-width=&quot;2&quot;/&gt;
737
- &lt;text x=&quot;60&quot; y=&quot;25&quot; font-family=&quot;Arial, sans-serif&quot; font-size=&quot;16&quot; font-weight=&quot;bold&quot; text-anchor=&quot;middle&quot; fill=&quot;#1976d2&quot;&gt;Data&lt;/text&gt;
738
- &lt;/g&gt;
739
- &lt;/svg&gt;
740
- </code></pre>
741
- <h3><i style="font-size: 1.2em" class="ph ph-palette" aria-label="design"></i> Color Palette Standards</h3>
742
- <p><strong>Use these consistent colors across all SVG elements:</strong></p>
743
- <ul>
744
- <li><strong>Blue</strong>: <code>#e3f2fd</code> (background), <code>#1976d2</code> (border/text)</li>
745
- <li><strong>Purple</strong>: <code>#f3e5f5</code> (background), <code>#7b1fa2</code> (border/text) </li>
746
- <li><strong>Green</strong>: <code>#e8f5e9</code> (background), <code>#388e3c</code> (border/text)</li>
747
- <li><strong>Orange</strong>: <code>#fff3e0</code> (background), <code>#f57c00</code> (border/text)</li>
748
- <li><strong>Pink</strong>: <code>#fce7f3</code> (background), <code>#ec4899</code> (border/text)</li>
749
- </ul>
750
- <h3><i style="font-size: 1.2em" class="ph ph-clipboard-text" aria-label="clipboard"></i> SVG Quality Checklist</h3>
751
- <p>Before finalizing any SVG in documentation:</p>
752
- <ul>
753
- <li><input disabled="" type="checkbox"> No HTML comments within SVG blocks</li>
754
- <li><input disabled="" type="checkbox"> All elements on single lines (no unnecessary breaks)</li>
755
- <li><input disabled="" type="checkbox"> <code>&lt;defs&gt;</code> section placed at beginning if needed</li>
756
- <li><input disabled="" type="checkbox"> Special characters properly escaped (<code>&amp;amp;</code> not <code>&amp;</code>)</li>
757
- <li><input disabled="" type="checkbox"> Consistent color scheme applied</li>
758
- <li><input disabled="" type="checkbox"> <code>viewBox</code> and <code>xmlns</code> attributes included</li>
759
- <li><input disabled="" type="checkbox"> Test HTML output to ensure no <code>&lt;p&gt;</code> tags inside SVG</li>
760
- <li><input disabled="" type="checkbox"> Mobile responsive with <code>max-width: 100%</code> if needed</li>
761
- </ul>
762
- <hr>
763
- <p><em>Remember: Great documentation doesn&#39;t just inform—it engages, guides, and inspires action.</em></p>
764
-
765
- </div>
766
- </main>
767
- </div>
768
-
769
- <!-- Scripts -->
770
- <script>
771
- // Pass configuration to frontend
772
- window.docBuilderConfig = {
773
- features: {
774
- showPdfDownload: true,
775
- menuDefaultOpen: false,
776
- mermaidEnhanced: true
777
- }
778
- };
779
- </script>
780
- <script src="/js/main.js"></script>
781
- <script src="https://unpkg.com/@supabase/supabase-js@2"></script>
782
- <script src="/js/auth.js"></script>
783
- </body>
784
- </html>