@knowcode/doc-builder 1.9.30 → 1.9.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/package.json +12 -2
  2. package/.claude/settings.local.json +0 -56
  3. package/CACHE-BUSTING-GUIDE.md +0 -82
  4. package/CLAUDE.md +0 -86
  5. package/CONTRIBUTING.md +0 -148
  6. package/GITHUB_SETUP.md +0 -203
  7. package/RELEASE-NOTES-1.7.5.md +0 -64
  8. package/Screenshot 2025-07-22 at 19.51.21.png +0 -0
  9. package/Screenshot 2025-07-26 at 17.06.49.png +0 -0
  10. package/add-user-clive.sql +0 -35
  11. package/add-user-lindsay-fixed.sql +0 -85
  12. package/add-user-lindsay.sql +0 -68
  13. package/add-user-pmorgan.sql +0 -35
  14. package/add-user-robbie.sql +0 -35
  15. package/add-wru-users.sql +0 -105
  16. package/debug-login.sql +0 -30
  17. package/doc-builder.config.js +0 -126
  18. package/doc-builder.config.js.backup.1753793768283 +0 -47
  19. package/doc-builder.config.js.backup.1753803964423 +0 -114
  20. package/doc-builder.config.js.backup.1753945707032 +0 -115
  21. package/doc-builder.config.js.backup.1754059241330 +0 -115
  22. package/doc-builder.config.js.backup.1754119567787 +0 -123
  23. package/doc-builder.config.js.backup.1754120048862 +0 -124
  24. package/doc-builder.config.js.backup.1754120529913 +0 -124
  25. package/doc-builder.config.js.backup.1754218469785 +0 -124
  26. package/doc-builder.config.js.backup.1754384764054 +0 -124
  27. package/doc-builder.config.js.backup.1754567425847 +0 -124
  28. package/doc-builder.config.js.backup.1754568137859 +0 -126
  29. package/doc-builder.config.js.backup.1754569388252 +0 -126
  30. package/doc-builder.config.js.backup.1754576694123 +0 -126
  31. package/doc-builder.config.js.backup.1755031374829 +0 -126
  32. package/doc-builder.config.js.backup.1755034500990 +0 -126
  33. package/doc-builder.config.js.backup.1755034809236 +0 -126
  34. package/grant-access.sql +0 -15
  35. package/html/11.png +0 -0
  36. package/html/404.html +0 -115
  37. package/html/README.html +0 -522
  38. package/html/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  39. package/html/about-doc-builder.html +0 -491
  40. package/html/auth.js +0 -157
  41. package/html/claude-workflow-guide.html +0 -525
  42. package/html/css/notion-style.css +0 -2502
  43. package/html/documentation-index.html +0 -471
  44. package/html/guides/authentication-default-change.html +0 -370
  45. package/html/guides/authentication-guide.html +0 -509
  46. package/html/guides/cache-control-anti-pattern.html +0 -361
  47. package/html/guides/claude-workflow-guide.html +0 -1074
  48. package/html/guides/configuration-guide.html +0 -472
  49. package/html/guides/document-standards.html +0 -518
  50. package/html/guides/documentation-standards.html +0 -694
  51. package/html/guides/html-embedding-guide.html +0 -461
  52. package/html/guides/image-modal-guide.html +0 -515
  53. package/html/guides/next-steps-walkthrough.html +0 -638
  54. package/html/guides/phosphor-icons-guide.html +0 -584
  55. package/html/guides/private-directory-authentication-troubleshooting.html +0 -555
  56. package/html/guides/private-directory-authentication.html +0 -541
  57. package/html/guides/public-site-deployment.html +0 -431
  58. package/html/guides/search-engine-verification-guide.html +0 -542
  59. package/html/guides/seo-guide.html +0 -661
  60. package/html/guides/seo-optimization-guide.html +0 -887
  61. package/html/guides/supabase-auth-implementation-plan.html +0 -543
  62. package/html/guides/supabase-auth-integration-plan.html +0 -671
  63. package/html/guides/supabase-auth-setup-guide.html +0 -498
  64. package/html/guides/supabase-authentication-complete-guide.html +0 -866
  65. package/html/guides/troubleshooting-guide.html +0 -633
  66. package/html/guides/vercel-deployment-auth-setup.html +0 -337
  67. package/html/guides/windows-setup-guide.html +0 -859
  68. package/html/image-modal-test.html +0 -318
  69. package/html/index.html +0 -522
  70. package/html/js/auth.js +0 -157
  71. package/html/js/main.js +0 -1754
  72. package/html/launch/README.html +0 -297
  73. package/html/launch/bubble-plugin-specification.html +0 -933
  74. package/html/launch/go-to-market-strategy.html +0 -663
  75. package/html/launch/launch-announcements.html +0 -593
  76. package/html/login.html +0 -102
  77. package/html/logout.html +0 -18
  78. package/html/private/cache-control-anti-pattern.html +0 -429
  79. package/html/private/launch/README.html +0 -371
  80. package/html/private/launch/auth-cleanup-summary.html +0 -361
  81. package/html/private/launch/bubble-plugin-specification.html +0 -1007
  82. package/html/private/launch/go-to-market-strategy.html +0 -737
  83. package/html/private/launch/launch-announcements.html +0 -667
  84. package/html/private/launch/vercel-deployment-auth-setup.html +0 -417
  85. package/html/private/next-steps-walkthrough.html +0 -679
  86. package/html/private/supabase-auth-implementation-completed.html +0 -454
  87. package/html/private/supabase-auth-implementation-plan.html +0 -594
  88. package/html/private/supabase-auth-integration-plan.html +0 -704
  89. package/html/private/supabase-auth-setup-guide.html +0 -555
  90. package/html/private/test-private-doc.html +0 -302
  91. package/html/private/user-management-tooling.html +0 -601
  92. package/html/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  93. package/html/prompts/beautiful-documentation-design.html +0 -784
  94. package/html/prompts/markdown-document-standards.html +0 -422
  95. package/html/prompts/project-rename-strategy-sasha-publish.html +0 -530
  96. package/html/robots.txt +0 -9
  97. package/html/sitemap.xml +0 -357
  98. package/html/test-questions/how-does-it-work%3F.html +0 -294
  99. package/html/test-questions/step-1%3A%20getting-started.html +0 -289
  100. package/html/test-questions/what-is-the-purpose.html +0 -293
  101. package/html/test-status.html +0 -281
  102. package/html/vercel-cli-setup-guide.html +0 -495
  103. package/html/vercel-first-time-setup-guide.html +0 -454
  104. package/html/vercel.json +0 -29
  105. package/html-static/11.png +0 -0
  106. package/html-static/404.html +0 -115
  107. package/html-static/README.html +0 -609
  108. package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
  109. package/html-static/about-doc-builder.html +0 -578
  110. package/html-static/css/notion-style.css +0 -2502
  111. package/html-static/documentation-index.html +0 -558
  112. package/html-static/guides/authentication-default-change.html +0 -457
  113. package/html-static/guides/authentication-guide.html +0 -596
  114. package/html-static/guides/claude-workflow-guide.html +0 -1161
  115. package/html-static/guides/configuration-guide.html +0 -559
  116. package/html-static/guides/documentation-standards.html +0 -781
  117. package/html-static/guides/html-embedding-guide.html +0 -548
  118. package/html-static/guides/image-modal-guide.html +0 -602
  119. package/html-static/guides/phosphor-icons-guide.html +0 -671
  120. package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -642
  121. package/html-static/guides/private-directory-authentication.html +0 -628
  122. package/html-static/guides/public-site-deployment.html +0 -518
  123. package/html-static/guides/search-engine-verification-guide.html +0 -629
  124. package/html-static/guides/seo-guide.html +0 -748
  125. package/html-static/guides/seo-optimization-guide.html +0 -974
  126. package/html-static/guides/supabase-authentication-complete-guide.html +0 -953
  127. package/html-static/guides/troubleshooting-guide.html +0 -720
  128. package/html-static/guides/windows-setup-guide.html +0 -946
  129. package/html-static/image-modal-test.html +0 -405
  130. package/html-static/index.html +0 -609
  131. package/html-static/js/main.js +0 -1754
  132. package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
  133. package/html-static/prompts/beautiful-documentation-design.html +0 -871
  134. package/html-static/prompts/markdown-document-standards.html +0 -509
  135. package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -617
  136. package/html-static/robots.txt +0 -5
  137. package/html-static/sitemap.xml +0 -195
  138. package/html-static/test-questions/how-does-it-work%3F.html +0 -381
  139. package/html-static/test-questions/step-1%3A%20getting-started.html +0 -376
  140. package/html-static/test-questions/what-is-the-purpose.html +0 -380
  141. package/html-static/vercel-cli-setup-guide.html +0 -582
  142. package/html-static/vercel-first-time-setup-guide.html +0 -541
  143. package/manage-users.sql +0 -191
  144. package/migrate-to-domain-auth.sql +0 -47
  145. package/package/CACHE-BUSTING-GUIDE.md +0 -82
  146. package/package/CHANGELOG.md +0 -902
  147. package/package/README.md +0 -248
  148. package/package/assets/css/notion-style.css +0 -2211
  149. package/package/assets/js/auth.js +0 -67
  150. package/package/assets/js/main.js +0 -1565
  151. package/package/cli.js +0 -764
  152. package/package/index.js +0 -38
  153. package/package/knowcode-doc-builder-1.3.15.tgz +0 -0
  154. package/package/lib/builder.js +0 -32
  155. package/package/lib/config.js +0 -278
  156. package/package/lib/core-builder.js +0 -957
  157. package/package/lib/deploy.js +0 -497
  158. package/package/lib/dev-server.js +0 -96
  159. package/package/package.json +0 -34
  160. package/package/scripts/npx-runner.js +0 -27
  161. package/package/scripts/setup.js +0 -56
  162. package/package/test-cache-bust.sh +0 -43
  163. package/public-config.js +0 -22
  164. package/public-html/404.html +0 -115
  165. package/public-html/README.html +0 -149
  166. package/public-html/css/notion-style.css +0 -2036
  167. package/public-html/index.html +0 -149
  168. package/public-html/js/auth.js +0 -67
  169. package/public-html/js/main.js +0 -1485
  170. package/quick-test-commands.md +0 -40
  171. package/recordings/Screenshot 2025-07-24 at 18.22.01.png +0 -0
  172. package/recordings/mh-ls-22jul.txt +0 -2305
  173. package/screenshot.png +0 -0
  174. package/scripts/Screenshot 2025-07-23 at 15.39.41.png +0 -0
  175. package/setup-database-v2.sql +0 -53
  176. package/setup-database.sql +0 -41
  177. package/test-auth-config.js +0 -17
  178. package/test-cache-bust.sh +0 -43
  179. package/test-docs/README.md +0 -39
  180. package/test-html/404.html +0 -115
  181. package/test-html/README.html +0 -172
  182. package/test-html/auth.js +0 -97
  183. package/test-html/css/notion-style.css +0 -2036
  184. package/test-html/index.html +0 -172
  185. package/test-html/js/auth.js +0 -97
  186. package/test-html/js/main.js +0 -1485
  187. package/test-html/login.html +0 -102
  188. package/test-html/logout.html +0 -18
  189. package/update-domain.sql +0 -9
  190. package/user-access-view.sql +0 -49
  191. package/user-management/README.md +0 -301
  192. package/user-management/add-users.sh +0 -776
  193. package/user-management/create-user.js +0 -65
  194. package/user-management/users.txt +0 -15
  195. package/view-all-users.sql +0 -40
  196. package/wru-auth-config.js +0 -17
@@ -1,902 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to @knowcode/doc-builder will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.4.2] - 2025-01-20
9
-
10
- ### Fixed
11
- - Fixed excessive left padding on content area by removing JavaScript margin-left assignments
12
- - Content layout now properly uses flexbox spacing without manual margin adjustments
13
- - The JavaScript was adding inline `style="margin-left: 200px;"` which was causing the issue
14
-
15
- ## [1.4.1] - 2025-07-20
16
-
17
- ### Fixed
18
- - **Critical CSS layout fix** - Content no longer appears too far right when sidebar is hidden
19
- - Removed incorrect `margin-left: var(--sidebar-width)` from `.content` class
20
- - Fixed responsive layout issues where content had excessive right spacing
21
- - Simplified responsive styles to match original working version
22
- - Fixed mobile padding to use single value `var(--space-4)` instead of directional padding
23
-
24
- ### Technical Details
25
- - Content now uses flexbox `flex: 1` without margin-left
26
- - Removed unnecessary `transition: margin-left` from content
27
- - Mobile styles simplified to only adjust padding, no margin overrides needed
28
- - Layout now properly responds when sidebar is hidden on mobile/tablet
29
-
30
- ## [1.4.0] - 2025-07-20
31
-
32
- ### Added
33
- - **Tooltip functionality restored** - Added summary extraction from markdown files
34
- - Tooltips now appear on hover for navigation items showing content preview
35
- - `extractSummary()` function looks for Overview/Summary sections or first paragraph
36
- - Summaries are collected in first pass and added as `data-tooltip` attributes
37
-
38
- ### Fixed
39
- - **CSS layout restored to match original** - Reverted all layout changes to original values
40
- - Header height restored to 64px (was 56px)
41
- - Main wrapper uses margin-top approach (not absolute positioning)
42
- - Content uses original padding values (var(--space-6) var(--space-8))
43
- - Content-inner uses centered layout (margin: 0 auto)
44
- - Navigation padding restored to all sides
45
-
46
- ### Removed
47
- - Removed unused style.css file - only notion-style.css is used
48
- - Eliminated dual CSS file confusion
49
-
50
- ### Technical Details
51
- - Summary extraction matches original build.js implementation
52
- - Navigation generation passes summaries through recursive renderSection calls
53
- - Tooltips use same CSS implementation as original with fixed positioning
54
-
55
- ## [1.3.14] - 2025-07-20
56
-
57
- ### Fixed
58
- - Fixed excessive gap between breadcrumb and content area
59
- - Changed `.main-wrapper` from using `margin-top` to `padding-top` to eliminate double spacing
60
- - Reduced content top padding from `var(--space-4)` (16px) to `var(--space-2)` (8px)
61
- - Removed duplicate `.sidebar-header` CSS definition
62
- - Fixed mobile responsive padding to match desktop changes
63
-
64
- ### Changed
65
- - Main wrapper now uses `height: 100vh` with `padding-top` instead of calculated height
66
- - Content padding changed to `8px 32px 16px` for tighter vertical spacing
67
- - Consistent padding reduction across all responsive breakpoints
68
-
69
- ## [1.3.13] - 2025-07-19
70
-
71
- ### Fixed
72
- - Made content body left-aligned instead of centered
73
- - Made navigation menu top-aligned by removing top padding
74
- - Simplified layout for better compatibility
75
-
76
- ### Changed
77
- - `.content-inner` now uses `margin: 0` instead of `margin: 0 auto` for left alignment
78
- - `.navigation` padding changed from all sides to only bottom/left/right
79
- - Removed unnecessary centering that was causing layout issues
80
-
81
- ## [1.3.12] - 2025-07-19
82
-
83
- ### Fixed
84
- - Fixed tooltip positioning by using `position: fixed` to match original implementation
85
- - Updated tooltip JavaScript to match simpler original approach
86
- - Fixed content-inner wrapper already present in HTML generation
87
- - Improved tooltip initialization with console logging for debugging
88
-
89
- ### Technical Details
90
- - Tooltips now use fixed positioning with CSS variables for placement
91
- - Simplified event handling for tooltip hover events
92
- - Added debug logging to help diagnose tooltip initialization issues
93
- - Content structure matches original with proper content-inner wrapper
94
-
95
- ## [1.3.11] - 2025-07-19
96
-
97
- ### Fixed
98
- - **CRITICAL FIX**: Removed duplicate CSS file loading that was causing style conflicts
99
- - Now only loads `notion-style.css` matching the original working build
100
- - This fixes both tooltip functionality and spacing issues
101
-
102
- ### Root Cause
103
- - The npm package was loading both `notion-style.css` AND `style.css`
104
- - The `style.css` file was overriding proper styles from `notion-style.css`
105
- - This caused spacing conflicts and broke tooltip positioning
106
- - The original cybersolstice build only loads `notion-style.css`
107
-
108
- ### Impact
109
- - Tooltips now work correctly with proper positioning
110
- - Navigation spacing matches the original design
111
- - No more CSS variable conflicts between themes
112
- - Consistent styling throughout the application
113
-
114
- ## [1.3.10] - 2025-07-19
115
-
116
- ### Fixed
117
- - Reduced excessive top spacing in content area (changed from 40px to 16px)
118
- - Fixed tooltip implementation with event delegation for better performance
119
- - Added native `title` attribute as fallback for tooltips
120
- - Applied spacing fixes to both default and notion themes
121
-
122
- ### Improved
123
- - Content now starts closer to the header/breadcrumb area
124
- - Tooltips use simpler event delegation instead of individual listeners
125
- - Better tooltip support with both custom CSS tooltips and native browser tooltips
126
- - Removed unnecessary MutationObserver for cleaner code
127
-
128
- ### Technical Details
129
- - Content padding reduced from 40px to var(--space-lg) (16px)
130
- - Event delegation on navigation container captures all tooltip events
131
- - Native title attributes ensure tooltips work even if CSS/JS fails
132
- - More efficient event handling with capture phase listeners
133
-
134
- ## [1.3.9] - 2025-07-19
135
-
136
- ### Fixed
137
- - Fixed tooltip JavaScript positioning implementation
138
- - Removed invalid getComputedStyle call on pseudo-elements
139
- - Added mouseleave handler to clean up CSS variables
140
- - Fixed tooltip arrow positioning with proper transform
141
- - Added event listener cleanup to prevent duplicates
142
- - Added console logging for tooltip debugging
143
-
144
- ### Improved
145
- - Tooltips now properly use fixed positioning as per lessons learned
146
- - Added MutationObserver to handle dynamically updated navigation
147
- - Better event handling with proper cleanup on element replacement
148
- - More robust tooltip initialization that works with dynamic content
149
-
150
- ### Technical Details
151
- - JavaScript now correctly sets `--tooltip-left` and `--tooltip-top` CSS variables
152
- - Fixed positioning allows tooltips to escape overflow containers
153
- - Event listeners are properly cleaned up to prevent memory leaks
154
- - Console logging helps debug tooltip initialization issues
155
-
156
- ## [1.3.8] - 2025-07-19
157
-
158
- ### Fixed
159
- - Added missing tooltip styles to default theme (style.css)
160
- - Tooltips now appear on hover for navigation folders with descriptions
161
- - Matched tooltip styling between default and notion themes
162
-
163
- ### Added
164
- - Complete tooltip CSS implementation for default theme
165
- - Tooltip arrow for better visual connection
166
- - Dark mode tooltip styling
167
- - Mobile tooltip suppression (disabled on screens < 768px)
168
-
169
- ### Technical Details
170
- - Tooltips use fixed positioning to escape overflow containers
171
- - High z-index (10000) ensures tooltips appear above all content
172
- - JavaScript positioning via CSS custom properties (--tooltip-left, --tooltip-top)
173
- - Smooth fade transitions for professional appearance
174
-
175
- ## [1.3.7] - 2025-07-19
176
-
177
- ### Fixed
178
- - Fixed content area not collapsing when sidebar is hidden on mobile
179
- - Content now properly takes full width when sidebar is closed
180
- - Added !important to margin-left: 0 for mobile breakpoints to ensure proper override
181
- - Fixed issue where content appeared too far right on mobile devices
182
-
183
- ### Improved
184
- - Content area now properly responds to sidebar state on all screen sizes
185
- - Better use of available screen space on mobile devices
186
- - Consistent behavior across both default and notion-style themes
187
-
188
- ## [1.3.6] - 2025-07-19
189
-
190
- ### Fixed
191
- - Fixed responsive menu toggle button not being visible on mobile devices
192
- - Added mobile overlay for sidebar with proper click-to-close functionality
193
- - Improved sidebar z-index stacking for proper mobile display
194
- - Added smooth transitions and shadow effects for mobile sidebar
195
- - Fixed body scroll prevention when mobile menu is open
196
- - Menu toggle button now shows close icon (X) when menu is open
197
- - Sidebar properly closes when clicking navigation items on mobile
198
- - Escape key now properly closes mobile menu and overlay
199
-
200
- ### Added
201
- - Semi-transparent overlay background when sidebar is open on mobile
202
- - Visual feedback for menu toggle button state (hamburger/close icon)
203
- - Box shadow on mobile sidebar for better depth perception
204
- - Proper ARIA attributes for accessibility
205
-
206
- ### Improved
207
- - Better mobile user experience with standard mobile navigation patterns
208
- - Consistent behavior across different mobile breakpoints
209
- - Smoother animations and transitions for mobile menu
210
- - Applied fixes to both default and notion-style themes
211
-
212
- ## [1.3.5] - 2025-07-19
213
-
214
- ### Fixed
215
- - Restored proper header and breadcrumb heights for better visual hierarchy
216
- - Header height increased from 40px to 56px
217
- - Breadcrumb height restored from 0px to 40px
218
- - Removed duplicate "Home" link from sidebar to eliminate confusion
219
- - Cleaned up orphaned CSS styles for removed sidebar breadcrumbs
220
-
221
- ### Improved
222
- - Better spacing and visual weight for header components
223
- - Cleaner sidebar with single-purpose filter input
224
- - More professional appearance with proper proportions
225
-
226
- ## [1.3.4] - 2025-07-19
227
-
228
- ### Fixed
229
- - Properly fixed spacing between breadcrumb and filter box in sidebar
230
- - Increased sidebar-breadcrumbs margin-bottom to 24px for better separation
231
- - Removed unnecessary margin from sidebar-header elements
232
- - Applied consistent spacing across both style themes
233
-
234
- ## [1.3.3] - 2025-07-19
235
-
236
- ### Fixed
237
- - Added spacing between breadcrumb and filter box in sidebar
238
- - Added margin-bottom to sidebar-header for better visual separation
239
- - Improved sidebar navigation layout with consistent spacing
240
-
241
- ## [1.3.2] - 2025-07-19
242
-
243
- ### Added
244
- - New `claude-hints` command to generate Claude.md documentation standards
245
- - Comprehensive guide for Claude AI to produce consistent markdown documentation
246
- - Support for both markdown and plain text output formats
247
- - Option to save hints directly to a file
248
-
249
- ### Fixed
250
- - Further reduced top spacing to exactly 40px from the horizontal bar
251
- - Adjusted header height from 50px to 40px
252
- - Removed breadcrumb height entirely (0px) for minimal spacing
253
- - Set content top padding to fixed 40px for precise control
254
-
255
- ### Features
256
- - Document structure standards with metadata requirements
257
- - Naming conventions for different document types
258
- - Mermaid diagram best practices
259
- - Information verification standards (✅/❓)
260
- - File organization patterns
261
- - Git commit practices
262
- - Markdown formatting guidelines
263
- - Security and maintenance considerations
264
-
265
- ### Usage
266
- ```bash
267
- doc-builder claude-hints # Display to console
268
- doc-builder claude-hints -o CLAUDE.md # Save to file
269
- doc-builder claude-hints --format text # Plain text format
270
- ```
271
-
272
- ## [1.3.1] - 2025-07-19
273
-
274
- ### Fixed
275
- - Reduced excessive top spacing from ~104px to 80px total
276
- - Adjusted header height from 64px to 50px
277
- - Adjusted breadcrumb height from 40px to 30px
278
- - Applied changes to both style.css and notion-style.css for consistency
279
-
280
- ### Improved
281
- - More compact header design for better content visibility
282
- - Better use of vertical space on all screen sizes
283
-
284
- ## [1.3.0] - 2025-07-19
285
-
286
- ### BREAKING CHANGE
287
- - **Default behavior changed**: Running `npx @knowcode/doc-builder` without arguments now shows help instead of building and deploying
288
- - To deploy, explicitly use: `npx @knowcode/doc-builder deploy`
289
-
290
- ### Changed
291
- - Updated TL;DR in help text to show `npx @knowcode/doc-builder deploy`
292
- - Reordered commands in help to show deploy as the recommended action
293
- - Updated README.md to reflect the new default behavior
294
-
295
- ### Why this change?
296
- - Prevents accidental deployments when users just want to see available commands
297
- - Makes the tool more predictable - no actions without explicit commands
298
- - Aligns with standard CLI tool behavior
299
-
300
- ## [1.2.12] - 2025-07-19
301
-
302
- ### Added
303
- - Support for alternative config file formats (site.title → siteName mapping)
304
- - Support for input/output directory mapping in config files
305
- - Debug logging for site name configuration
306
-
307
- ### Fixed
308
- - Header now properly displays the project name from config instead of generic "Documentation"
309
- - Config loader now handles both old and new config formats
310
-
311
- ### Documentation
312
- - Updated GasWorld config to use correct format with siteName: 'GasWorld'
313
-
314
- ## [1.2.11] - 2025-07-19
315
-
316
- ### Fixed
317
- - Reduced excessive top spacing in content area by adjusting padding from 1.5rem to 1rem
318
- - Improved visual layout by reducing the gap between header and content
319
-
320
- ### Changed
321
- - Content area now uses asymmetric padding (1rem top, 2rem sides, 1.5rem bottom) for better visual balance
322
-
323
- ## [1.2.10] - 2025-07-19
324
-
325
- ### Fixed
326
- - **Critical fix**: Now properly replaces old directory listing index.html files
327
- - Detects and replaces index.html if it's under 3KB (likely a directory listing)
328
- - Detects and replaces index.html if it doesn't contain doc-builder markers
329
- - Fixes the issue where gasworld.vercel.app showed a directory listing instead of documentation
330
-
331
- ### Added
332
- - Smart detection of outdated or non-doc-builder index.html files
333
- - Automatic replacement of directory listing pages with proper documentation
334
- - Clear logging when replacing an existing index.html file
335
-
336
- ## [1.2.9] - 2025-07-19
337
-
338
- ### Added
339
- - Comprehensive console logging for debugging index.html creation
340
- - Detailed file existence checks with paths and sizes
341
- - File copy verification with size comparison
342
- - List of HTML files found during build and deployment
343
- - Error handling with detailed error messages
344
- - Final verification step to confirm index.html exists
345
-
346
- ### Improved
347
- - Much more verbose output to help diagnose deployment issues
348
- - Clear indication of what files are being processed
349
- - Better error reporting when file operations fail
350
-
351
- ## [1.2.8] - 2025-07-19
352
-
353
- ### Changed
354
- - Removed all JUNO references from documentation and code
355
- - Renamed `cybersolstice` preset to `notion-inspired`
356
- - Updated folder descriptions to be more generic
357
- - Changed default username from 'juno' to 'admin' in preset
358
- - Removed `juno-docs` binary alias from package.json
359
- - Updated keywords to remove 'juno' and add 'notion-style'
360
- - Cleaned up all internal references to use @knowcode/doc-builder
361
-
362
- ### Fixed
363
- - Documentation now correctly references @knowcode/doc-builder instead of @juno/doc-builder
364
- - Updated GitHub URLs to use knowcode organization
365
-
366
- ## [1.2.7] - 2025-07-19
367
-
368
- ### Added
369
- - Comprehensive debugging output showing package version and file existence checks
370
- - Support for `index.md` as primary source for index.html (higher priority than README.md)
371
- - Informative default index.html page when no README.md or index.md exists
372
- - List of available HTML files in default index page
373
- - Version and debug information in generated pages
374
-
375
- ### Fixed
376
- - Fixed infinite redirect loop in deploy.js when no README.html exists
377
- - Improved index.html creation reliability with better file detection
378
- - Better error messages and guidance when documentation is missing
379
-
380
- ### Changed
381
- - Enhanced logging throughout build and deploy processes
382
- - Redirect to first available HTML file instead of infinite loop
383
- - More descriptive console output during index.html creation
384
-
385
- ## [1.2.6] - 2025-07-19
386
-
387
- ### Fixed
388
- - **Index.html creation** - Fixed root URL not serving documentation by creating index.html from README.html
389
- - Added index.html creation in both build and deploy processes for reliability
390
-
391
- ## [1.2.5] - 2025-07-19
392
-
393
- ### Fixed
394
- - **Breadcrumbs** - Fixed URL-encoded characters showing in breadcrumb navigation (spaces showing as %20)
395
- - **Root redirect** - Fixed index.html redirect to use JavaScript window.location.replace for better Vercel compatibility
396
- - Breadcrumbs now properly decode URL segments before displaying
397
-
398
- ### Improved
399
- - Root page redirect is now more reliable with JavaScript-based redirection
400
- - Better fallback link in case JavaScript is disabled
401
-
402
- ## [1.2.4] - 2025-07-19
403
-
404
- ### Fixed
405
- - Removed test-auth directory from npm package
406
- - Updated .npmignore to exclude test-auth directory
407
-
408
- ## [1.2.3] - 2025-07-19
409
-
410
- ### Fixed
411
- - **Authentication system** - Fixed credentials mismatch between auth.js and config
412
- - Changed cookie name from 'juno-auth' to 'doc-auth' for consistency
413
- - Authentication now properly uses credentials from config file
414
- - Added comprehensive CSS styles for login/logout pages
415
-
416
- ### Added
417
- - Complete authentication page styling with dark mode support
418
- - Form validation and error message display
419
- - Professional login/logout page design
420
- - Security notice in auth.js about client-side limitations
421
-
422
- ### Improved
423
- - Authentication token validation is now more flexible
424
- - Better error handling for invalid credentials
425
- - Consistent cookie management across all auth operations
426
-
427
- ### Verified
428
- - All JavaScript features confirmed working:
429
- - Breadcrumbs generation
430
- - Navigation filtering
431
- - Collapsible navigation sections
432
- - Preview banner with localStorage
433
- - Theme switching
434
- - Sidebar resizing
435
-
436
- ## [1.2.2] - 2025-07-19
437
-
438
- ### Fixed
439
- - Removed accidentally included temp-test directory from npm package
440
- - Added .npmignore file to prevent test directories from being published
441
-
442
- ## [1.2.1] - 2025-07-19
443
-
444
- ### Added
445
- - **Auto-generated README.md** - System now automatically creates a helpful placeholder README.md when missing
446
- - Comprehensive placeholder content with getting started guide and documentation standards
447
- - Clear instructions for users on how to customize their documentation
448
- - Built-in Mermaid diagram example in generated README
449
- - Documentation structure recommendations and best practices
450
-
451
- ### Fixed
452
- - **Eliminated ugly file listing** on index page when no README exists
453
- - Improved first-time user experience with welcoming placeholder content
454
- - Better guidance for documentation creation and organization
455
-
456
- ### Changed
457
- - Simplified deployment logic - removed complex HTML file listing generation
458
- - Build process now checks and creates README.md before scanning files
459
- - Deploy process simplified since README.html will always exist
460
-
461
- ### Technical Improvements
462
- - Added `createPlaceholderReadme()` function to core-builder.js
463
- - Integrated README generation into main build workflow
464
- - Enhanced build logging to show when placeholder is generated
465
- - Exported new function for potential external usage
466
-
467
- ## [1.2.0] - 2025-07-19
468
-
469
- ### Added (MAJOR FEATURE RELEASE)
470
- - **Complete feature parity** with original JUNO documentation system
471
- - **Preview banner** with dismissible functionality and localStorage
472
- - **Breadcrumb navigation** automatically generated from URL structure
473
- - **Advanced sidebar** with filter/search functionality
474
- - **Hierarchical navigation** with collapsible folders and proper icons
475
- - **Rich tooltip system** with folder descriptions and hover information
476
- - **Resize handle** for adjustable sidebar width
477
- - **Icon mapping** for different content types and folders
478
- - **Folder descriptions** for better UX and navigation
479
- - **Logical folder ordering** (strategic content first, technical content later)
480
-
481
- ### Enhanced Navigation Features
482
- - **Smart folder detection** and hierarchical structuring
483
- - **Active section auto-expansion** for current page context
484
- - **Collapsible navigation sections** with smooth animations
485
- - **File type icons** (documents, folders, special content types)
486
- - **Improved file naming** and title generation
487
- - **README.md as folder overviews** with proper linking
488
- - **Filter/search** through navigation items
489
-
490
- ### Layout Improvements
491
- - **Complete layout restructure** matching original design
492
- - **Fixed positioning** for banner, breadcrumbs, and sidebar
493
- - **Responsive design** with mobile-friendly collapsible layout
494
- - **Proper content area** with max-width and centered layout
495
- - **Smooth transitions** and hover effects throughout
496
- - **Dark mode support** for all new components
497
-
498
- ### Technical Enhancements
499
- - **Rich HTML structure** with semantic navigation
500
- - **CSS Grid and Flexbox** layout system
501
- - **Modern CSS variables** and consistent spacing
502
- - **Optimized mobile experience** with adaptive layouts
503
- - **Performance optimized** animations and transitions
504
-
505
- ## [1.1.12] - 2025-07-19
506
-
507
- ### Fixed (MAJOR)
508
- - **Fixed sidebar layout** - Navigation now appears as fixed-width left sidebar instead of above content
509
- - Added proper flexbox container layout with fixed sidebar positioning
510
- - Navigation is now 280px fixed width on left side with proper scrolling
511
- - Content area properly offset to account for sidebar width
512
-
513
- ### Added
514
- - Container flexbox layout for proper sidebar + content structure
515
- - Fixed navigation positioning with proper z-index and boundaries
516
- - Mobile responsive layout - sidebar becomes horizontal bar on mobile
517
- - Proper scrolling for both navigation and content areas
518
-
519
- ### Visual Changes
520
- - Navigation background set to secondary color with right border
521
- - Content area now takes full remaining width after sidebar
522
- - Proper spacing and padding for both sidebar and content
523
- - Mobile layout stacks navigation above content
524
-
525
- ## [1.1.11] - 2025-07-19
526
-
527
- ### Fixed (MAJOR)
528
- - **Fixed navigation completely** - HTML structure now matches JavaScript expectations
529
- - Replaced incompatible nav-folder structure with nav-section/nav-content structure
530
- - Navigation now works for both flat and nested folder structures
531
- - Fixed JavaScript initialization issues with navigation elements
532
-
533
- ### Changed
534
- - Complete rewrite of navigation HTML generation to match main.js expectations
535
- - Updated CSS to work with new nav-section structure
536
- - Removed conflicting nav-flat classes in favor of universal nav-item approach
537
-
538
- ### Technical Details
539
- - HTML now generates `.nav-section` + `.nav-content` instead of `.nav-folder` + `.nav-folder-content`
540
- - JavaScript can now find and initialize navigation elements properly
541
- - Collapsible navigation works for nested structures
542
- - Simple navigation works for flat file structures
543
-
544
- ## [1.1.10] - 2025-07-19
545
-
546
- ### Fixed
547
- - Fixed navigation for flat file structures (no folders)
548
- - Added proper CSS styling for flat navigation layouts
549
- - Navigation now works correctly when all files are in root directory
550
-
551
- ### Added
552
- - Flat navigation detection and handling
553
- - Specific CSS classes for flat vs collapsible navigation
554
- - Improved navigation styling for simple project structures
555
-
556
- ### Improved
557
- - Better navigation experience for projects without folder hierarchies
558
- - Consistent navigation styling across all project structures
559
-
560
- ## [1.1.9] - 2025-07-19
561
-
562
- ### Fixed
563
- - Fixed "outputPath is not defined" error in deploy command
564
- - Corrected variable scope issue introduced in 1.1.8
565
-
566
- ## [1.1.8] - 2025-07-19
567
-
568
- ### Changed
569
- - Deploy command now always builds documentation first
570
- - Removed `--no-build` option to ensure fresh builds before deployment
571
- - Simplified deployment workflow - `deploy` now automatically includes build step
572
-
573
- ### Improved
574
- - Guaranteed that deployed documentation is always up-to-date
575
- - Eliminated confusion about when to build vs when to deploy
576
- - Streamlined user experience with single deploy command
577
-
578
- ## [1.1.7] - 2025-07-19
579
-
580
- ### Fixed
581
- - Fixed CSS and JS assets not loading on deployed Vercel sites
582
- - Changed all asset paths from relative to absolute URLs (/css/, /js/)
583
- - Fixed missing styling on deployed documentation
584
- - Corrected asset path resolution for Vercel's static hosting
585
-
586
- ### Changed
587
- - All HTML templates now use absolute paths for CSS and JS files
588
- - Logo links now use absolute paths for consistent navigation
589
- - Index.html generation uses absolute asset paths
590
-
591
- ## [1.1.6] - 2025-01-19
592
-
593
- ### Fixed
594
- - Fixed missing CSS and JS styling in deployed documentation
595
- - Corrected relative paths for assets (css/style.css instead of ./css/style.css)
596
- - Added proper styling to fallback index.html
597
- - Enhanced index.html with beautiful grid layout when no README exists
598
-
599
- ### Added
600
- - Cache headers for CSS and JS files in vercel.json
601
- - Proper meta tags and viewport settings in generated index files
602
- - Beautiful card-based layout for documentation listing
603
-
604
- ### Improved
605
- - Index.html now uses the same Notion-inspired styling as other pages
606
- - Better visual consistency across all generated pages
607
-
608
- ## [1.1.5] - 2025-01-19
609
-
610
- ### Added
611
- - Clear explanation of Vercel URLs after deployment
612
- - Shows permanent production URL (e.g., gasworld.vercel.app)
613
- - Explains the difference between production and preview URLs
614
- - Better post-deployment messaging
615
-
616
- ### Improved
617
- - Deployment success message now shows both URLs clearly
618
- - Production URL is highlighted as the one to share
619
- - Preview URL is explained as deployment-specific
620
-
621
- ## [1.1.4] - 2025-01-19
622
-
623
- ### Fixed
624
- - Removed deprecated --no-clipboard option
625
- - Fixed 404 errors with better index.html handling
626
- - Added fallback index.html when README.html doesn't exist
627
- - Production deployment now correctly uses --prod flag
628
-
629
- ### Added
630
- - Auto-generated index.html with file listing if no README
631
- - Better logging during deployment preparation
632
- - Console messages when creating index.html
633
-
634
- ### Changed
635
- - Simplified deployment arguments
636
- - Cleaner deployment command without unnecessary flags
637
-
638
- ## [1.1.3] - 2025-01-19
639
-
640
- ### Fixed
641
- - Real-time output from Vercel CLI during deployment
642
- - Fixed 404 errors by adding cleanUrls configuration
643
- - Deployment now shows progress as it happens
644
-
645
- ### Added
646
- - cleanUrls: true in vercel.json for proper URL handling
647
- - trailingSlash: false to prevent redirect issues
648
- - Real-time streaming of Vercel deployment output
649
-
650
- ### Changed
651
- - Switched from execSync to spawn for live deployment output
652
- - Better URL extraction from deployment output
653
-
654
- ## [1.1.2] - 2025-01-19
655
-
656
- ### Changed
657
- - Simplified deployment output - removed Root Directory warnings
658
- - Cleaner deployment experience with just essential information
659
- - Shows simple "Starting deployment" message instead of warnings
660
-
661
- ### Removed
662
- - Pre-deployment Root Directory check and warnings
663
- - Project ID display during deployment
664
- - Verbose deployment preparation messages
665
-
666
- ## [1.1.1] - 2025-01-19
667
-
668
- ### Added
669
- - TL;DR section at the top of CLI help for quick understanding
670
- - Clear production deployment behavior explanation in help
671
- - Visual indicators for v1.1.0+ deployment changes
672
- - Examples showing production URLs vs preview URLs
673
-
674
- ### Improved
675
- - Help text now prominently shows default production deployment
676
- - Added emoji and color highlights for important changes
677
- - Clearer deployment behavior section
678
-
679
- ## [1.1.0] - 2025-01-19
680
-
681
- ### Changed (BREAKING)
682
- - **Deploy command now defaults to production deployment**
683
- - Use `--no-prod` flag for preview deployments
684
- - Default action (no command) deploys to production
685
- - This ensures documentation is always published to main URL
686
-
687
- ### Updated
688
- - All help text and examples reflect production default
689
- - CLI description clarifies production deployment
690
- - Example files use simplified deploy command
691
-
692
- ### Migration
693
- - Previous: `npx @knowcode/doc-builder deploy --prod`
694
- - Now: `npx @knowcode/doc-builder deploy`
695
- - For preview: `npx @knowcode/doc-builder deploy --no-prod`
696
-
697
- ## [1.0.11] - 2025-01-19
698
-
699
- ### Added
700
- - Comprehensive troubleshooting for "buildCommand" errors in help
701
- - Troubleshooting for "Project was deleted" errors
702
- - "Delete and Start Fresh" section in deployment help
703
- - Enhanced reset-vercel command documentation
704
-
705
- ### Improved
706
- - Clearer instructions for handling deleted projects
707
- - Better organization of troubleshooting scenarios
708
- - Added specific commands for each error type
709
-
710
- ## [1.0.10] - 2025-01-19
711
-
712
- ### Fixed
713
- - Fixed persistent "buildCommand should be string,null" error
714
- - vercel.json now explicitly sets buildCommand to empty string
715
- - Added explicit build environment variables to deployment
716
- - Added specific error handling for buildCommand conflicts
717
-
718
- ### Added
719
- - Better error messages for build settings conflicts
720
- - Instructions to clear Vercel project settings
721
- - Alternative reset instructions when settings conflict
722
-
723
- ### Changed
724
- - Deploy command now includes build skip flags
725
- - All build-related fields explicitly set to empty strings
726
-
727
- ## [1.0.9] - 2025-01-19
728
-
729
- ### Fixed
730
- - Fixed "buildCommand should be string,null" error
731
- - Simplified vercel.json to minimal configuration
732
- - Removed unnecessary buildCommand and installCommand fields
733
- - Only include outputDirectory in vercel.json
734
-
735
- ## [1.0.8] - 2025-01-19
736
-
737
- ### Added
738
- - Extremely prominent Root Directory warnings throughout setup
739
- - Red background critical warnings before setup begins
740
- - Clear post-setup instructions with visual formatting
741
- - Step-by-step Root Directory fix instructions after linking
742
- - Warning in help text about Root Directory configuration
743
-
744
- ### Improved
745
- - Made Root Directory warnings impossible to miss
746
- - Added visual boxes and colors to critical warnings
747
- - Enhanced setup flow with pre-deployment warnings
748
- - Better formatting of post-setup instructions
749
-
750
- ### Changed
751
- - All setup flows now show Root Directory warning first
752
- - Both deploy command and default flow show warnings
753
-
754
- ## [1.0.7] - 2025-01-19
755
-
756
- ### Added
757
- - New `reset-vercel` command to fix deployment issues
758
- - Pre-deployment warning about Root Directory settings
759
- - Automatic detection of "html/html does not exist" error with clear fix instructions
760
- - Visual deployment status with project information
761
- - Better error messages that extract and show the settings URL
762
-
763
- ### Improved
764
- - Enhanced error handling with specific instructions for Root Directory issues
765
- - Clear visual separation for deployment warnings
766
- - More prominent pre-deployment checks
767
- - Direct links to Vercel project settings
768
-
769
- ### Fixed
770
- - Better handling of the common "html/html" path error
771
- - Clearer recovery instructions when deployment fails
772
-
773
- ## [1.0.6] - 2025-01-19
774
-
775
- ### Added
776
- - Much more prominent and helpful Vercel setup instructions
777
- - Step-by-step visual guide with numbered steps and emojis
778
- - Warning about common "username/html" project linking mistake
779
- - Detection and warning for existing project deployments
780
- - Comprehensive troubleshooting for "html/html does not exist" error
781
- - Clear instructions for fixing Root Directory settings
782
-
783
- ### Improved
784
- - Enhanced visual formatting for Vercel prompts with boxes and colors
785
- - Added critical warnings about NOT linking to generic "html" projects
786
- - Better error detection and user guidance
787
- - More helpful project settings URLs
788
-
789
- ### Fixed
790
- - Updated vercel.json to use empty strings instead of false values
791
- - Added installCommand to vercel.json for better compatibility
792
-
793
- ## [1.0.5] - 2025-01-19
794
-
795
- ### Fixed
796
- - Fixed "vercel.json file should be inside of the provided root directory" error
797
- - Deploy commands now run from the output directory (html/) instead of project root
798
- - Vercel link command runs from correct directory during setup
799
- - vercel.json is now created in the output directory where it belongs
800
-
801
- ### Changed
802
- - Simplified vercel.json configuration for static sites
803
- - Updated deployment flow to work correctly with Vercel's expectations
804
- - Vercel project detection now checks in output directory
805
-
806
- ## [1.0.4] - 2025-01-19
807
-
808
- ### Added
809
- - Comprehensive Vercel CLI prompt explanations in help text
810
- - Step-by-step answers for all Vercel setup questions
811
- - Hints in prompts to guide users through setup
812
- - Pre-deployment guidance showing what Vercel will ask
813
- - Better project name sanitization for Vercel URLs
814
-
815
- ### Improved
816
- - More detailed deployment help with exact answers to provide
817
- - Clearer instructions for first-time vs. subsequent deployments
818
- - Visual question/answer format in help documentation
819
-
820
- ## [1.0.3] - 2025-01-19
821
-
822
- ### Fixed
823
- - Fixed "path argument must be string" error in deploy command
824
- - Improved Vercel CLI detection with helpful installation instructions
825
- - Made config loading more lenient for missing directories
826
- - Auto-build documentation if not already built before deployment
827
- - Better error messages with stack traces for debugging
828
-
829
- ### Added
830
- - Automatic preparation of deployment files (index.html redirect)
831
- - Check for Vercel CLI before attempting deployment
832
- - Build documentation automatically if output directory doesn't exist
833
- - More robust vercel.json generation for static sites
834
-
835
- ## [1.0.2] - 2025-01-19
836
-
837
- ### Fixed
838
- - Fixed remaining JUNO references in CLI help text
839
- - Enhanced help documentation with detailed Vercel CLI setup instructions
840
- - Added comprehensive deployment troubleshooting guide
841
- - Improved Quick Start section with step-by-step instructions
842
- - Added "What gets created" explanations for init command
843
-
844
- ### Added
845
- - Requirements section in main help
846
- - Example for creating docs from scratch
847
- - Vercel installation options (npm and Homebrew)
848
- - Clear instructions for disabling Vercel deployment protection
849
-
850
- ## [1.0.1] - 2025-01-19
851
-
852
- ### Fixed
853
- - Made package completely self-contained - no longer requires cybersolstice project
854
- - Embedded full build logic into the package
855
- - Fixed "Build script not found" error when running in other projects
856
-
857
- ## [1.0.0] - 2025-01-19
858
-
859
- ### Added
860
- - Initial release of @knowcode/doc-builder
861
- - Zero-configuration documentation builder
862
- - Markdown to HTML conversion with Notion-inspired theme
863
- - Automatic navigation generation from folder structure
864
- - Mermaid diagram support with title extraction
865
- - Syntax highlighting for code blocks
866
- - Dark mode support
867
- - Optional authentication system
868
- - Automatic changelog generation
869
- - Live reload development server
870
- - One-command Vercel deployment
871
- - CLI with build, dev, deploy, and init commands
872
- - Example documentation generator
873
- - Cybersolstice preset for backward compatibility
874
- - Programmatic API for Node.js integration
875
-
876
- ### Features
877
- - Works immediately with `npx @knowcode/doc-builder`
878
- - No installation or configuration required
879
- - Self-contained package with all dependencies
880
- - Intelligent defaults for common use cases
881
- - Full customization available via config file
882
-
883
- ### Technical
884
- - Built on marked for markdown parsing
885
- - Commander.js for CLI framework
886
- - Supports Node.js 14+
887
- - CommonJS module system for compatibility
888
-
889
- ## Future Releases
890
-
891
- ### [1.1.0] - Planned
892
- - Plugin system for extensibility
893
- - Custom theme support
894
- - Multiple language support
895
- - Search functionality
896
- - PDF export
897
-
898
- ### [2.0.0] - Planned
899
- - Full refactor of build system
900
- - ESM modules support
901
- - TypeScript rewrite
902
- - Performance improvements