@knowcode/doc-builder 1.9.30 → 1.10.0

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