@knowcode/doc-builder 1.9.29 → 1.9.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/js/main.js +7 -0
- package/lib/core-builder.js +18 -1
- package/package.json +12 -2
- package/.claude/settings.local.json +0 -56
- package/CACHE-BUSTING-GUIDE.md +0 -82
- package/CLAUDE.md +0 -86
- package/CONTRIBUTING.md +0 -148
- package/GITHUB_SETUP.md +0 -203
- package/RELEASE-NOTES-1.7.5.md +0 -64
- package/Screenshot 2025-07-22 at 19.51.21.png +0 -0
- package/Screenshot 2025-07-26 at 17.06.49.png +0 -0
- package/add-user-clive.sql +0 -35
- package/add-user-lindsay-fixed.sql +0 -85
- package/add-user-lindsay.sql +0 -68
- package/add-user-pmorgan.sql +0 -35
- package/add-user-robbie.sql +0 -35
- package/add-wru-users.sql +0 -105
- package/debug-login.sql +0 -30
- package/doc-builder.config.js +0 -126
- package/doc-builder.config.js.backup.1753793768283 +0 -47
- package/doc-builder.config.js.backup.1753803964423 +0 -114
- package/doc-builder.config.js.backup.1753945707032 +0 -115
- package/doc-builder.config.js.backup.1754059241330 +0 -115
- package/doc-builder.config.js.backup.1754119567787 +0 -123
- package/doc-builder.config.js.backup.1754120048862 +0 -124
- package/doc-builder.config.js.backup.1754120529913 +0 -124
- package/doc-builder.config.js.backup.1754218469785 +0 -124
- package/doc-builder.config.js.backup.1754384764054 +0 -124
- package/doc-builder.config.js.backup.1754567425847 +0 -124
- package/doc-builder.config.js.backup.1754568137859 +0 -126
- package/doc-builder.config.js.backup.1754569388252 +0 -126
- package/doc-builder.config.js.backup.1754576694123 +0 -126
- package/doc-builder.config.js.backup.1755031374829 +0 -126
- package/doc-builder.config.js.backup.1755034500990 +0 -126
- package/grant-access.sql +0 -15
- package/html/11.png +0 -0
- package/html/404.html +0 -115
- package/html/README.html +0 -522
- package/html/Screenshot 2025-08-12 at 21.35.07.png +0 -0
- package/html/about-doc-builder.html +0 -491
- package/html/auth.js +0 -157
- package/html/claude-workflow-guide.html +0 -525
- package/html/css/notion-style.css +0 -2502
- package/html/documentation-index.html +0 -471
- package/html/guides/authentication-default-change.html +0 -370
- package/html/guides/authentication-guide.html +0 -509
- package/html/guides/cache-control-anti-pattern.html +0 -361
- package/html/guides/claude-workflow-guide.html +0 -1074
- package/html/guides/configuration-guide.html +0 -472
- package/html/guides/document-standards.html +0 -518
- package/html/guides/documentation-standards.html +0 -694
- package/html/guides/html-embedding-guide.html +0 -461
- package/html/guides/image-modal-guide.html +0 -515
- package/html/guides/next-steps-walkthrough.html +0 -638
- package/html/guides/phosphor-icons-guide.html +0 -584
- package/html/guides/private-directory-authentication-troubleshooting.html +0 -555
- package/html/guides/private-directory-authentication.html +0 -541
- package/html/guides/public-site-deployment.html +0 -431
- package/html/guides/search-engine-verification-guide.html +0 -542
- package/html/guides/seo-guide.html +0 -661
- package/html/guides/seo-optimization-guide.html +0 -887
- package/html/guides/supabase-auth-implementation-plan.html +0 -543
- package/html/guides/supabase-auth-integration-plan.html +0 -671
- package/html/guides/supabase-auth-setup-guide.html +0 -498
- package/html/guides/supabase-authentication-complete-guide.html +0 -866
- package/html/guides/troubleshooting-guide.html +0 -633
- package/html/guides/vercel-deployment-auth-setup.html +0 -337
- package/html/guides/windows-setup-guide.html +0 -859
- package/html/image-modal-test.html +0 -318
- package/html/index.html +0 -522
- package/html/js/auth.js +0 -157
- package/html/js/main.js +0 -1747
- package/html/launch/README.html +0 -297
- package/html/launch/bubble-plugin-specification.html +0 -933
- package/html/launch/go-to-market-strategy.html +0 -663
- package/html/launch/launch-announcements.html +0 -593
- package/html/login.html +0 -102
- package/html/logout.html +0 -18
- package/html/private/cache-control-anti-pattern.html +0 -429
- package/html/private/launch/README.html +0 -371
- package/html/private/launch/auth-cleanup-summary.html +0 -361
- package/html/private/launch/bubble-plugin-specification.html +0 -1007
- package/html/private/launch/go-to-market-strategy.html +0 -737
- package/html/private/launch/launch-announcements.html +0 -667
- package/html/private/launch/vercel-deployment-auth-setup.html +0 -417
- package/html/private/next-steps-walkthrough.html +0 -679
- package/html/private/supabase-auth-implementation-completed.html +0 -454
- package/html/private/supabase-auth-implementation-plan.html +0 -594
- package/html/private/supabase-auth-integration-plan.html +0 -704
- package/html/private/supabase-auth-setup-guide.html +0 -555
- package/html/private/test-private-doc.html +0 -302
- package/html/private/user-management-tooling.html +0 -601
- package/html/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html/prompts/beautiful-documentation-design.html +0 -784
- package/html/prompts/markdown-document-standards.html +0 -422
- package/html/prompts/project-rename-strategy-sasha-publish.html +0 -530
- package/html/robots.txt +0 -9
- package/html/sitemap.xml +0 -357
- package/html/test-questions/how-does-it-work%3F.html +0 -294
- package/html/test-questions/step-1%3A%20getting-started.html +0 -289
- package/html/test-questions/what-is-the-purpose.html +0 -293
- package/html/test-status.html +0 -281
- package/html/vercel-cli-setup-guide.html +0 -495
- package/html/vercel-first-time-setup-guide.html +0 -454
- package/html/vercel.json +0 -29
- package/html-static/11.png +0 -0
- package/html-static/404.html +0 -115
- package/html-static/README.html +0 -599
- package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
- package/html-static/about-doc-builder.html +0 -568
- package/html-static/css/notion-style.css +0 -2502
- package/html-static/documentation-index.html +0 -548
- package/html-static/guides/authentication-default-change.html +0 -447
- package/html-static/guides/authentication-guide.html +0 -586
- package/html-static/guides/claude-workflow-guide.html +0 -1151
- package/html-static/guides/configuration-guide.html +0 -549
- package/html-static/guides/documentation-standards.html +0 -771
- package/html-static/guides/html-embedding-guide.html +0 -538
- package/html-static/guides/image-modal-guide.html +0 -592
- package/html-static/guides/phosphor-icons-guide.html +0 -661
- package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -632
- package/html-static/guides/private-directory-authentication.html +0 -618
- package/html-static/guides/public-site-deployment.html +0 -508
- package/html-static/guides/search-engine-verification-guide.html +0 -619
- package/html-static/guides/seo-guide.html +0 -738
- package/html-static/guides/seo-optimization-guide.html +0 -964
- package/html-static/guides/supabase-authentication-complete-guide.html +0 -943
- package/html-static/guides/troubleshooting-guide.html +0 -710
- package/html-static/guides/windows-setup-guide.html +0 -936
- package/html-static/image-modal-test.html +0 -395
- package/html-static/index.html +0 -599
- package/html-static/js/main.js +0 -1747
- package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html-static/prompts/beautiful-documentation-design.html +0 -861
- package/html-static/prompts/markdown-document-standards.html +0 -499
- package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -607
- package/html-static/robots.txt +0 -5
- package/html-static/sitemap.xml +0 -195
- package/html-static/test-questions/how-does-it-work%3F.html +0 -371
- package/html-static/test-questions/step-1%3A%20getting-started.html +0 -366
- package/html-static/test-questions/what-is-the-purpose.html +0 -370
- package/html-static/vercel-cli-setup-guide.html +0 -572
- package/html-static/vercel-first-time-setup-guide.html +0 -531
- package/manage-users.sql +0 -191
- package/migrate-to-domain-auth.sql +0 -47
- package/package/CACHE-BUSTING-GUIDE.md +0 -82
- package/package/CHANGELOG.md +0 -902
- package/package/README.md +0 -248
- package/package/assets/css/notion-style.css +0 -2211
- package/package/assets/js/auth.js +0 -67
- package/package/assets/js/main.js +0 -1565
- package/package/cli.js +0 -764
- package/package/index.js +0 -38
- package/package/knowcode-doc-builder-1.3.15.tgz +0 -0
- package/package/lib/builder.js +0 -32
- package/package/lib/config.js +0 -278
- package/package/lib/core-builder.js +0 -957
- package/package/lib/deploy.js +0 -497
- package/package/lib/dev-server.js +0 -96
- package/package/package.json +0 -34
- package/package/scripts/npx-runner.js +0 -27
- package/package/scripts/setup.js +0 -56
- package/package/test-cache-bust.sh +0 -43
- package/public-config.js +0 -22
- package/public-html/404.html +0 -115
- package/public-html/README.html +0 -149
- package/public-html/css/notion-style.css +0 -2036
- package/public-html/index.html +0 -149
- package/public-html/js/auth.js +0 -67
- package/public-html/js/main.js +0 -1485
- package/quick-test-commands.md +0 -40
- package/recordings/Screenshot 2025-07-24 at 18.22.01.png +0 -0
- package/recordings/mh-ls-22jul.txt +0 -2305
- package/screenshot.png +0 -0
- package/scripts/Screenshot 2025-07-23 at 15.39.41.png +0 -0
- package/setup-database-v2.sql +0 -53
- package/setup-database.sql +0 -41
- package/test-auth-config.js +0 -17
- package/test-cache-bust.sh +0 -43
- package/test-docs/README.md +0 -39
- package/test-html/404.html +0 -115
- package/test-html/README.html +0 -172
- package/test-html/auth.js +0 -97
- package/test-html/css/notion-style.css +0 -2036
- package/test-html/index.html +0 -172
- package/test-html/js/auth.js +0 -97
- package/test-html/js/main.js +0 -1485
- package/test-html/login.html +0 -102
- package/test-html/logout.html +0 -18
- package/update-domain.sql +0 -9
- package/user-access-view.sql +0 -49
- package/user-management/README.md +0 -301
- package/user-management/add-users.sh +0 -776
- package/user-management/create-user.js +0 -65
- package/user-management/users.txt +0 -15
- package/view-all-users.sql +0 -40
- package/wru-auth-config.js +0 -17
|
@@ -1,661 +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="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML. This provides...">
|
|
7
|
-
<title>Phosphor Icons Integration Guide | @knowcode/doc-builder</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, icon, icons">
|
|
12
|
-
<meta name="robots" content="index, follow">
|
|
13
|
-
<link rel="canonical" href="https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.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/guides/phosphor-icons-guide.html">
|
|
18
|
-
<meta property="og:title" content="Phosphor Icons Integration Guide | @knowcode/doc-builder">
|
|
19
|
-
<meta property="og:description" content="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML. This provides...">
|
|
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="Phosphor Icons Integration Guide | @knowcode/doc-builder">
|
|
29
|
-
<meta name="twitter:description" content="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML. This provides...">
|
|
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": "Phosphor Icons Integration Guide",
|
|
223
|
-
"description": "@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML. This provides...",
|
|
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:35:01.278Z",
|
|
234
|
-
"dateModified": "2025-08-12T21:35:01.278Z",
|
|
235
|
-
"mainEntityOfPage": {
|
|
236
|
-
"@type": "WebPage",
|
|
237
|
-
"@id": "https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.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": "Guides",
|
|
252
|
-
"item": "https://doc-builder-delta.vercel.app/guides/"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"@type": "ListItem",
|
|
256
|
-
"position": 3,
|
|
257
|
-
"name": "Phosphor Icons Guide",
|
|
258
|
-
"item": "https://doc-builder-delta.vercel.app/guides/phosphor-icons-guide.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:35 PM UTC" data-doc-builder-version="1.9.28">
|
|
272
|
-
<!-- Breadcrumbs will be generated by JavaScript -->
|
|
273
|
-
</nav>
|
|
274
|
-
|
|
275
|
-
<!-- Main Content -->
|
|
276
|
-
<div class="main-wrapper">
|
|
277
|
-
<!-- Sidebar -->
|
|
278
|
-
<aside class="sidebar">
|
|
279
|
-
<div class="sidebar-header">
|
|
280
|
-
<div class="filter-box">
|
|
281
|
-
<input type="text" placeholder="Search menu..." class="filter-input" id="nav-filter">
|
|
282
|
-
<i class="fas fa-search filter-icon"></i>
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
<nav class="navigation">
|
|
286
|
-
|
|
287
|
-
<div class="nav-section" data-level="0">
|
|
288
|
-
<a class="nav-title toggle-all-nav expanded" href="#" id="nav-toggle-all" title="Collapse/Expand All">
|
|
289
|
-
<i class="ph ph-caret-down" id="toggle-all-icon"></i> Documentation
|
|
290
|
-
</a>
|
|
291
|
-
<div class="nav-content">
|
|
292
|
-
<a href="README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="ph ph-file-text"></i> Overview</a>
|
|
293
|
-
<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>
|
|
294
|
-
<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>
|
|
295
|
-
<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>
|
|
296
|
-
<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>
|
|
297
|
-
<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>
|
|
298
|
-
<div class="nav-section" data-level="1">
|
|
299
|
-
<a class="nav-title collapsible expanded" href="#" data-target="nav-guides-1" >
|
|
300
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-book"></i> Guides
|
|
301
|
-
</a>
|
|
302
|
-
<div class="nav-content" id="nav-guides-1">
|
|
303
|
-
<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>
|
|
304
|
-
<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>
|
|
305
|
-
<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>
|
|
306
|
-
<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>
|
|
307
|
-
<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>
|
|
308
|
-
<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>
|
|
309
|
-
<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>
|
|
310
|
-
<a href="guides/phosphor-icons-guide.html" class="nav-item active" 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>
|
|
311
|
-
<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>
|
|
312
|
-
<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>
|
|
313
|
-
<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>
|
|
314
|
-
<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>
|
|
315
|
-
<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>
|
|
316
|
-
<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>
|
|
317
|
-
<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>
|
|
318
|
-
<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>
|
|
319
|
-
<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>
|
|
320
|
-
<div class="nav-section" data-level="1">
|
|
321
|
-
<a class="nav-title collapsible" href="#" data-target="nav-prompts-1" >
|
|
322
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-chat-circle-dots"></i> Prompts
|
|
323
|
-
</a>
|
|
324
|
-
<div class="nav-content collapsed" id="nav-prompts-1">
|
|
325
|
-
<a href="prompts/beautiful-documentation-design.html" class="nav-item" data-tooltip="🎨 Beautiful Documentation Design Guide."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Beautiful Documentation Design</a>
|
|
326
|
-
<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>
|
|
327
|
-
<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 "sasha-publish", including all package references,..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Project Rename Strategy Sasha Publish</a></div></div>
|
|
328
|
-
<div class="nav-section" data-level="1">
|
|
329
|
-
<a class="nav-title collapsible" href="#" data-target="nav-test-questions-1" >
|
|
330
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-folder"></i> Test Questions
|
|
331
|
-
</a>
|
|
332
|
-
<div class="nav-content collapsed" id="nav-test-questions-1">
|
|
333
|
-
<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>
|
|
334
|
-
<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>
|
|
335
|
-
<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>
|
|
336
|
-
</nav>
|
|
337
|
-
<div class="resize-handle"></div>
|
|
338
|
-
</aside>
|
|
339
|
-
|
|
340
|
-
<!-- Content Area -->
|
|
341
|
-
<main class="content">
|
|
342
|
-
<div class="content-inner">
|
|
343
|
-
<h1>Phosphor Icons Integration Guide</h1>
|
|
344
|
-
<h2>Overview</h2>
|
|
345
|
-
<p>@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML. This provides professional, consistent icon rendering across all platforms while keeping your markdown files readable with familiar emojis.</p>
|
|
346
|
-
<h2>How It Works</h2>
|
|
347
|
-
<h3>Automatic Conversion</h3>
|
|
348
|
-
<p>When you write emojis in your markdown:</p>
|
|
349
|
-
<pre><code class="language-markdown">✅ Task completed
|
|
350
|
-
❌ Issue found
|
|
351
|
-
🚀 Launching feature
|
|
352
|
-
</code></pre>
|
|
353
|
-
<p>They are automatically converted to Phosphor icons in HTML:</p>
|
|
354
|
-
<ul>
|
|
355
|
-
<li><i style="font-size: 1.2em" class="ph ph-check-circle" aria-label="checked"></i> → Check circle icon</li>
|
|
356
|
-
<li><i style="font-size: 1.2em" class="ph ph-x-circle" aria-label="error"></i> → X circle icon </li>
|
|
357
|
-
<li><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i> → Rocket launch icon</li>
|
|
358
|
-
</ul>
|
|
359
|
-
<h3>Benefits</h3>
|
|
360
|
-
<ul>
|
|
361
|
-
<li><strong>Professional appearance</strong> - Consistent icon style across your documentation</li>
|
|
362
|
-
<li><strong>Better performance</strong> - Icons load as web fonts, not Unicode characters</li>
|
|
363
|
-
<li><strong>Cross-platform consistency</strong> - Same appearance on all devices</li>
|
|
364
|
-
<li><strong>Accessibility</strong> - All icons include proper aria-labels</li>
|
|
365
|
-
<li><strong>No source changes needed</strong> - Keep using emojis in your markdown</li>
|
|
366
|
-
</ul>
|
|
367
|
-
<h2>Configuration</h2>
|
|
368
|
-
<p>Enable Phosphor Icons in your <code>doc-builder.config.js</code>:</p>
|
|
369
|
-
<pre><code class="language-javascript">module.exports = {
|
|
370
|
-
features: {
|
|
371
|
-
phosphorIcons: true, // Enable/disable icon conversion
|
|
372
|
-
phosphorWeight: 'regular', // Icon style: thin, light, regular, bold, fill, duotone
|
|
373
|
-
phosphorSize: '1.2em' // Icon size relative to text
|
|
374
|
-
}
|
|
375
|
-
};
|
|
376
|
-
</code></pre>
|
|
377
|
-
<h3>Icon Weights</h3>
|
|
378
|
-
<p>Phosphor offers different visual weights:</p>
|
|
379
|
-
<ul>
|
|
380
|
-
<li><strong>thin</strong> - Delicate, minimal style</li>
|
|
381
|
-
<li><strong>light</strong> - Subtle, refined appearance</li>
|
|
382
|
-
<li><strong>regular</strong> - Balanced, default weight (recommended)</li>
|
|
383
|
-
<li><strong>bold</strong> - Strong, prominent style</li>
|
|
384
|
-
<li><strong>fill</strong> - Solid filled icons</li>
|
|
385
|
-
<li><strong>duotone</strong> - Two-tone style with accent color</li>
|
|
386
|
-
</ul>
|
|
387
|
-
<h2>Supported Emoji Mappings</h2>
|
|
388
|
-
<h3>Status & Validation</h3>
|
|
389
|
-
<table>
|
|
390
|
-
<thead>
|
|
391
|
-
<tr>
|
|
392
|
-
<th>Emoji</th>
|
|
393
|
-
<th>Icon</th>
|
|
394
|
-
<th>Description</th>
|
|
395
|
-
</tr>
|
|
396
|
-
</thead>
|
|
397
|
-
<tbody><tr>
|
|
398
|
-
<td><i style="font-size: 1.2em" class="ph ph-check-circle" aria-label="checked"></i></td>
|
|
399
|
-
<td>Check circle</td>
|
|
400
|
-
<td>Success, completed, verified</td>
|
|
401
|
-
</tr>
|
|
402
|
-
<tr>
|
|
403
|
-
<td><i style="font-size: 1.2em" class="ph ph-x-circle" aria-label="error"></i></td>
|
|
404
|
-
<td>X circle</td>
|
|
405
|
-
<td>Error, failed, incorrect</td>
|
|
406
|
-
</tr>
|
|
407
|
-
<tr>
|
|
408
|
-
<td><i style="font-size: 1.2em" class="ph ph-question" aria-label="question"></i></td>
|
|
409
|
-
<td>Question mark</td>
|
|
410
|
-
<td>Unknown, uncertain</td>
|
|
411
|
-
</tr>
|
|
412
|
-
<tr>
|
|
413
|
-
<td><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i></td>
|
|
414
|
-
<td>Warning circle</td>
|
|
415
|
-
<td>Caution, important note</td>
|
|
416
|
-
</tr>
|
|
417
|
-
<tr>
|
|
418
|
-
<td><i style="font-size: 1.2em" class="ph ph-prohibit-inset" aria-label="not allowed"></i></td>
|
|
419
|
-
<td>Prohibit</td>
|
|
420
|
-
<td>Not allowed, forbidden</td>
|
|
421
|
-
</tr>
|
|
422
|
-
</tbody></table>
|
|
423
|
-
<h3>Development & Tech</h3>
|
|
424
|
-
<table>
|
|
425
|
-
<thead>
|
|
426
|
-
<tr>
|
|
427
|
-
<th>Emoji</th>
|
|
428
|
-
<th>Icon</th>
|
|
429
|
-
<th>Description</th>
|
|
430
|
-
</tr>
|
|
431
|
-
</thead>
|
|
432
|
-
<tbody><tr>
|
|
433
|
-
<td><i style="font-size: 1.2em" class="ph ph-laptop" aria-label="laptop"></i></td>
|
|
434
|
-
<td>Laptop</td>
|
|
435
|
-
<td>Development, coding</td>
|
|
436
|
-
</tr>
|
|
437
|
-
<tr>
|
|
438
|
-
<td><i style="font-size: 1.2em" class="ph ph-wrench" aria-label="settings"></i></td>
|
|
439
|
-
<td>Wrench</td>
|
|
440
|
-
<td>Configuration, settings</td>
|
|
441
|
-
</tr>
|
|
442
|
-
<tr>
|
|
443
|
-
<td><i style="font-size: 1.2em" class="ph ph-bug" aria-label="bug"></i></td>
|
|
444
|
-
<td>Bug</td>
|
|
445
|
-
<td>Issues, debugging</td>
|
|
446
|
-
</tr>
|
|
447
|
-
<tr>
|
|
448
|
-
<td><i style="font-size: 1.2em" class="ph ph-rocket-launch" aria-label="launch"></i></td>
|
|
449
|
-
<td>Rocket</td>
|
|
450
|
-
<td>Launch, deploy, release</td>
|
|
451
|
-
</tr>
|
|
452
|
-
<tr>
|
|
453
|
-
<td><i style="font-size: 1.2em" class="ph ph-lightning" aria-label="fast"></i></td>
|
|
454
|
-
<td>Lightning</td>
|
|
455
|
-
<td>Performance, speed</td>
|
|
456
|
-
</tr>
|
|
457
|
-
</tbody></table>
|
|
458
|
-
<h3>Documents & Content</h3>
|
|
459
|
-
<table>
|
|
460
|
-
<thead>
|
|
461
|
-
<tr>
|
|
462
|
-
<th>Emoji</th>
|
|
463
|
-
<th>Icon</th>
|
|
464
|
-
<th>Description</th>
|
|
465
|
-
</tr>
|
|
466
|
-
</thead>
|
|
467
|
-
<tbody><tr>
|
|
468
|
-
<td><i style="font-size: 1.2em" class="ph ph-note-pencil" aria-label="edit"></i></td>
|
|
469
|
-
<td>Note pencil</td>
|
|
470
|
-
<td>Edit, write</td>
|
|
471
|
-
</tr>
|
|
472
|
-
<tr>
|
|
473
|
-
<td><i style="font-size: 1.2em" class="ph ph-books" aria-label="documentation"></i></td>
|
|
474
|
-
<td>Books</td>
|
|
475
|
-
<td>Documentation, guides</td>
|
|
476
|
-
</tr>
|
|
477
|
-
<tr>
|
|
478
|
-
<td><i style="font-size: 1.2em" class="ph ph-folder" aria-label="folder"></i></td>
|
|
479
|
-
<td>Folder</td>
|
|
480
|
-
<td>Directory, category</td>
|
|
481
|
-
</tr>
|
|
482
|
-
<tr>
|
|
483
|
-
<td><i style="font-size: 1.2em" class="ph ph-link" aria-label="link"></i></td>
|
|
484
|
-
<td>Link</td>
|
|
485
|
-
<td>URL, connection</td>
|
|
486
|
-
</tr>
|
|
487
|
-
</tbody></table>
|
|
488
|
-
<h3>Communication</h3>
|
|
489
|
-
<table>
|
|
490
|
-
<thead>
|
|
491
|
-
<tr>
|
|
492
|
-
<th>Emoji</th>
|
|
493
|
-
<th>Icon</th>
|
|
494
|
-
<th>Description</th>
|
|
495
|
-
</tr>
|
|
496
|
-
</thead>
|
|
497
|
-
<tbody><tr>
|
|
498
|
-
<td><i style="font-size: 1.2em" class="ph ph-chat-circle" aria-label="chat"></i></td>
|
|
499
|
-
<td>Chat circle</td>
|
|
500
|
-
<td>Comments, discussion</td>
|
|
501
|
-
</tr>
|
|
502
|
-
<tr>
|
|
503
|
-
<td><i style="font-size: 1.2em" class="ph ph-envelope" aria-label="email"></i></td>
|
|
504
|
-
<td>Envelope</td>
|
|
505
|
-
<td>Email, message</td>
|
|
506
|
-
</tr>
|
|
507
|
-
<tr>
|
|
508
|
-
<td><i style="font-size: 1.2em" class="ph ph-bell" aria-label="notification"></i></td>
|
|
509
|
-
<td>Bell</td>
|
|
510
|
-
<td>Notification, alert</td>
|
|
511
|
-
</tr>
|
|
512
|
-
</tbody></table>
|
|
513
|
-
<h3>Complete Mapping</h3>
|
|
514
|
-
<p>The system supports 200+ emoji-to-icon mappings covering:</p>
|
|
515
|
-
<ul>
|
|
516
|
-
<li>Status indicators</li>
|
|
517
|
-
<li>Development tools</li>
|
|
518
|
-
<li>File types</li>
|
|
519
|
-
<li>Actions</li>
|
|
520
|
-
<li>Nature elements</li>
|
|
521
|
-
<li>People & activities</li>
|
|
522
|
-
<li>Objects & symbols</li>
|
|
523
|
-
</ul>
|
|
524
|
-
<h2>Usage Examples</h2>
|
|
525
|
-
<h3>In Markdown Headers</h3>
|
|
526
|
-
<pre><code class="language-markdown">## 🚀 Getting Started
|
|
527
|
-
## 🔧 Configuration
|
|
528
|
-
## 📚 API Reference
|
|
529
|
-
## ❌ Common Errors
|
|
530
|
-
</code></pre>
|
|
531
|
-
<h3>In Lists</h3>
|
|
532
|
-
<pre><code class="language-markdown">- ✅ Feature implemented
|
|
533
|
-
- 🚧 Work in progress
|
|
534
|
-
- ❌ Deprecated
|
|
535
|
-
- 💡 Pro tip
|
|
536
|
-
</code></pre>
|
|
537
|
-
<h3>In Tables</h3>
|
|
538
|
-
<pre><code class="language-markdown">| Status | Feature | Notes |
|
|
539
|
-
|--------|---------|-------|
|
|
540
|
-
| ✅ | Search | Ready |
|
|
541
|
-
| 🚧 | Auth | In progress |
|
|
542
|
-
| ❌ | Legacy API | Deprecated |
|
|
543
|
-
</code></pre>
|
|
544
|
-
<h2>Customization</h2>
|
|
545
|
-
<h3>Custom Icon Sizes</h3>
|
|
546
|
-
<p>Override icon size for specific use cases:</p>
|
|
547
|
-
<pre><code class="language-css">/* In your custom CSS */
|
|
548
|
-
.content h1 .ph {
|
|
549
|
-
font-size: 1.5em;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
.content li .ph {
|
|
553
|
-
font-size: 1.1em;
|
|
554
|
-
}
|
|
555
|
-
</code></pre>
|
|
556
|
-
<h3>Custom Icon Colors</h3>
|
|
557
|
-
<p>Icons inherit text color by default, but can be styled:</p>
|
|
558
|
-
<pre><code class="language-css">.ph-check-circle {
|
|
559
|
-
color: #10b981; /* Green for success */
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.ph-x-circle {
|
|
563
|
-
color: #ef4444; /* Red for errors */
|
|
564
|
-
}
|
|
565
|
-
</code></pre>
|
|
566
|
-
<h2>Performance Considerations</h2>
|
|
567
|
-
<ul>
|
|
568
|
-
<li>Icons are loaded via CDN with long cache headers</li>
|
|
569
|
-
<li>Only the selected weight (e.g., regular) is loaded</li>
|
|
570
|
-
<li>Web font format ensures fast rendering</li>
|
|
571
|
-
<li>Approximately 300KB for a full icon set</li>
|
|
572
|
-
</ul>
|
|
573
|
-
<h2>Accessibility</h2>
|
|
574
|
-
<p>All converted icons include:</p>
|
|
575
|
-
<ul>
|
|
576
|
-
<li>Proper <code>aria-label</code> attributes</li>
|
|
577
|
-
<li>Semantic HTML (<code><i></code> tags)</li>
|
|
578
|
-
<li>Screen reader friendly descriptions</li>
|
|
579
|
-
<li>Keyboard navigation support</li>
|
|
580
|
-
</ul>
|
|
581
|
-
<h2>Troubleshooting</h2>
|
|
582
|
-
<h3>Icons Not Showing</h3>
|
|
583
|
-
<ol>
|
|
584
|
-
<li>Check if <code>phosphorIcons: true</code> in config</li>
|
|
585
|
-
<li>Verify internet connection (CDN access)</li>
|
|
586
|
-
<li>Check browser console for errors</li>
|
|
587
|
-
<li>Try clearing browser cache</li>
|
|
588
|
-
</ol>
|
|
589
|
-
<h3>Wrong Icon Weight</h3>
|
|
590
|
-
<p>Update config and rebuild:</p>
|
|
591
|
-
<pre><code class="language-javascript">features: {
|
|
592
|
-
phosphorWeight: 'bold' // Change to desired weight
|
|
593
|
-
}
|
|
594
|
-
</code></pre>
|
|
595
|
-
<h3>Emoji Not Converting</h3>
|
|
596
|
-
<ul>
|
|
597
|
-
<li>Ensure emoji is in the supported mapping list</li>
|
|
598
|
-
<li>Some complex emojis may not have icon equivalents</li>
|
|
599
|
-
<li>File an issue for missing emoji mappings</li>
|
|
600
|
-
</ul>
|
|
601
|
-
<h2>Best Practices</h2>
|
|
602
|
-
<ol>
|
|
603
|
-
<li><strong>Use semantic emojis</strong> - Choose emojis that match their purpose</li>
|
|
604
|
-
<li><strong>Be consistent</strong> - Use the same emoji for the same meaning</li>
|
|
605
|
-
<li><strong>Don't overuse</strong> - Icons should enhance, not clutter</li>
|
|
606
|
-
<li><strong>Test rendering</strong> - Preview how icons look in your docs</li>
|
|
607
|
-
<li><strong>Consider context</strong> - Some emojis work better as icons than others</li>
|
|
608
|
-
</ol>
|
|
609
|
-
<h2>Technical Details</h2>
|
|
610
|
-
<h3>Implementation</h3>
|
|
611
|
-
<ul>
|
|
612
|
-
<li>Post-processes HTML after markdown conversion</li>
|
|
613
|
-
<li>Uses regex pattern matching for efficiency</li>
|
|
614
|
-
<li>Preserves all other HTML intact</li>
|
|
615
|
-
<li>Falls back gracefully if CDN fails</li>
|
|
616
|
-
</ul>
|
|
617
|
-
<h3>Browser Support</h3>
|
|
618
|
-
<p>Phosphor Icons work in all modern browsers:</p>
|
|
619
|
-
<ul>
|
|
620
|
-
<li>Chrome/Edge 88+</li>
|
|
621
|
-
<li>Firefox 78+</li>
|
|
622
|
-
<li>Safari 14+</li>
|
|
623
|
-
<li>Mobile browsers</li>
|
|
624
|
-
</ul>
|
|
625
|
-
<h2>Future Enhancements</h2>
|
|
626
|
-
<p>Planned improvements:</p>
|
|
627
|
-
<ul>
|
|
628
|
-
<li>Custom emoji-to-icon mappings</li>
|
|
629
|
-
<li>Multiple icon libraries support</li>
|
|
630
|
-
<li>Icon search/picker tool</li>
|
|
631
|
-
<li>Animation support</li>
|
|
632
|
-
<li>SVG icon option</li>
|
|
633
|
-
</ul>
|
|
634
|
-
<h2>Resources</h2>
|
|
635
|
-
<ul>
|
|
636
|
-
<li><a href="https://phosphoricons.com/">Phosphor Icons</a> - Browse all available icons</li>
|
|
637
|
-
<li><a href="https://phosphoricons.com/?weight=regular">Icon Weights Demo</a> - Compare different weights</li>
|
|
638
|
-
<li><a href="https://github.com/phosphor-icons/web">GitHub Repository</a> - Source code and issues</li>
|
|
639
|
-
</ul>
|
|
640
|
-
<hr>
|
|
641
|
-
<p><em>This feature enhances the visual consistency of your documentation while maintaining the simplicity of writing with emojis.</em></p>
|
|
642
|
-
|
|
643
|
-
</div>
|
|
644
|
-
</main>
|
|
645
|
-
</div>
|
|
646
|
-
|
|
647
|
-
<!-- Scripts -->
|
|
648
|
-
<script>
|
|
649
|
-
// Pass configuration to frontend
|
|
650
|
-
window.docBuilderConfig = {
|
|
651
|
-
features: {
|
|
652
|
-
showPdfDownload: true,
|
|
653
|
-
menuDefaultOpen: false,
|
|
654
|
-
mermaidEnhanced: true
|
|
655
|
-
}
|
|
656
|
-
};
|
|
657
|
-
</script>
|
|
658
|
-
<script src="../js/main.js"></script>
|
|
659
|
-
|
|
660
|
-
</body>
|
|
661
|
-
</html>
|