@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.
- 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/doc-builder.config.js.backup.1755034809236 +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 -1754
- 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 -609
- package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
- package/html-static/about-doc-builder.html +0 -578
- package/html-static/css/notion-style.css +0 -2502
- package/html-static/documentation-index.html +0 -558
- package/html-static/guides/authentication-default-change.html +0 -457
- package/html-static/guides/authentication-guide.html +0 -596
- package/html-static/guides/claude-workflow-guide.html +0 -1161
- package/html-static/guides/configuration-guide.html +0 -559
- package/html-static/guides/documentation-standards.html +0 -781
- package/html-static/guides/html-embedding-guide.html +0 -548
- package/html-static/guides/image-modal-guide.html +0 -602
- package/html-static/guides/phosphor-icons-guide.html +0 -671
- package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -642
- package/html-static/guides/private-directory-authentication.html +0 -628
- package/html-static/guides/public-site-deployment.html +0 -518
- package/html-static/guides/search-engine-verification-guide.html +0 -629
- package/html-static/guides/seo-guide.html +0 -748
- package/html-static/guides/seo-optimization-guide.html +0 -974
- package/html-static/guides/supabase-authentication-complete-guide.html +0 -953
- package/html-static/guides/troubleshooting-guide.html +0 -720
- package/html-static/guides/windows-setup-guide.html +0 -946
- package/html-static/image-modal-test.html +0 -405
- package/html-static/index.html +0 -609
- package/html-static/js/main.js +0 -1754
- package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html-static/prompts/beautiful-documentation-design.html +0 -871
- package/html-static/prompts/markdown-document-standards.html +0 -509
- package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -617
- 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 -381
- package/html-static/test-questions/step-1%3A%20getting-started.html +0 -376
- package/html-static/test-questions/what-is-the-purpose.html +0 -380
- package/html-static/vercel-cli-setup-guide.html +0 -582
- package/html-static/vercel-first-time-setup-guide.html +0 -541
- 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,781 +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="This document defines the documentation standards and conventions for the @knowcode/doc-builder project. All documentation created for or by this project...">
|
|
7
|
-
<title>Document Standards for @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, document, use">
|
|
12
|
-
<meta name="robots" content="index, follow">
|
|
13
|
-
<link rel="canonical" href="https://doc-builder-delta.vercel.app/guides/documentation-standards.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/documentation-standards.html">
|
|
18
|
-
<meta property="og:title" content="Document Standards for @knowcode/doc-builder">
|
|
19
|
-
<meta property="og:description" content="This document defines the documentation standards and conventions for the @knowcode/doc-builder project. All documentation created for or by this project...">
|
|
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="Document Standards for @knowcode/doc-builder">
|
|
29
|
-
<meta name="twitter:description" content="This document defines the documentation standards and conventions for the @knowcode/doc-builder project. All documentation created for or by this project...">
|
|
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": "Document Standards for @knowcode/doc-builder",
|
|
223
|
-
"description": "This document defines the documentation standards and conventions for the @knowcode/doc-builder project. All documentation created for or by this project...",
|
|
224
|
-
"author": {
|
|
225
|
-
"@type": "Person",
|
|
226
|
-
"name": "Lindsay Smith"
|
|
227
|
-
},
|
|
228
|
-
"publisher": {
|
|
229
|
-
"@type": "Organization",
|
|
230
|
-
"name": "Knowcode Ltd",
|
|
231
|
-
"url": "https://knowcode.tech"
|
|
232
|
-
},
|
|
233
|
-
"datePublished": "2025-08-12T21:40:09.509Z",
|
|
234
|
-
"dateModified": "2025-08-12T21:40:09.509Z",
|
|
235
|
-
"mainEntityOfPage": {
|
|
236
|
-
"@type": "WebPage",
|
|
237
|
-
"@id": "https://doc-builder-delta.vercel.app/guides/documentation-standards.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": "Documentation Standards",
|
|
258
|
-
"item": "https://doc-builder-delta.vercel.app/guides/documentation-standards.html"
|
|
259
|
-
}
|
|
260
|
-
]
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
</script>
|
|
264
|
-
</head>
|
|
265
|
-
<body>
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
<!-- Breadcrumbs -->
|
|
271
|
-
<nav class="breadcrumbs breadcrumbs-static" id="breadcrumbs" data-build-date="Aug 12, 2025, 09:40 PM UTC" data-doc-builder-version="1.9.29">
|
|
272
|
-
|
|
273
|
-
<!-- Pre-rendered breadcrumb content for static builds -->
|
|
274
|
-
<div class="breadcrumbs-content breadcrumbs-homepage">
|
|
275
|
-
<div class="breadcrumbs-right">
|
|
276
|
-
<span class="breadcrumb-date" title="Built with doc-builder v1.9.29">Last updated: Aug 12, 2025, 09:40 PM UTC</span>
|
|
277
|
-
<button class="breadcrumb-pdf-btn" onclick="if(typeof exportToPDF !== 'undefined') exportToPDF(); else window.print();" title="Export to PDF" aria-label="Export to PDF">
|
|
278
|
-
<i class="fas fa-file-pdf"></i>
|
|
279
|
-
</button>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
|
|
283
|
-
</nav>
|
|
284
|
-
|
|
285
|
-
<!-- Main Content -->
|
|
286
|
-
<div class="main-wrapper">
|
|
287
|
-
<!-- Sidebar -->
|
|
288
|
-
<aside class="sidebar">
|
|
289
|
-
<div class="sidebar-header">
|
|
290
|
-
<div class="filter-box">
|
|
291
|
-
<input type="text" placeholder="Search menu..." class="filter-input" id="nav-filter">
|
|
292
|
-
<i class="fas fa-search filter-icon"></i>
|
|
293
|
-
</div>
|
|
294
|
-
</div>
|
|
295
|
-
<nav class="navigation">
|
|
296
|
-
|
|
297
|
-
<div class="nav-section" data-level="0">
|
|
298
|
-
<a class="nav-title toggle-all-nav expanded" href="#" id="nav-toggle-all" title="Collapse/Expand All">
|
|
299
|
-
<i class="ph ph-caret-down" id="toggle-all-icon"></i> Documentation
|
|
300
|
-
</a>
|
|
301
|
-
<div class="nav-content">
|
|
302
|
-
<a href="README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="ph ph-file-text"></i> Overview</a>
|
|
303
|
-
<a href="about-doc-builder.html" class="nav-item" data-tooltip="About @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #2563eb;"></i> About Doc Builder</a>
|
|
304
|
-
<a href="documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Index</a>
|
|
305
|
-
<a href="image-modal-test.html" class="nav-item" data-tooltip="This document tests the new image modal functionality in doc-builder."><i class="ph ph-file-text"></i> Image Modal Test</a>
|
|
306
|
-
<a href="vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Vercel Cli Setup Guide</a>
|
|
307
|
-
<a href="vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Vercel First Time Setup Guide</a></div></div>
|
|
308
|
-
<div class="nav-section" data-level="1">
|
|
309
|
-
<a class="nav-title collapsible expanded" href="#" data-target="nav-guides-1" >
|
|
310
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-book"></i> Guides
|
|
311
|
-
</a>
|
|
312
|
-
<div class="nav-content" id="nav-guides-1">
|
|
313
|
-
<a href="guides/authentication-default-change.html" class="nav-item" data-tooltip="Starting from version 1.7.4, @knowcode/doc-builder now defaults to no authentication for all documentation sites."><i class="ph ph-file-text"></i> Authentication Default Change</a>
|
|
314
|
-
<a href="guides/authentication-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder supports enterprise-grade authentication through Supabase - a secure, scalable authentication platform."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Authentication Guide</a>
|
|
315
|
-
<a href="guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Claude Workflow Guide</a>
|
|
316
|
-
<a href="guides/configuration-guide.html" class="nav-item" data-tooltip="This guide explains how @knowcode/doc-builder handles configuration files and settings."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Configuration Guide</a>
|
|
317
|
-
<a href="guides/documentation-standards.html" class="nav-item active" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Documentation Standards</a>
|
|
318
|
-
<a href="guides/html-embedding-guide.html" class="nav-item" data-tooltip="Starting from version 1.9.2, doc-builder treats HTML files ( and ) as attachments that are automatically copied to your output directory during the..."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Html Embedding Guide</a>
|
|
319
|
-
<a href="guides/image-modal-guide.html" class="nav-item" data-tooltip="When users click on any image in your generated documentation, it opens in a professional modal overlay with: Full-screen viewing experience Smooth..."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Image Modal Guide</a>
|
|
320
|
-
<a href="guides/phosphor-icons-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Phosphor Icons Guide</a>
|
|
321
|
-
<a href="guides/private-directory-authentication.html" class="nav-item" data-tooltip="The @knowcode/doc-builder provides flexible authentication options to protect your documentation."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Private Directory Authentication</a>
|
|
322
|
-
<a href="guides/private-directory-authentication-troubleshooting.html" class="nav-item" data-tooltip="Private Directory Authentication Troubleshooting."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Private Directory Authentication Troubleshooting</a>
|
|
323
|
-
<a href="guides/public-site-deployment.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now supports deploying public documentation sites without authentication."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Public Site Deployment</a>
|
|
324
|
-
<a href="guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Search Engine Verification Guide</a>
|
|
325
|
-
<a href="guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Seo Guide</a>
|
|
326
|
-
<a href="guides/seo-optimization-guide.html" class="nav-item" data-tooltip="Comprehensive guide to optimizing documentation for search engines. Learn SEO best practices, use built-in features, and improve your rankings."><i class="ph ph-check-circle" style="color: #2563eb;"></i> SEO Optimization Guide for @knowcode/doc-builder</a>
|
|
327
|
-
<a href="guides/supabase-authentication-complete-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes built-in Supabase authentication that provides enterprise-grade security with zero configuration."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Supabase Authentication Complete Guide</a>
|
|
328
|
-
<a href="guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Troubleshooting Guide</a>
|
|
329
|
-
<a href="guides/windows-setup-guide.html" class="nav-item" data-tooltip="This guide helps Windows users set up the complete AI-powered documentation workflow using Claude Code, @knowcode/doc-builder, and Vercel."><i class="ph ph-check-circle" style="color: #2563eb;"></i> Windows Setup Guide</a></div></div>
|
|
330
|
-
<div class="nav-section" data-level="1">
|
|
331
|
-
<a class="nav-title collapsible" href="#" data-target="nav-prompts-1" >
|
|
332
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-chat-circle-dots"></i> Prompts
|
|
333
|
-
</a>
|
|
334
|
-
<div class="nav-content collapsed" id="nav-prompts-1">
|
|
335
|
-
<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>
|
|
336
|
-
<a href="prompts/markdown-document-standards.html" class="nav-item" data-tooltip="Detailed introduction to the topic..."><i class="ph ph-pencil-simple" style="color: #d97706;"></i> Markdown Document Standards</a>
|
|
337
|
-
<a href="prompts/project-rename-strategy-sasha-publish.html" class="nav-item" data-tooltip="This document outlines the comprehensive strategy for renaming the @knowcode/doc-builder project to "sasha-publish", including all package references,..."><i class="ph ph-x-circle" style="color: #dc2626;"></i> Project Rename Strategy Sasha Publish</a></div></div>
|
|
338
|
-
<div class="nav-section" data-level="1">
|
|
339
|
-
<a class="nav-title collapsible" href="#" data-target="nav-test-questions-1" >
|
|
340
|
-
<i class="ph ph-caret-right collapse-icon"></i><i class="ph ph-folder"></i> Test Questions
|
|
341
|
-
</a>
|
|
342
|
-
<div class="nav-content collapsed" id="nav-test-questions-1">
|
|
343
|
-
<a href="test-questions/how-does-it-work%3F.html" class="nav-item" data-tooltip="This is a test file to verify that question marks work properly in filenames."><i class="ph ph-file-text"></i> How Does It Work?</a>
|
|
344
|
-
<a href="test-questions/step-1%3A%20getting-started.html" class="nav-item" data-tooltip="Step 1: Getting Started."><i class="ph ph-file-text"></i> Step 1: Getting Started</a>
|
|
345
|
-
<a href="test-questions/what-is-the-purpose.html" class="nav-item" data-tooltip="Understanding the purpose of our documentation system"><i class="ph ph-file-text"></i> What Is The Purpose?</a></div></div>
|
|
346
|
-
</nav>
|
|
347
|
-
<div class="resize-handle"></div>
|
|
348
|
-
</aside>
|
|
349
|
-
|
|
350
|
-
<!-- Content Area -->
|
|
351
|
-
<main class="content">
|
|
352
|
-
<div class="content-inner">
|
|
353
|
-
<h1>Document Standards for @knowcode/doc-builder</h1>
|
|
354
|
-
<h2>Overview</h2>
|
|
355
|
-
<p>This document defines the documentation standards and conventions for the @knowcode/doc-builder project. All documentation created for or by this project should follow these guidelines to ensure consistency, clarity, and maintainability.</p>
|
|
356
|
-
<h2>Document Structure Standards</h2>
|
|
357
|
-
<h3>Document Header Format</h3>
|
|
358
|
-
<p>Every document MUST include the following metadata at the top:</p>
|
|
359
|
-
<pre><code class="language-markdown"># Document Title
|
|
360
|
-
|
|
361
|
-
**Generated**: YYYY-MM-DD HH:MM UTC
|
|
362
|
-
**Status**: Draft/In Progress/Complete
|
|
363
|
-
**Verified**: ✅ (for verified information) / ❓ (for speculated information)
|
|
364
|
-
|
|
365
|
-
## Overview
|
|
366
|
-
|
|
367
|
-
Brief description of the document's contents and purpose.
|
|
368
|
-
</code></pre>
|
|
369
|
-
<h3>Section Organization</h3>
|
|
370
|
-
<ol>
|
|
371
|
-
<li><strong>Title</strong> (H1) - Single, descriptive title</li>
|
|
372
|
-
<li><strong>Metadata</strong> - Generation date, status, verification</li>
|
|
373
|
-
<li><strong>Overview</strong> - Brief summary of document purpose</li>
|
|
374
|
-
<li><strong>Main Content</strong> - Organized with clear headings</li>
|
|
375
|
-
<li><strong>Document History</strong> - Track significant changes</li>
|
|
376
|
-
</ol>
|
|
377
|
-
<h2>Naming Conventions</h2>
|
|
378
|
-
<h3>Document File Names</h3>
|
|
379
|
-
<p>Use lowercase with hyphens, following these patterns:</p>
|
|
380
|
-
<ul>
|
|
381
|
-
<li><strong>Feature Documentation</strong>: <code>feature-{name}-guide.md</code></li>
|
|
382
|
-
<li><strong>API Documentation</strong>: <code>api-{endpoint}-reference.md</code></li>
|
|
383
|
-
<li><strong>Technical Guides</strong>: <code>{component}-{topic}-guide.md</code></li>
|
|
384
|
-
<li><strong>Architecture Documents</strong>: <code>architecture-{system}-overview.md</code></li>
|
|
385
|
-
<li><strong>Implementation Plans</strong>: <code>plan-{feature}-implementation.md</code></li>
|
|
386
|
-
<li><strong>Analysis Documents</strong>: <code>analysis-{topic}-{specifics}.md</code></li>
|
|
387
|
-
<li><strong>Troubleshooting Guides</strong>: <code>troubleshoot-{issue}-guide.md</code></li>
|
|
388
|
-
<li><strong>Change Logs</strong>: <code>CHANGELOG.md</code> (always uppercase)</li>
|
|
389
|
-
</ul>
|
|
390
|
-
<h3>Special Files</h3>
|
|
391
|
-
<ul>
|
|
392
|
-
<li><code>README.md</code> - Project overview and getting started</li>
|
|
393
|
-
<li><code>CHANGELOG.md</code> - Version history following Keep a Changelog format</li>
|
|
394
|
-
<li><code>CLAUDE.md</code> - AI assistant guidance (project-specific)</li>
|
|
395
|
-
<li><code>DOCUMENT-STANDARDS.md</code> - This file</li>
|
|
396
|
-
</ul>
|
|
397
|
-
<h2>Content Standards</h2>
|
|
398
|
-
<h3>1. Mermaid Diagrams</h3>
|
|
399
|
-
<p>Include diagrams wherever they help explain complex concepts:</p>
|
|
400
|
-
<pre><code class="language-markdown"><div class="mermaid-wrapper">
|
|
401
|
-
<div class="mermaid">graph TD
|
|
402
|
-
A[User Input] --> B{Valid?}
|
|
403
|
-
B -->|Yes| C[Process]
|
|
404
|
-
B -->|No| D[Error]
|
|
405
|
-
C --> E[Output]
|
|
406
|
-
|
|
407
|
-
style A fill:#f9f,stroke:#333,stroke-width:2px
|
|
408
|
-
style E fill:#9f9,stroke:#333,stroke-width:2px</div>
|
|
409
|
-
</div>
|
|
410
|
-
</code></pre>
|
|
411
|
-
<p>Guidelines:</p>
|
|
412
|
-
<ul>
|
|
413
|
-
<li>Use consistent node naming</li>
|
|
414
|
-
<li>Add clear labels and descriptions</li>
|
|
415
|
-
<li>Apply styling for better visual hierarchy</li>
|
|
416
|
-
<li>Include diagram titles where appropriate</li>
|
|
417
|
-
</ul>
|
|
418
|
-
<h3>2. Information Verification</h3>
|
|
419
|
-
<p>Mark all information with verification status:</p>
|
|
420
|
-
<ul>
|
|
421
|
-
<li><i style="font-size: 1.2em" class="ph ph-check-circle" aria-label="checked"></i> <strong>Verified</strong>: Information confirmed through testing or official sources</li>
|
|
422
|
-
<li><i style="font-size: 1.2em" class="ph ph-question" aria-label="question"></i> <strong>Speculated</strong>: Assumptions or unconfirmed information</li>
|
|
423
|
-
<li><i style="font-size: 1.2em" class="ph ph-warning-circle" aria-label="warning"></i> <strong>Warning</strong>: Important caveats or potential issues</li>
|
|
424
|
-
<li><i style="font-size: 1.2em" class="ph ph-barricade" aria-label="under construction"></i> <strong>In Progress</strong>: Features or documentation under development</li>
|
|
425
|
-
</ul>
|
|
426
|
-
<p>Example:</p>
|
|
427
|
-
<pre><code class="language-markdown">### Feature Status
|
|
428
|
-
- ✅ **Markdown parsing**: Fully implemented and tested
|
|
429
|
-
- ❓ **Performance impact**: Estimated 100ms for 50 files
|
|
430
|
-
- ⚠️ **Large files**: May timeout on files > 10MB
|
|
431
|
-
- 🚧 **Search feature**: Currently in development
|
|
432
|
-
</code></pre>
|
|
433
|
-
<h3>3. Code Examples</h3>
|
|
434
|
-
<p>Always include practical, tested examples:</p>
|
|
435
|
-
<pre><code class="language-javascript">// Good example - with context and error handling
|
|
436
|
-
const { build } = require('@knowcode/doc-builder');
|
|
437
|
-
|
|
438
|
-
const config = {
|
|
439
|
-
siteName: 'My Documentation',
|
|
440
|
-
docsDir: './docs',
|
|
441
|
-
outputDir: './dist'
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
try {
|
|
445
|
-
await build(config);
|
|
446
|
-
console.log('✅ Build successful');
|
|
447
|
-
} catch (error) {
|
|
448
|
-
console.error('❌ Build failed:', error.message);
|
|
449
|
-
}
|
|
450
|
-
</code></pre>
|
|
451
|
-
<p>Guidelines:</p>
|
|
452
|
-
<ul>
|
|
453
|
-
<li>Use syntax highlighting</li>
|
|
454
|
-
<li>Include error handling</li>
|
|
455
|
-
<li>Add helpful comments</li>
|
|
456
|
-
<li>Show both correct and incorrect usage</li>
|
|
457
|
-
<li>Test all examples before documenting</li>
|
|
458
|
-
</ul>
|
|
459
|
-
<h3>4. Command Examples</h3>
|
|
460
|
-
<p>Format commands clearly with descriptions:</p>
|
|
461
|
-
<pre><code class="language-bash"># Install the package
|
|
462
|
-
npm install -D @knowcode/doc-builder
|
|
463
|
-
|
|
464
|
-
# Build documentation
|
|
465
|
-
npx doc-builder build
|
|
466
|
-
|
|
467
|
-
# Start development server
|
|
468
|
-
npx doc-builder dev --port 3000
|
|
469
|
-
|
|
470
|
-
# Deploy to Vercel
|
|
471
|
-
npx doc-builder deploy --prod
|
|
472
|
-
</code></pre>
|
|
473
|
-
<h2>Version Control Standards</h2>
|
|
474
|
-
<h3>Changelog Management</h3>
|
|
475
|
-
<p>ALWAYS maintain <code>CHANGELOG.md</code> for all significant or material changes:</p>
|
|
476
|
-
<pre><code class="language-markdown">## [1.4.12] - 2025-07-21
|
|
477
|
-
|
|
478
|
-
### Fixed
|
|
479
|
-
- Fixed h1 title alignment to extend full width
|
|
480
|
-
- Added negative margins to counteract padding
|
|
481
|
-
|
|
482
|
-
### Background
|
|
483
|
-
- The h1 was appearing offset due to content padding
|
|
484
|
-
- Now extends full width for better hierarchy
|
|
485
|
-
</code></pre>
|
|
486
|
-
<p>Categories:</p>
|
|
487
|
-
<ul>
|
|
488
|
-
<li><strong>Added</strong> - New features</li>
|
|
489
|
-
<li><strong>Changed</strong> - Changes to existing functionality</li>
|
|
490
|
-
<li><strong>Deprecated</strong> - Soon-to-be removed features</li>
|
|
491
|
-
<li><strong>Removed</strong> - Removed features</li>
|
|
492
|
-
<li><strong>Fixed</strong> - Bug fixes</li>
|
|
493
|
-
<li><strong>Security</strong> - Security fixes</li>
|
|
494
|
-
<li><strong>Background</strong> - Context for the changes</li>
|
|
495
|
-
</ul>
|
|
496
|
-
<h3>Commit Messages</h3>
|
|
497
|
-
<p>Follow conventional commits:</p>
|
|
498
|
-
<ul>
|
|
499
|
-
<li><code>feat:</code> New features</li>
|
|
500
|
-
<li><code>fix:</code> Bug fixes</li>
|
|
501
|
-
<li><code>docs:</code> Documentation changes</li>
|
|
502
|
-
<li><code>chore:</code> Maintenance tasks</li>
|
|
503
|
-
<li><code>refactor:</code> Code refactoring</li>
|
|
504
|
-
<li><code>test:</code> Test additions/changes</li>
|
|
505
|
-
</ul>
|
|
506
|
-
<h2>Markdown Best Practices</h2>
|
|
507
|
-
<h3>Headers</h3>
|
|
508
|
-
<pre><code class="language-markdown"># Main Title (H1 - one per document)
|
|
509
|
-
|
|
510
|
-
## Major Section (H2)
|
|
511
|
-
|
|
512
|
-
### Subsection (H3)
|
|
513
|
-
|
|
514
|
-
#### Detail Level (H4)
|
|
515
|
-
</code></pre>
|
|
516
|
-
<ul>
|
|
517
|
-
<li>Use hierarchical structure</li>
|
|
518
|
-
<li>Don't skip levels</li>
|
|
519
|
-
<li>Keep headers concise but descriptive</li>
|
|
520
|
-
</ul>
|
|
521
|
-
<h3>Lists</h3>
|
|
522
|
-
<p>Unordered lists for non-sequential items:</p>
|
|
523
|
-
<pre><code class="language-markdown">- First item
|
|
524
|
-
- Second item
|
|
525
|
-
- Nested item
|
|
526
|
-
- Another nested item
|
|
527
|
-
- Third item
|
|
528
|
-
</code></pre>
|
|
529
|
-
<p>Numbered lists for sequential steps:</p>
|
|
530
|
-
<pre><code class="language-markdown">1. First step
|
|
531
|
-
2. Second step
|
|
532
|
-
3. Third step
|
|
533
|
-
</code></pre>
|
|
534
|
-
<h3>Tables</h3>
|
|
535
|
-
<p>Keep tables readable and well-formatted:</p>
|
|
536
|
-
<pre><code class="language-markdown">| Feature | Status | Version | Notes |
|
|
537
|
-
|---------|--------|---------|-------|
|
|
538
|
-
| Mermaid | ✅ Ready | 1.0.0 | Full support |
|
|
539
|
-
| Search | 🚧 WIP | 1.5.0 | In development |
|
|
540
|
-
| Auth | ✅ Ready | 1.3.0 | Optional feature |
|
|
541
|
-
</code></pre>
|
|
542
|
-
<h3>Links</h3>
|
|
543
|
-
<ul>
|
|
544
|
-
<li>Use descriptive link text: <code>[View deployment guide](./deploy.md)</code></li>
|
|
545
|
-
<li>Avoid: <code>[click here](./deploy.md)</code></li>
|
|
546
|
-
<li>Prefer relative links for internal docs</li>
|
|
547
|
-
<li>Use absolute URLs for external resources</li>
|
|
548
|
-
</ul>
|
|
549
|
-
<h2>Quality Standards</h2>
|
|
550
|
-
<h3>Clarity</h3>
|
|
551
|
-
<ul>
|
|
552
|
-
<li>Write for your target audience</li>
|
|
553
|
-
<li>Define technical terms on first use</li>
|
|
554
|
-
<li>Use simple language where possible</li>
|
|
555
|
-
<li>Include examples for complex concepts</li>
|
|
556
|
-
</ul>
|
|
557
|
-
<h3>Completeness</h3>
|
|
558
|
-
<ul>
|
|
559
|
-
<li>Cover all aspects of the topic</li>
|
|
560
|
-
<li>Include edge cases and limitations</li>
|
|
561
|
-
<li>Document prerequisites</li>
|
|
562
|
-
<li>Provide troubleshooting guidance</li>
|
|
563
|
-
</ul>
|
|
564
|
-
<h3>Accuracy</h3>
|
|
565
|
-
<ul>
|
|
566
|
-
<li>Verify all technical details</li>
|
|
567
|
-
<li>Test code examples</li>
|
|
568
|
-
<li>Update when implementation changes</li>
|
|
569
|
-
<li>Mark speculation clearly</li>
|
|
570
|
-
</ul>
|
|
571
|
-
<h3>Consistency</h3>
|
|
572
|
-
<ul>
|
|
573
|
-
<li>Use same terminology throughout</li>
|
|
574
|
-
<li>Follow naming conventions</li>
|
|
575
|
-
<li>Maintain style consistency</li>
|
|
576
|
-
<li>Cross-reference related documents</li>
|
|
577
|
-
</ul>
|
|
578
|
-
<h2>Document Types</h2>
|
|
579
|
-
<h3>1. Feature Documentation</h3>
|
|
580
|
-
<p>Structure:</p>
|
|
581
|
-
<pre><code class="language-markdown"># Feature Name
|
|
582
|
-
|
|
583
|
-
**Generated**: [date]
|
|
584
|
-
**Status**: Complete
|
|
585
|
-
**Verified**: ✅
|
|
586
|
-
|
|
587
|
-
## Overview
|
|
588
|
-
What the feature does and why it exists
|
|
589
|
-
|
|
590
|
-
## Usage
|
|
591
|
-
How to use the feature with examples
|
|
592
|
-
|
|
593
|
-
## Configuration
|
|
594
|
-
Available options and settings
|
|
595
|
-
|
|
596
|
-
## Examples
|
|
597
|
-
Practical use cases
|
|
598
|
-
|
|
599
|
-
## Troubleshooting
|
|
600
|
-
Common issues and solutions
|
|
601
|
-
</code></pre>
|
|
602
|
-
<h3>2. Technical Guides</h3>
|
|
603
|
-
<p>Structure:</p>
|
|
604
|
-
<pre><code class="language-markdown"># Technical Guide: [Topic]
|
|
605
|
-
|
|
606
|
-
**Generated**: [date]
|
|
607
|
-
**Status**: Complete
|
|
608
|
-
**Verified**: ✅
|
|
609
|
-
|
|
610
|
-
## Overview
|
|
611
|
-
Technical context and goals
|
|
612
|
-
|
|
613
|
-
## Architecture
|
|
614
|
-
System design and components
|
|
615
|
-
|
|
616
|
-
## Implementation
|
|
617
|
-
Step-by-step technical details
|
|
618
|
-
|
|
619
|
-
## Testing
|
|
620
|
-
How to verify functionality
|
|
621
|
-
|
|
622
|
-
## Performance
|
|
623
|
-
Benchmarks and optimization
|
|
624
|
-
</code></pre>
|
|
625
|
-
<h3>3. API Documentation</h3>
|
|
626
|
-
<p>Structure:</p>
|
|
627
|
-
<pre><code class="language-markdown"># API: [Endpoint/Function Name]
|
|
628
|
-
|
|
629
|
-
**Generated**: [date]
|
|
630
|
-
**Status**: Complete
|
|
631
|
-
**Verified**: ✅
|
|
632
|
-
|
|
633
|
-
## Overview
|
|
634
|
-
What the API does
|
|
635
|
-
|
|
636
|
-
## Parameters
|
|
637
|
-
| Name | Type | Required | Description |
|
|
638
|
-
|------|------|----------|-------------|
|
|
639
|
-
|
|
640
|
-
## Response
|
|
641
|
-
Expected response format
|
|
642
|
-
|
|
643
|
-
## Examples
|
|
644
|
-
Request/response examples
|
|
645
|
-
|
|
646
|
-
## Error Handling
|
|
647
|
-
Possible errors and meanings
|
|
648
|
-
</code></pre>
|
|
649
|
-
<h2>File Organization</h2>
|
|
650
|
-
<h3>Directory Structure</h3>
|
|
651
|
-
<pre><code>doc-builder/
|
|
652
|
-
├── README.md # Project overview
|
|
653
|
-
├── CHANGELOG.md # Version history
|
|
654
|
-
├── CLAUDE.md # AI assistant guide
|
|
655
|
-
├── DOCUMENT-STANDARDS.md # This file
|
|
656
|
-
├── docs/ # Additional documentation
|
|
657
|
-
│ ├── guides/ # How-to guides
|
|
658
|
-
│ ├── api/ # API documentation
|
|
659
|
-
│ ├── architecture/ # System design docs
|
|
660
|
-
│ └── troubleshooting/ # Problem-solving guides
|
|
661
|
-
</code></pre>
|
|
662
|
-
<h3>File Management</h3>
|
|
663
|
-
<ul>
|
|
664
|
-
<li>Keep active documentation in appropriate directories</li>
|
|
665
|
-
<li>Archive outdated docs with date suffix: <code>old-guide-2025-01-15.md</code></li>
|
|
666
|
-
<li>Remove unused files after archiving</li>
|
|
667
|
-
<li>Maintain README.md in each directory explaining contents</li>
|
|
668
|
-
</ul>
|
|
669
|
-
<h2>Special Considerations</h2>
|
|
670
|
-
<h3>Security</h3>
|
|
671
|
-
<ul>
|
|
672
|
-
<li>Never include credentials or API keys</li>
|
|
673
|
-
<li>Use placeholders for sensitive data: <code>API_KEY=<your-api-key-here></code></li>
|
|
674
|
-
<li>Document security implications</li>
|
|
675
|
-
<li>Include security warnings where relevant</li>
|
|
676
|
-
</ul>
|
|
677
|
-
<h3>Performance</h3>
|
|
678
|
-
<ul>
|
|
679
|
-
<li>Document performance characteristics</li>
|
|
680
|
-
<li>Include benchmarks where applicable</li>
|
|
681
|
-
<li>Note resource requirements</li>
|
|
682
|
-
<li>Provide optimization tips</li>
|
|
683
|
-
</ul>
|
|
684
|
-
<h3>Accessibility</h3>
|
|
685
|
-
<ul>
|
|
686
|
-
<li>Use clear, simple language</li>
|
|
687
|
-
<li>Provide alt text for images</li>
|
|
688
|
-
<li>Structure documents logically</li>
|
|
689
|
-
<li>Consider screen reader users</li>
|
|
690
|
-
</ul>
|
|
691
|
-
<h2>Document Maintenance</h2>
|
|
692
|
-
<h3>Review Schedule</h3>
|
|
693
|
-
<ul>
|
|
694
|
-
<li>Technical docs: Review with each minor version</li>
|
|
695
|
-
<li>API docs: Review with any API change</li>
|
|
696
|
-
<li>Guides: Review quarterly</li>
|
|
697
|
-
<li>README: Update with significant changes</li>
|
|
698
|
-
</ul>
|
|
699
|
-
<h3>Update Process</h3>
|
|
700
|
-
<ol>
|
|
701
|
-
<li>Check document metadata</li>
|
|
702
|
-
<li>Verify technical accuracy</li>
|
|
703
|
-
<li>Update examples</li>
|
|
704
|
-
<li>Test code snippets</li>
|
|
705
|
-
<li>Update changelog</li>
|
|
706
|
-
<li>Commit with descriptive message</li>
|
|
707
|
-
</ol>
|
|
708
|
-
<h3>Document History</h3>
|
|
709
|
-
<p>Include at the bottom of long-lived documents:</p>
|
|
710
|
-
<pre><code class="language-markdown">## Document History
|
|
711
|
-
|
|
712
|
-
| Date | Version | Author | Changes |
|
|
713
|
-
|------|---------|--------|---------|
|
|
714
|
-
| 2025-07-21 | 1.0 | System | Initial creation |
|
|
715
|
-
| 2025-07-22 | 1.1 | Dev | Added examples |
|
|
716
|
-
</code></pre>
|
|
717
|
-
<h2>Tools and Automation</h2>
|
|
718
|
-
<h3>Building Documentation</h3>
|
|
719
|
-
<p>The doc-builder automatically:</p>
|
|
720
|
-
<ul>
|
|
721
|
-
<li>Generates navigation from folder structure</li>
|
|
722
|
-
<li>Extracts summaries for tooltips</li>
|
|
723
|
-
<li>Renders mermaid diagrams</li>
|
|
724
|
-
<li>Applies syntax highlighting</li>
|
|
725
|
-
<li>Creates responsive layouts</li>
|
|
726
|
-
</ul>
|
|
727
|
-
<h3>Preview Changes</h3>
|
|
728
|
-
<pre><code class="language-bash"># Preview documentation locally
|
|
729
|
-
npx doc-builder dev
|
|
730
|
-
|
|
731
|
-
# Build and check output
|
|
732
|
-
npx doc-builder build
|
|
733
|
-
open html/index.html
|
|
734
|
-
</code></pre>
|
|
735
|
-
<h2>Conclusion</h2>
|
|
736
|
-
<p>Following these standards ensures:</p>
|
|
737
|
-
<ul>
|
|
738
|
-
<li>Consistent, professional documentation</li>
|
|
739
|
-
<li>Easy navigation and discovery</li>
|
|
740
|
-
<li>Clear communication of technical concepts</li>
|
|
741
|
-
<li>Maintainable documentation over time</li>
|
|
742
|
-
</ul>
|
|
743
|
-
<p>Remember: Good documentation is as important as good code. It enables others (including your future self) to understand, use, and maintain the project effectively.</p>
|
|
744
|
-
<hr>
|
|
745
|
-
<h2>Document History</h2>
|
|
746
|
-
<table>
|
|
747
|
-
<thead>
|
|
748
|
-
<tr>
|
|
749
|
-
<th>Date</th>
|
|
750
|
-
<th>Version</th>
|
|
751
|
-
<th>Author</th>
|
|
752
|
-
<th>Changes</th>
|
|
753
|
-
</tr>
|
|
754
|
-
</thead>
|
|
755
|
-
<tbody><tr>
|
|
756
|
-
<td>2025-07-21</td>
|
|
757
|
-
<td>1.0</td>
|
|
758
|
-
<td>System</td>
|
|
759
|
-
<td>Initial creation from project standards</td>
|
|
760
|
-
</tr>
|
|
761
|
-
</tbody></table>
|
|
762
|
-
|
|
763
|
-
</div>
|
|
764
|
-
</main>
|
|
765
|
-
</div>
|
|
766
|
-
|
|
767
|
-
<!-- Scripts -->
|
|
768
|
-
<script>
|
|
769
|
-
// Pass configuration to frontend
|
|
770
|
-
window.docBuilderConfig = {
|
|
771
|
-
features: {
|
|
772
|
-
showPdfDownload: true,
|
|
773
|
-
menuDefaultOpen: false,
|
|
774
|
-
mermaidEnhanced: true
|
|
775
|
-
}
|
|
776
|
-
};
|
|
777
|
-
</script>
|
|
778
|
-
<script src="../js/main.js"></script>
|
|
779
|
-
|
|
780
|
-
</body>
|
|
781
|
-
</html>
|