@knowcode/doc-builder 1.9.15 → 1.9.17

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 (54) hide show
  1. package/.claude/settings.local.json +2 -1
  2. package/assets/css/notion-style.css +76 -0
  3. package/assets/js/main.js +97 -0
  4. package/doc-builder.config.js +2 -1
  5. package/doc-builder.config.js.backup.1754119567787 +123 -0
  6. package/doc-builder.config.js.backup.1754120048862 +124 -0
  7. package/html/README.html +6 -4
  8. package/html/about-doc-builder.html +6 -4
  9. package/html/css/notion-style.css +76 -0
  10. package/html/documentation-index.html +6 -4
  11. package/html/guides/authentication-default-change.html +6 -4
  12. package/html/guides/authentication-guide.html +6 -4
  13. package/html/guides/claude-workflow-guide.html +6 -4
  14. package/html/guides/configuration-guide.html +6 -4
  15. package/html/guides/documentation-standards.html +6 -4
  16. package/html/guides/html-embedding-guide.html +6 -4
  17. package/html/guides/image-modal-guide.html +6 -4
  18. package/html/guides/phosphor-icons-guide.html +6 -4
  19. package/html/guides/private-directory-authentication-troubleshooting.html +6 -4
  20. package/html/guides/private-directory-authentication.html +6 -4
  21. package/html/guides/public-site-deployment.html +6 -4
  22. package/html/guides/search-engine-verification-guide.html +6 -4
  23. package/html/guides/seo-guide.html +6 -4
  24. package/html/guides/seo-optimization-guide.html +6 -4
  25. package/html/guides/supabase-authentication-complete-guide.html +6 -4
  26. package/html/guides/troubleshooting-guide.html +6 -4
  27. package/html/guides/windows-setup-guide.html +6 -4
  28. package/html/image-modal-test.html +6 -4
  29. package/html/index.html +6 -4
  30. package/html/js/main.js +97 -0
  31. package/html/private/cache-control-anti-pattern.html +6 -4
  32. package/html/private/launch/README.html +6 -4
  33. package/html/private/launch/auth-cleanup-summary.html +6 -4
  34. package/html/private/launch/bubble-plugin-specification.html +6 -4
  35. package/html/private/launch/go-to-market-strategy.html +6 -4
  36. package/html/private/launch/launch-announcements.html +6 -4
  37. package/html/private/launch/vercel-deployment-auth-setup.html +6 -4
  38. package/html/private/next-steps-walkthrough.html +6 -4
  39. package/html/private/supabase-auth-implementation-completed.html +6 -4
  40. package/html/private/supabase-auth-implementation-plan.html +6 -4
  41. package/html/private/supabase-auth-integration-plan.html +6 -4
  42. package/html/private/supabase-auth-setup-guide.html +6 -4
  43. package/html/private/test-private-doc.html +6 -4
  44. package/html/private/user-management-tooling.html +6 -4
  45. package/html/prompts/beautiful-documentation-design.html +6 -4
  46. package/html/prompts/markdown-document-standards.html +6 -4
  47. package/html/prompts/project-rename-strategy-sasha-publish.html +6 -4
  48. package/html/sitemap.xml +62 -56
  49. package/html/test-mermaid-enhanced.html +341 -0
  50. package/html/vercel-cli-setup-guide.html +6 -4
  51. package/html/vercel-first-time-setup-guide.html +6 -4
  52. package/lib/config.js +5 -0
  53. package/lib/core-builder.js +2 -1
  54. package/package.json +1 -1
@@ -46,7 +46,8 @@
46
46
  "Bash(brew upgrade:*)",
47
47
  "Bash(psql:*)",
48
48
  "Bash(open /Users/lindsaysmith/Documents/lambda1.nosync/doc-builder/html/image-modal-test.html)",
49
- "WebFetch(domain:nudge-campaign.vercel.app)"
49
+ "WebFetch(domain:nudge-campaign.vercel.app)",
50
+ "WebFetch(domain:mermaid.js.org)"
50
51
  ],
51
52
  "deny": []
52
53
  }
@@ -1129,6 +1129,82 @@ tr:hover {
1129
1129
  border-radius: var(--radius-lg);
1130
1130
  overflow-x: auto;
1131
1131
  margin: var(--space-2) 0;
1132
+ transition: all var(--duration-normal);
1133
+ }
1134
+
1135
+ /* Enhanced Mermaid SVG Styling */
1136
+ .mermaid svg {
1137
+ max-width: 100%;
1138
+ height: auto;
1139
+ }
1140
+
1141
+ /* Enhanced Mermaid Styling - only applied when mermaidEnhanced is enabled */
1142
+ [data-mermaid-enhanced="true"] .mermaid svg .node rect,
1143
+ [data-mermaid-enhanced="true"] .mermaid svg .node polygon,
1144
+ [data-mermaid-enhanced="true"] .mermaid svg .node circle,
1145
+ [data-mermaid-enhanced="true"] .mermaid svg .node ellipse {
1146
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
1147
+ transition: all 0.2s ease !important;
1148
+ }
1149
+
1150
+ /* Enhanced rectangle shapes with rounded corners */
1151
+ [data-mermaid-enhanced="true"] .mermaid svg .node rect {
1152
+ rx: 8px !important;
1153
+ ry: 8px !important;
1154
+ }
1155
+
1156
+ /* Enhanced flowchart nodes */
1157
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node {
1158
+ filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08)) !important;
1159
+ }
1160
+
1161
+ /* Smoother connection lines */
1162
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-link {
1163
+ stroke-width: 2px !important;
1164
+ fill: none !important;
1165
+ }
1166
+
1167
+ /* Enhanced text styling */
1168
+ [data-mermaid-enhanced="true"] .mermaid svg .node text,
1169
+ [data-mermaid-enhanced="true"] .mermaid svg .edgeLabel text {
1170
+ font-family: var(--font-sans) !important;
1171
+ font-size: var(--text-base) !important;
1172
+ font-weight: var(--font-medium) !important;
1173
+ }
1174
+
1175
+ /* Hover effects for interactive elements */
1176
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover rect,
1177
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover polygon,
1178
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover circle,
1179
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover ellipse {
1180
+ filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) !important;
1181
+ transform: translateY(-1px) !important;
1182
+ }
1183
+
1184
+ /* Enhanced cluster/subgraph styling */
1185
+ [data-mermaid-enhanced="true"] .mermaid svg .cluster rect {
1186
+ rx: 12px !important;
1187
+ ry: 12px !important;
1188
+ stroke-dasharray: none !important;
1189
+ opacity: 0.8 !important;
1190
+ }
1191
+
1192
+ /* Decision diamond improvements */
1193
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node polygon {
1194
+ filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1)) !important;
1195
+ }
1196
+
1197
+ /* Process node styling */
1198
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node rect {
1199
+ stroke-width: 1.5px !important;
1200
+ }
1201
+
1202
+ /* Edge label background */
1203
+ [data-mermaid-enhanced="true"] .mermaid svg .edgeLabel .label {
1204
+ background: var(--color-bg-card) !important;
1205
+ border-radius: var(--radius-sm) !important;
1206
+ padding: var(--space-1) var(--space-2) !important;
1207
+ border: 1px solid var(--color-border-default) !important;
1132
1208
  }
1133
1209
 
1134
1210
  /* Mermaid Full Screen Viewer */
package/assets/js/main.js CHANGED
@@ -54,6 +54,100 @@ document.addEventListener('DOMContentLoaded', function() {
54
54
  initializeMermaidFullScreen();
55
55
  });
56
56
 
57
+ // Mermaid Theme Configuration
58
+ function configureMermaidTheme() {
59
+ // Check if enhanced styling is enabled (passed from config)
60
+ const enhancedStyling = window.docBuilderConfig?.features?.mermaidEnhanced !== false;
61
+
62
+ // Set data attribute for CSS styling
63
+ document.documentElement.setAttribute('data-mermaid-enhanced', enhancedStyling.toString());
64
+
65
+ // Get current theme (light/dark mode)
66
+ const isDarkMode = document.documentElement.getAttribute('data-theme') === 'dark';
67
+
68
+ // Notion-inspired color palette
69
+ const lightTheme = {
70
+ primaryColor: '#F7F6F3', // Light background for shapes
71
+ primaryTextColor: '#37352F', // Dark text
72
+ primaryBorderColor: '#E3E2E0', // Subtle borders
73
+ lineColor: '#787774', // Connection lines
74
+ secondaryColor: '#EDEBE9', // Secondary backgrounds
75
+ tertiaryColor: '#E9E9E7', // Tertiary elements
76
+ background: '#FFFFFF', // Diagram background
77
+ fontSize: '16px', // Text size
78
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'
79
+ };
80
+
81
+ const darkTheme = {
82
+ primaryColor: '#2F2F2F', // Dark background for shapes
83
+ primaryTextColor: '#E3E2E0', // Light text
84
+ primaryBorderColor: '#454545', // Darker borders
85
+ lineColor: '#9B9A97', // Lighter connection lines
86
+ secondaryColor: '#404040', // Secondary backgrounds
87
+ tertiaryColor: '#4A4A4A', // Tertiary elements
88
+ background: '#1A1A1A', // Dark diagram background
89
+ fontSize: '16px', // Text size
90
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'
91
+ };
92
+
93
+ const currentTheme = isDarkMode ? darkTheme : lightTheme;
94
+
95
+ // Initialize Mermaid with custom theme (only if enhanced styling is enabled)
96
+ const mermaidConfig = {
97
+ startOnLoad: false, // We'll manually start it after configuration
98
+ theme: enhancedStyling ? 'base' : 'default',
99
+ ...(enhancedStyling && { themeVariables: currentTheme }),
100
+ flowchart: {
101
+ curve: 'basis', // Smoother curves
102
+ padding: 20, // More padding around elements
103
+ nodeSpacing: 50, // Space between nodes
104
+ rankSpacing: 50, // Space between ranks
105
+ marginX: 20, // Horizontal margins
106
+ marginY: 20 // Vertical margins
107
+ },
108
+ sequence: {
109
+ actorMargin: 50,
110
+ width: 150,
111
+ height: 65,
112
+ boxMargin: 10,
113
+ boxTextMargin: 5,
114
+ noteMargin: 10,
115
+ messageMargin: 35
116
+ },
117
+ ...(enhancedStyling && {
118
+ gantt: {
119
+ leftPadding: 75,
120
+ gridLineStartPadding: 35,
121
+ fontSize: 12,
122
+ sectionFontSize: 24
123
+ }
124
+ })
125
+ };
126
+
127
+ mermaid.initialize(mermaidConfig);
128
+
129
+ // Manually render all mermaid diagrams after configuration
130
+ setTimeout(() => {
131
+ console.log('[Mermaid] Running mermaid.run() with config:', mermaidConfig);
132
+ console.log('[Mermaid] Enhanced styling enabled:', enhancedStyling);
133
+ console.log('[Mermaid] Data attribute set to:', document.documentElement.getAttribute('data-mermaid-enhanced'));
134
+ mermaid.run();
135
+
136
+ // After rendering, log some debug info
137
+ setTimeout(() => {
138
+ const diagrams = document.querySelectorAll('.mermaid svg');
139
+ console.log('[Mermaid] Found', diagrams.length, 'rendered diagrams');
140
+
141
+ const firstRect = document.querySelector('.mermaid svg rect');
142
+ if (firstRect) {
143
+ console.log('[Mermaid] First rect element:', firstRect);
144
+ console.log('[Mermaid] Rect rx value:', firstRect.getAttribute('rx'));
145
+ console.log('[Mermaid] Computed styles:', window.getComputedStyle(firstRect));
146
+ }
147
+ }, 500);
148
+ }, 100);
149
+ }
150
+
57
151
  // Mermaid Full Screen Viewer
58
152
  function initializeMermaidFullScreen() {
59
153
  // Wait for Mermaid to initialize
@@ -62,6 +156,9 @@ function initializeMermaidFullScreen() {
62
156
  return;
63
157
  }
64
158
 
159
+ // Configure Mermaid with enhanced styling
160
+ configureMermaidTheme();
161
+
65
162
  // Find all Mermaid diagrams and wrap them with full-screen controls
66
163
  const mermaidDivs = document.querySelectorAll('.mermaid');
67
164
 
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- "configVersion": "1.9.14",
2
+ "configVersion": "1.9.16",
3
3
  "docsDir": "docs",
4
4
  "outputDir": "html",
5
5
  "siteName": "@knowcode/doc-builder",
@@ -9,6 +9,7 @@ module.exports = {
9
9
  "authentication": false,
10
10
  "changelog": true,
11
11
  "mermaid": true,
12
+ "mermaidEnhanced": true,
12
13
  "tooltips": true,
13
14
  "search": false,
14
15
  "darkMode": true,
@@ -0,0 +1,123 @@
1
+ module.exports = {
2
+ "configVersion": "1.9.14",
3
+ "docsDir": "docs",
4
+ "outputDir": "html",
5
+ "siteName": "@knowcode/doc-builder",
6
+ "siteDescription": "Beautiful documentation with the least effort possible",
7
+ "favicon": "✨",
8
+ "features": {
9
+ "authentication": false,
10
+ "changelog": true,
11
+ "mermaid": true,
12
+ "tooltips": true,
13
+ "search": false,
14
+ "darkMode": true,
15
+ "phosphorIcons": true,
16
+ "phosphorWeight": "regular",
17
+ "phosphorSize": "1.2em",
18
+ "normalizeTitle": true,
19
+ "showPdfDownload": true,
20
+ "menuDefaultOpen": false,
21
+ "attachments": true,
22
+ "dynamicNavIcons": true,
23
+ "subtleColors": true,
24
+ "privateDirectoryAuth": false,
25
+ "banner": false
26
+ },
27
+ "auth": {
28
+ "supabaseUrl": "https://xcihhnfcitjrwbynxmka.supabase.co",
29
+ "supabaseAnonKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhjaWhobmZjaXRqcndieW54bWthIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM0Mzc2MzcsImV4cCI6MjA2OTAxMzYzN30.zvWp3JFIR8fBIiwuFF5gqOR_Kxb42baZS5fsBz60XOY"
30
+ },
31
+ "changelog": {
32
+ "daysBack": 14,
33
+ "enabled": true
34
+ },
35
+ "banner": {
36
+ "enabled": false,
37
+ "text": "This documentation is a preview version - some content may be incomplete",
38
+ "icon": "fas fa-exclamation-triangle",
39
+ "type": "warning",
40
+ "dismissible": true
41
+ },
42
+ "folderOrder": [],
43
+ "folderDescriptions": {},
44
+ "folderIcons": {},
45
+ "deployment": {
46
+ "platform": "vercel",
47
+ "outputDirectory": "html"
48
+ },
49
+ "seo": {
50
+ "enabled": true,
51
+ "siteUrl": "https://doc-builder-delta.vercel.app",
52
+ "author": "Lindsay Smith",
53
+ "twitterHandle": "@planbbackups",
54
+ "language": "en-US",
55
+ "keywords": [
56
+ "documentation",
57
+ "markdown",
58
+ "static site generator",
59
+ "vercel",
60
+ "notion-style"
61
+ ],
62
+ "titleTemplate": "{pageTitle} | {siteName}",
63
+ "autoKeywords": true,
64
+ "keywordLimit": 7,
65
+ "descriptionFallback": "smart",
66
+ "organization": {
67
+ "name": "Knowcode Ltd",
68
+ "url": "https://knowcode.tech",
69
+ "logo": ""
70
+ },
71
+ "ogImage": "/og-default.png",
72
+ "generateSitemap": true,
73
+ "generateRobotsTxt": true,
74
+ "customMetaTags": [
75
+ {
76
+ "name": "google-site-verification",
77
+ "content": "FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ"
78
+ },
79
+ {
80
+ "name": "msvalidate.01",
81
+ "content": "B2D8C4C12C530D47AA962B24CAA09630"
82
+ }
83
+ ]
84
+ },
85
+ "attachmentTypes": [
86
+ ".pdf",
87
+ ".doc",
88
+ ".docx",
89
+ ".xls",
90
+ ".xlsx",
91
+ ".csv",
92
+ ".ppt",
93
+ ".pptx",
94
+ ".txt",
95
+ ".rtf",
96
+ ".html",
97
+ ".htm",
98
+ ".zip",
99
+ ".tar",
100
+ ".gz",
101
+ ".7z",
102
+ ".rar",
103
+ ".png",
104
+ ".jpg",
105
+ ".jpeg",
106
+ ".gif",
107
+ ".svg",
108
+ ".webp",
109
+ ".ico",
110
+ ".bmp",
111
+ ".json",
112
+ ".xml",
113
+ ".yaml",
114
+ ".yml",
115
+ ".toml",
116
+ ".mp4",
117
+ ".mp3",
118
+ ".wav",
119
+ ".avi",
120
+ ".mov"
121
+ ],
122
+ "productionUrl": "https://doc-builder-delta.vercel.app"
123
+ };
@@ -0,0 +1,124 @@
1
+ module.exports = {
2
+ "configVersion": "1.9.15",
3
+ "docsDir": "docs",
4
+ "outputDir": "html",
5
+ "siteName": "@knowcode/doc-builder",
6
+ "siteDescription": "Beautiful documentation with the least effort possible",
7
+ "favicon": "✨",
8
+ "features": {
9
+ "authentication": false,
10
+ "changelog": true,
11
+ "mermaid": true,
12
+ "mermaidEnhanced": true,
13
+ "tooltips": true,
14
+ "search": false,
15
+ "darkMode": true,
16
+ "phosphorIcons": true,
17
+ "phosphorWeight": "regular",
18
+ "phosphorSize": "1.2em",
19
+ "normalizeTitle": true,
20
+ "showPdfDownload": true,
21
+ "menuDefaultOpen": false,
22
+ "attachments": true,
23
+ "dynamicNavIcons": true,
24
+ "subtleColors": true,
25
+ "privateDirectoryAuth": false,
26
+ "banner": false
27
+ },
28
+ "auth": {
29
+ "supabaseUrl": "https://xcihhnfcitjrwbynxmka.supabase.co",
30
+ "supabaseAnonKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhjaWhobmZjaXRqcndieW54bWthIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTM0Mzc2MzcsImV4cCI6MjA2OTAxMzYzN30.zvWp3JFIR8fBIiwuFF5gqOR_Kxb42baZS5fsBz60XOY"
31
+ },
32
+ "changelog": {
33
+ "daysBack": 14,
34
+ "enabled": true
35
+ },
36
+ "banner": {
37
+ "enabled": false,
38
+ "text": "This documentation is a preview version - some content may be incomplete",
39
+ "icon": "fas fa-exclamation-triangle",
40
+ "type": "warning",
41
+ "dismissible": true
42
+ },
43
+ "folderOrder": [],
44
+ "folderDescriptions": {},
45
+ "folderIcons": {},
46
+ "deployment": {
47
+ "platform": "vercel",
48
+ "outputDirectory": "html"
49
+ },
50
+ "seo": {
51
+ "enabled": true,
52
+ "siteUrl": "https://doc-builder-delta.vercel.app",
53
+ "author": "Lindsay Smith",
54
+ "twitterHandle": "@planbbackups",
55
+ "language": "en-US",
56
+ "keywords": [
57
+ "documentation",
58
+ "markdown",
59
+ "static site generator",
60
+ "vercel",
61
+ "notion-style"
62
+ ],
63
+ "titleTemplate": "{pageTitle} | {siteName}",
64
+ "autoKeywords": true,
65
+ "keywordLimit": 7,
66
+ "descriptionFallback": "smart",
67
+ "organization": {
68
+ "name": "Knowcode Ltd",
69
+ "url": "https://knowcode.tech",
70
+ "logo": ""
71
+ },
72
+ "ogImage": "/og-default.png",
73
+ "generateSitemap": true,
74
+ "generateRobotsTxt": true,
75
+ "customMetaTags": [
76
+ {
77
+ "name": "google-site-verification",
78
+ "content": "FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ"
79
+ },
80
+ {
81
+ "name": "msvalidate.01",
82
+ "content": "B2D8C4C12C530D47AA962B24CAA09630"
83
+ }
84
+ ]
85
+ },
86
+ "attachmentTypes": [
87
+ ".pdf",
88
+ ".doc",
89
+ ".docx",
90
+ ".xls",
91
+ ".xlsx",
92
+ ".csv",
93
+ ".ppt",
94
+ ".pptx",
95
+ ".txt",
96
+ ".rtf",
97
+ ".html",
98
+ ".htm",
99
+ ".zip",
100
+ ".tar",
101
+ ".gz",
102
+ ".7z",
103
+ ".rar",
104
+ ".png",
105
+ ".jpg",
106
+ ".jpeg",
107
+ ".gif",
108
+ ".svg",
109
+ ".webp",
110
+ ".ico",
111
+ ".bmp",
112
+ ".json",
113
+ ".xml",
114
+ ".yaml",
115
+ ".yml",
116
+ ".toml",
117
+ ".mp4",
118
+ ".mp3",
119
+ ".wav",
120
+ ".avi",
121
+ ".mov"
122
+ ],
123
+ "productionUrl": "https://doc-builder-delta.vercel.app"
124
+ };
package/html/README.html CHANGED
@@ -99,8 +99,8 @@
99
99
  "name": "Knowcode Ltd",
100
100
  "url": "https://knowcode.tech"
101
101
  },
102
- "datePublished": "2025-08-01T14:40:41.828Z",
103
- "dateModified": "2025-08-01T14:40:41.828Z",
102
+ "datePublished": "2025-08-02T07:34:26.193Z",
103
+ "dateModified": "2025-08-02T07:34:26.193Z",
104
104
  "mainEntityOfPage": {
105
105
  "@type": "WebPage",
106
106
  "@id": "https://doc-builder-delta.vercel.app/README.html"
@@ -133,7 +133,7 @@
133
133
 
134
134
  <div class="header-actions">
135
135
  <div class="deployment-info">
136
- <span class="deployment-date" title="Built with doc-builder v1.9.14">Last updated: Aug 1, 2025, 02:40 PM UTC</span>
136
+ <span class="deployment-date" title="Built with doc-builder v1.9.16">Last updated: Aug 2, 2025, 07:34 AM UTC</span>
137
137
  </div>
138
138
 
139
139
 
@@ -181,6 +181,7 @@
181
181
  <a href="/about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
182
182
  <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>
183
183
  <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>
184
+ <a href="/test-mermaid-enhanced.html" class="nav-item" data-tooltip="Mermaid Enhanced Styling Test."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Test Mermaid Enhanced</a>
184
185
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
185
186
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
186
187
  <div class="nav-section" data-level="1">
@@ -498,7 +499,8 @@ docBuilder.build({
498
499
  window.docBuilderConfig = {
499
500
  features: {
500
501
  showPdfDownload: true,
501
- menuDefaultOpen: false
502
+ menuDefaultOpen: false,
503
+ mermaidEnhanced: true
502
504
  }
503
505
  };
504
506
  </script>
@@ -99,8 +99,8 @@
99
99
  "name": "Knowcode Ltd",
100
100
  "url": "https://knowcode.tech"
101
101
  },
102
- "datePublished": "2025-08-01T14:40:41.840Z",
103
- "dateModified": "2025-08-01T14:40:41.840Z",
102
+ "datePublished": "2025-08-02T07:34:26.206Z",
103
+ "dateModified": "2025-08-02T07:34:26.206Z",
104
104
  "mainEntityOfPage": {
105
105
  "@type": "WebPage",
106
106
  "@id": "https://doc-builder-delta.vercel.app/about-doc-builder.html"
@@ -133,7 +133,7 @@
133
133
 
134
134
  <div class="header-actions">
135
135
  <div class="deployment-info">
136
- <span class="deployment-date" title="Built with doc-builder v1.9.14">Last updated: Aug 1, 2025, 02:40 PM UTC</span>
136
+ <span class="deployment-date" title="Built with doc-builder v1.9.16">Last updated: Aug 2, 2025, 07:34 AM UTC</span>
137
137
  </div>
138
138
 
139
139
 
@@ -181,6 +181,7 @@
181
181
  <a href="/about-doc-builder.html" class="nav-item active" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
182
182
  <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>
183
183
  <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>
184
+ <a href="/test-mermaid-enhanced.html" class="nav-item" data-tooltip="Mermaid Enhanced Styling Test."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Test Mermaid Enhanced</a>
184
185
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
185
186
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
186
187
  <div class="nav-section" data-level="1">
@@ -467,7 +468,8 @@ npx @knowcode/doc-builder@latest dev
467
468
  window.docBuilderConfig = {
468
469
  features: {
469
470
  showPdfDownload: true,
470
- menuDefaultOpen: false
471
+ menuDefaultOpen: false,
472
+ mermaidEnhanced: true
471
473
  }
472
474
  };
473
475
  </script>
@@ -1129,6 +1129,82 @@ tr:hover {
1129
1129
  border-radius: var(--radius-lg);
1130
1130
  overflow-x: auto;
1131
1131
  margin: var(--space-2) 0;
1132
+ transition: all var(--duration-normal);
1133
+ }
1134
+
1135
+ /* Enhanced Mermaid SVG Styling */
1136
+ .mermaid svg {
1137
+ max-width: 100%;
1138
+ height: auto;
1139
+ }
1140
+
1141
+ /* Enhanced Mermaid Styling - only applied when mermaidEnhanced is enabled */
1142
+ [data-mermaid-enhanced="true"] .mermaid svg .node rect,
1143
+ [data-mermaid-enhanced="true"] .mermaid svg .node polygon,
1144
+ [data-mermaid-enhanced="true"] .mermaid svg .node circle,
1145
+ [data-mermaid-enhanced="true"] .mermaid svg .node ellipse {
1146
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
1147
+ transition: all 0.2s ease !important;
1148
+ }
1149
+
1150
+ /* Enhanced rectangle shapes with rounded corners */
1151
+ [data-mermaid-enhanced="true"] .mermaid svg .node rect {
1152
+ rx: 8px !important;
1153
+ ry: 8px !important;
1154
+ }
1155
+
1156
+ /* Enhanced flowchart nodes */
1157
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node {
1158
+ filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08)) !important;
1159
+ }
1160
+
1161
+ /* Smoother connection lines */
1162
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-link {
1163
+ stroke-width: 2px !important;
1164
+ fill: none !important;
1165
+ }
1166
+
1167
+ /* Enhanced text styling */
1168
+ [data-mermaid-enhanced="true"] .mermaid svg .node text,
1169
+ [data-mermaid-enhanced="true"] .mermaid svg .edgeLabel text {
1170
+ font-family: var(--font-sans) !important;
1171
+ font-size: var(--text-base) !important;
1172
+ font-weight: var(--font-medium) !important;
1173
+ }
1174
+
1175
+ /* Hover effects for interactive elements */
1176
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover rect,
1177
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover polygon,
1178
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover circle,
1179
+ [data-mermaid-enhanced="true"] .mermaid svg .node:hover ellipse {
1180
+ filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) !important;
1181
+ transform: translateY(-1px) !important;
1182
+ }
1183
+
1184
+ /* Enhanced cluster/subgraph styling */
1185
+ [data-mermaid-enhanced="true"] .mermaid svg .cluster rect {
1186
+ rx: 12px !important;
1187
+ ry: 12px !important;
1188
+ stroke-dasharray: none !important;
1189
+ opacity: 0.8 !important;
1190
+ }
1191
+
1192
+ /* Decision diamond improvements */
1193
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node polygon {
1194
+ filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1)) !important;
1195
+ }
1196
+
1197
+ /* Process node styling */
1198
+ [data-mermaid-enhanced="true"] .mermaid svg .flowchart-node rect {
1199
+ stroke-width: 1.5px !important;
1200
+ }
1201
+
1202
+ /* Edge label background */
1203
+ [data-mermaid-enhanced="true"] .mermaid svg .edgeLabel .label {
1204
+ background: var(--color-bg-card) !important;
1205
+ border-radius: var(--radius-sm) !important;
1206
+ padding: var(--space-1) var(--space-2) !important;
1207
+ border: 1px solid var(--color-border-default) !important;
1132
1208
  }
1133
1209
 
1134
1210
  /* Mermaid Full Screen Viewer */
@@ -99,8 +99,8 @@
99
99
  "name": "Knowcode Ltd",
100
100
  "url": "https://knowcode.tech"
101
101
  },
102
- "datePublished": "2025-08-01T14:40:41.842Z",
103
- "dateModified": "2025-08-01T14:40:41.842Z",
102
+ "datePublished": "2025-08-02T07:34:26.208Z",
103
+ "dateModified": "2025-08-02T07:34:26.208Z",
104
104
  "mainEntityOfPage": {
105
105
  "@type": "WebPage",
106
106
  "@id": "https://doc-builder-delta.vercel.app/documentation-index.html"
@@ -133,7 +133,7 @@
133
133
 
134
134
  <div class="header-actions">
135
135
  <div class="deployment-info">
136
- <span class="deployment-date" title="Built with doc-builder v1.9.14">Last updated: Aug 1, 2025, 02:40 PM UTC</span>
136
+ <span class="deployment-date" title="Built with doc-builder v1.9.16">Last updated: Aug 2, 2025, 07:34 AM UTC</span>
137
137
  </div>
138
138
 
139
139
 
@@ -181,6 +181,7 @@
181
181
  <a href="/about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #059669;"></i> About Doc Builder</a>
182
182
  <a href="/documentation-index.html" class="nav-item active" 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>
183
183
  <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>
184
+ <a href="/test-mermaid-enhanced.html" class="nav-item" data-tooltip="Mermaid Enhanced Styling Test."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Test Mermaid Enhanced</a>
184
185
  <a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel Cli Setup Guide</a>
185
186
  <a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #059669;"></i> Vercel First Time Setup Guide</a></div></div>
186
187
  <div class="nav-section" data-level="1">
@@ -447,7 +448,8 @@ Detailed information...
447
448
  window.docBuilderConfig = {
448
449
  features: {
449
450
  showPdfDownload: true,
450
- menuDefaultOpen: false
451
+ menuDefaultOpen: false,
452
+ mermaidEnhanced: true
451
453
  }
452
454
  };
453
455
  </script>