@x12i/docify-docs 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -13
- package/dist/index.d.ts +2 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -12
- package/dist/index.js.map +1 -1
- package/files/INDEX.md +40 -0
- package/files/SEARCH.json +514 -0
- package/files/agent-manifest.json +342 -0
- package/files/concepts/explicit-authoring.md +27 -0
- package/files/concepts/guide-vs-scenario.md +26 -0
- package/files/concepts/open-markdown.md +27 -0
- package/files/diagrams/docify-dual-audience.md +54 -0
- package/files/diagrams/sources/docify-dual-audience.mmd +4 -0
- package/files/glossary/docify.md +10 -0
- package/files/glossary/search-json.md +10 -0
- package/files/guides/scaffold-concept.md +40 -0
- package/files/indexes/books.json +47 -0
- package/files/indexes/books.md +9 -0
- package/files/indexes/concepts.json +23 -0
- package/files/indexes/concepts.md +5 -0
- package/files/indexes/diagrams.json +11 -0
- package/files/indexes/diagrams.md +3 -0
- package/files/indexes/guides.json +11 -0
- package/files/indexes/guides.md +3 -0
- package/files/indexes/scenarios.json +11 -0
- package/files/indexes/scenarios.md +3 -0
- package/files/indexes/tutorials.json +4 -0
- package/files/indexes/tutorials.md +3 -0
- package/files/indexes/use-cases.json +41 -0
- package/files/indexes/use-cases.md +8 -0
- package/files/knowledge.json +361 -0
- package/files/packs/concept/explicit-authoring/PACK.md +11 -0
- package/files/packs/concept/explicit-authoring/pack.json +14 -0
- package/files/packs/concept/guide-vs-scenario/PACK.md +11 -0
- package/files/packs/concept/guide-vs-scenario/pack.json +13 -0
- package/files/packs/concept/open-markdown/PACK.md +11 -0
- package/files/packs/concept/open-markdown/pack.json +13 -0
- package/files/packs/guide/scaffold-concept/PACK.md +11 -0
- package/files/packs/guide/scaffold-concept/pack.json +13 -0
- package/files/packs/scenario/choose-content-type/PACK.md +11 -0
- package/files/packs/scenario/choose-content-type/pack.json +11 -0
- package/files/scenarios/choose-content-type.md +54 -0
- package/files/use-cases/keep-one-design.md +46 -0
- package/files/use-cases/map-packages.md +83 -0
- package/files/use-cases/orient-docify.md +92 -0
- package/files/use-cases/ship-agent-packs.md +75 -0
- package/files/use-cases/ship-human-site.md +53 -0
- package/files/use-cases/wire-product-library.md +79 -0
- package/package.json +7 -25
- package/bin/docify-docs.js +0 -2
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -56
- package/dist/cli.js.map +0 -1
- package/dist/generated/bundle.d.ts +0 -358
- package/dist/generated/bundle.d.ts.map +0 -1
- package/dist/generated/bundle.js +0 -620
- package/dist/generated/bundle.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "choose-content-type",
|
|
6
|
+
"title": "Choose the right Docify content type",
|
|
7
|
+
"summary": "Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal.",
|
|
8
|
+
"path": "scenarios/choose-content-type.md"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "orient-docify",
|
|
6
|
+
"title": "Orient on x12i-docify",
|
|
7
|
+
"summary": "Understand the dual-audience platform and where product libraries fit.",
|
|
8
|
+
"path": "use-cases/orient-docify.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "map-packages",
|
|
12
|
+
"title": "Map the @x12i/docify-* packages",
|
|
13
|
+
"summary": "Know which package owns schemas, theme, render, export, SDK, web, and screenshots.",
|
|
14
|
+
"path": "use-cases/map-packages.md"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "wire-product-library",
|
|
18
|
+
"title": "Wire a product docs library",
|
|
19
|
+
"summary": "Add books, data/*.json, site-pages, and build scripts in another monorepo without forking theme or web.",
|
|
20
|
+
"path": "use-cases/wire-product-library.md"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "ship-human-site",
|
|
24
|
+
"title": "Ship the human web app",
|
|
25
|
+
"summary": "Build and serve dist/web with roles, use cases, catalog, and chapter reader.",
|
|
26
|
+
"path": "use-cases/ship-human-site.md"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "ship-agent-packs",
|
|
30
|
+
"title": "Ship agent markdown and knowledge SDK",
|
|
31
|
+
"summary": "Export MD packs, agent-manifest.json, and a product @…-docs package for npm i -D.",
|
|
32
|
+
"path": "use-cases/ship-agent-packs.md"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "keep-one-design",
|
|
36
|
+
"title": "Keep one design system",
|
|
37
|
+
"summary": "Change product naming and content only — never fork theme or invent a competing palette.",
|
|
38
|
+
"path": "use-cases/keep-one-design.md"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# use-cases
|
|
2
|
+
|
|
3
|
+
- `orient-docify` — Orient on x12i-docify — Understand the dual-audience platform and where product libraries fit.
|
|
4
|
+
- `map-packages` — Map the @x12i/docify-* packages — Know which package owns schemas, theme, render, export, SDK, web, and screenshots.
|
|
5
|
+
- `wire-product-library` — Wire a product docs library — Add books, data/*.json, site-pages, and build scripts in another monorepo without forking theme or web.
|
|
6
|
+
- `ship-human-site` — Ship the human web app — Build and serve dist/web with roles, use cases, catalog, and chapter reader.
|
|
7
|
+
- `ship-agent-packs` — Ship agent markdown and knowledge SDK — Export MD packs, agent-manifest.json, and a product @…-docs package for npm i -D.
|
|
8
|
+
- `keep-one-design` — Keep one design system — Change product naming and content only — never fork theme or invent a competing palette.
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
{
|
|
2
|
+
"concepts": [
|
|
3
|
+
{
|
|
4
|
+
"summary": "Docify only builds knowledge that authors declare — it never discovers product truth from source.",
|
|
5
|
+
"problem": "Auto-scanning repositories invents incomplete or wrong documentation.",
|
|
6
|
+
"why": "Accessibility requires intentional explanations, relationships, and confirmation boundaries.",
|
|
7
|
+
"mentalModel": "Authors understand; Docify packages and presents.",
|
|
8
|
+
"audiences": [
|
|
9
|
+
"developers",
|
|
10
|
+
"builders"
|
|
11
|
+
],
|
|
12
|
+
"whenItMatters": [
|
|
13
|
+
"Starting a docs library",
|
|
14
|
+
"Asking an agent to document a product"
|
|
15
|
+
],
|
|
16
|
+
"whenNotToUse": [],
|
|
17
|
+
"prerequisites": [],
|
|
18
|
+
"related": [
|
|
19
|
+
"open-markdown",
|
|
20
|
+
"knowledge-relationships"
|
|
21
|
+
],
|
|
22
|
+
"next": [
|
|
23
|
+
"open-markdown"
|
|
24
|
+
],
|
|
25
|
+
"exampleIds": [],
|
|
26
|
+
"commonMistakes": [],
|
|
27
|
+
"successCriteria": [],
|
|
28
|
+
"invariants": [],
|
|
29
|
+
"alternatives": [],
|
|
30
|
+
"tags": [
|
|
31
|
+
"authoring",
|
|
32
|
+
"boundary"
|
|
33
|
+
],
|
|
34
|
+
"id": "explicit-authoring",
|
|
35
|
+
"type": "concept",
|
|
36
|
+
"title": "Explicit authoring",
|
|
37
|
+
"visualIds": [],
|
|
38
|
+
"diagramIds": [],
|
|
39
|
+
"referenceIds": []
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"summary": "Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.",
|
|
43
|
+
"problem": "Knowledge trapped in generated JS or HTML blocks offline and agent workflows.",
|
|
44
|
+
"why": "Agents and humans must grep, read, and pack the same facts without executing code.",
|
|
45
|
+
"mentalModel": "INDEX.md and SEARCH.json are the door; Markdown files are the rooms.",
|
|
46
|
+
"audiences": [
|
|
47
|
+
"developers"
|
|
48
|
+
],
|
|
49
|
+
"whenItMatters": [],
|
|
50
|
+
"whenNotToUse": [],
|
|
51
|
+
"prerequisites": [],
|
|
52
|
+
"related": [
|
|
53
|
+
"explicit-authoring"
|
|
54
|
+
],
|
|
55
|
+
"next": [
|
|
56
|
+
"guide-vs-scenario"
|
|
57
|
+
],
|
|
58
|
+
"exampleIds": [],
|
|
59
|
+
"commonMistakes": [],
|
|
60
|
+
"successCriteria": [],
|
|
61
|
+
"invariants": [],
|
|
62
|
+
"alternatives": [],
|
|
63
|
+
"tags": [
|
|
64
|
+
"agents",
|
|
65
|
+
"packaging"
|
|
66
|
+
],
|
|
67
|
+
"id": "open-markdown",
|
|
68
|
+
"type": "concept",
|
|
69
|
+
"title": "Open Markdown baseline",
|
|
70
|
+
"visualIds": [],
|
|
71
|
+
"diagramIds": [],
|
|
72
|
+
"referenceIds": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"summary": "Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.",
|
|
76
|
+
"problem": "Mixing learning, diagnosis, and production procedures confuses agents and operators.",
|
|
77
|
+
"why": "Clear types keep invariants and confirmation boundaries enforceable.",
|
|
78
|
+
"mentalModel": "Scenario chooses a guide; journey sequences several guides and decisions.",
|
|
79
|
+
"audiences": [
|
|
80
|
+
"developers",
|
|
81
|
+
"builders"
|
|
82
|
+
],
|
|
83
|
+
"whenItMatters": [],
|
|
84
|
+
"whenNotToUse": [],
|
|
85
|
+
"prerequisites": [],
|
|
86
|
+
"related": [
|
|
87
|
+
"explicit-authoring"
|
|
88
|
+
],
|
|
89
|
+
"next": [],
|
|
90
|
+
"exampleIds": [],
|
|
91
|
+
"commonMistakes": [],
|
|
92
|
+
"successCriteria": [],
|
|
93
|
+
"invariants": [],
|
|
94
|
+
"alternatives": [],
|
|
95
|
+
"tags": [
|
|
96
|
+
"authoring"
|
|
97
|
+
],
|
|
98
|
+
"id": "guide-vs-scenario",
|
|
99
|
+
"type": "concept",
|
|
100
|
+
"title": "Guides vs scenarios vs journeys",
|
|
101
|
+
"visualIds": [],
|
|
102
|
+
"diagramIds": [],
|
|
103
|
+
"referenceIds": []
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"guides": [
|
|
107
|
+
{
|
|
108
|
+
"summary": "Create a validated concept with problem, why, and mental model.",
|
|
109
|
+
"why": "Concepts without why become unusable glossary stubs.",
|
|
110
|
+
"audiences": [
|
|
111
|
+
"developers",
|
|
112
|
+
"builders"
|
|
113
|
+
],
|
|
114
|
+
"whenItMatters": [],
|
|
115
|
+
"whenNotToUse": [],
|
|
116
|
+
"prerequisites": [],
|
|
117
|
+
"related": [
|
|
118
|
+
"explicit-authoring"
|
|
119
|
+
],
|
|
120
|
+
"next": [],
|
|
121
|
+
"exampleIds": [],
|
|
122
|
+
"commonMistakes": [],
|
|
123
|
+
"successCriteria": [],
|
|
124
|
+
"invariants": [
|
|
125
|
+
"Docify does not invent the concept from source code"
|
|
126
|
+
],
|
|
127
|
+
"alternatives": [],
|
|
128
|
+
"confirmationRequired": false,
|
|
129
|
+
"tags": [
|
|
130
|
+
"authoring"
|
|
131
|
+
],
|
|
132
|
+
"id": "scaffold-concept",
|
|
133
|
+
"type": "guide",
|
|
134
|
+
"title": "Scaffold a concept page",
|
|
135
|
+
"useWhen": [
|
|
136
|
+
"Documenting a product idea that needs explanation first"
|
|
137
|
+
],
|
|
138
|
+
"doNotUseWhen": [
|
|
139
|
+
"Writing a step-by-step production procedure (use a guide)"
|
|
140
|
+
],
|
|
141
|
+
"inputs": [],
|
|
142
|
+
"permissions": [],
|
|
143
|
+
"steps": [
|
|
144
|
+
{
|
|
145
|
+
"id": "scaffold",
|
|
146
|
+
"title": "Run docify scaffold concept <id>",
|
|
147
|
+
"expectedResult": "Markdown file under concepts/",
|
|
148
|
+
"optional": false
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "fill",
|
|
152
|
+
"title": "Fill summary, problem, why, mental model",
|
|
153
|
+
"expectedResult": "Human-understanding fields present",
|
|
154
|
+
"optional": false
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "validate",
|
|
158
|
+
"title": "Run docify validate",
|
|
159
|
+
"expectedResult": "Validation passes",
|
|
160
|
+
"optional": false
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"verification": [
|
|
164
|
+
"Concept appears in INDEX.md after build"
|
|
165
|
+
],
|
|
166
|
+
"recovery": [],
|
|
167
|
+
"tutorialIds": [],
|
|
168
|
+
"referenceIds": [],
|
|
169
|
+
"scenarioIds": []
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"scenarios": [
|
|
173
|
+
{
|
|
174
|
+
"summary": "Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal.",
|
|
175
|
+
"audiences": [
|
|
176
|
+
"developers",
|
|
177
|
+
"builders"
|
|
178
|
+
],
|
|
179
|
+
"whenItMatters": [],
|
|
180
|
+
"whenNotToUse": [],
|
|
181
|
+
"prerequisites": [],
|
|
182
|
+
"related": [],
|
|
183
|
+
"next": [],
|
|
184
|
+
"exampleIds": [],
|
|
185
|
+
"commonMistakes": [],
|
|
186
|
+
"successCriteria": [],
|
|
187
|
+
"invariants": [
|
|
188
|
+
"Do not invent unsupported actions from a broad why statement"
|
|
189
|
+
],
|
|
190
|
+
"alternatives": [],
|
|
191
|
+
"tags": [],
|
|
192
|
+
"id": "choose-content-type",
|
|
193
|
+
"type": "scenario",
|
|
194
|
+
"title": "Choose the right Docify content type",
|
|
195
|
+
"situation": "An agent is asked to document a product behavior and is unsure which file to create.",
|
|
196
|
+
"preconditions": [
|
|
197
|
+
"Product material is explicitly supplied"
|
|
198
|
+
],
|
|
199
|
+
"signals": [
|
|
200
|
+
"Need a definition and why",
|
|
201
|
+
"Need a bounded production procedure",
|
|
202
|
+
"Need branching on observed state",
|
|
203
|
+
"Need safe rehearsal with sample data"
|
|
204
|
+
],
|
|
205
|
+
"decisionQuestion": "Which Docify content type fits this goal?",
|
|
206
|
+
"paths": [
|
|
207
|
+
{
|
|
208
|
+
"id": "concept",
|
|
209
|
+
"label": "Author a concept",
|
|
210
|
+
"when": "The reader needs what it is and why it exists",
|
|
211
|
+
"rationale": "Concepts carry mental models before procedures.",
|
|
212
|
+
"guideIds": [
|
|
213
|
+
"scaffold-concept"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "guide",
|
|
218
|
+
"label": "Author a guide",
|
|
219
|
+
"when": "The reader needs a bounded task with verification",
|
|
220
|
+
"rationale": "Guides are normative procedures with confirmation boundaries.",
|
|
221
|
+
"guideIds": [
|
|
222
|
+
"scaffold-concept"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "tutorial",
|
|
227
|
+
"label": "Author a tutorial",
|
|
228
|
+
"when": "The goal is learning with sample data and reset",
|
|
229
|
+
"rationale": "Tutorials teach; production guides remain usable without them.",
|
|
230
|
+
"guideIds": []
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"verification": [
|
|
234
|
+
"Selected type matches the FR selection table"
|
|
235
|
+
],
|
|
236
|
+
"recovery": [],
|
|
237
|
+
"escalation": "If product truth is unclear, stop and ask the product owners — do not infer from source."
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"decisions": [],
|
|
241
|
+
"glossary": [
|
|
242
|
+
{
|
|
243
|
+
"id": "docify",
|
|
244
|
+
"term": "Docify",
|
|
245
|
+
"meaning": "x12i framework that turns explicitly authored product knowledge into a website and agent package.",
|
|
246
|
+
"technicalName": "@x12i/docify",
|
|
247
|
+
"aliases": [
|
|
248
|
+
"x12i-docify"
|
|
249
|
+
],
|
|
250
|
+
"relatedConceptIds": [
|
|
251
|
+
"explicit-authoring"
|
|
252
|
+
],
|
|
253
|
+
"firstPageId": "explicit-authoring"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "search-json",
|
|
257
|
+
"term": "SEARCH.json",
|
|
258
|
+
"meaning": "Deterministic local search index over all addressable knowledge items.",
|
|
259
|
+
"aliases": [
|
|
260
|
+
"search index"
|
|
261
|
+
],
|
|
262
|
+
"relatedConceptIds": [
|
|
263
|
+
"open-markdown"
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"visuals": [],
|
|
268
|
+
"diagrams": [
|
|
269
|
+
{
|
|
270
|
+
"id": "docify-dual-audience",
|
|
271
|
+
"type": "flow",
|
|
272
|
+
"title": "One library, two consumption surfaces",
|
|
273
|
+
"summary": "Explicitly authored content becomes a human website and an agent knowledge package.",
|
|
274
|
+
"why": "Humans and agents share one source model without forked facts.",
|
|
275
|
+
"direction": "left-to-right",
|
|
276
|
+
"nodes": [
|
|
277
|
+
{
|
|
278
|
+
"id": "authors",
|
|
279
|
+
"label": "Authors",
|
|
280
|
+
"description": "Humans or agents write explicit knowledge",
|
|
281
|
+
"conceptId": "explicit-authoring"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "validate",
|
|
285
|
+
"label": "Validate",
|
|
286
|
+
"description": "Schemas, links, a11y metadata"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "web",
|
|
290
|
+
"label": "Website",
|
|
291
|
+
"description": "Human consumption"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "agent",
|
|
295
|
+
"label": "Agent package",
|
|
296
|
+
"description": "INDEX, SEARCH, Markdown, SDK",
|
|
297
|
+
"conceptId": "open-markdown"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"edges": [
|
|
301
|
+
{
|
|
302
|
+
"from": "authors",
|
|
303
|
+
"to": "validate",
|
|
304
|
+
"label": "declare",
|
|
305
|
+
"description": "Only declared inputs are processed"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"from": "validate",
|
|
309
|
+
"to": "web",
|
|
310
|
+
"label": "render"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"from": "validate",
|
|
314
|
+
"to": "agent",
|
|
315
|
+
"label": "pack"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"howToRead": "Follow arrows from authored sources to human and agent outputs.",
|
|
319
|
+
"keyTakeaways": [
|
|
320
|
+
"Authors own product truth",
|
|
321
|
+
"Docify never scans the product repository",
|
|
322
|
+
"Open Markdown is the agent baseline"
|
|
323
|
+
],
|
|
324
|
+
"textAlternative": "Authors write books, concepts, guides, diagrams, and data files. Docify validates and builds a website for humans and Markdown indexes, packs, and an SDK for agents.",
|
|
325
|
+
"mermaid": "flowchart LR\n authors[Authors] --> validate[Validate]\n validate --> web[Website]\n validate --> agent[Agent package]\n",
|
|
326
|
+
"audiences": [
|
|
327
|
+
"developers",
|
|
328
|
+
"builders"
|
|
329
|
+
],
|
|
330
|
+
"related": [
|
|
331
|
+
"explicit-authoring",
|
|
332
|
+
"open-markdown"
|
|
333
|
+
],
|
|
334
|
+
"tags": [
|
|
335
|
+
"platform"
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"relationships": [
|
|
340
|
+
{
|
|
341
|
+
"id": "explicit-to-open-md",
|
|
342
|
+
"type": "prerequisiteOf",
|
|
343
|
+
"from": "explicit-authoring",
|
|
344
|
+
"to": "open-markdown",
|
|
345
|
+
"label": "enables",
|
|
346
|
+
"description": "Explicit authorship feeds open Markdown packaging"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "types-related",
|
|
350
|
+
"type": "relatedTo",
|
|
351
|
+
"from": "guide-vs-scenario",
|
|
352
|
+
"to": "explicit-authoring",
|
|
353
|
+
"description": "Type selection is part of the authoring method"
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"tutorials": [],
|
|
357
|
+
"examples": [],
|
|
358
|
+
"sampleData": [],
|
|
359
|
+
"uiClients": [],
|
|
360
|
+
"apis": []
|
|
361
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "concept/explicit-authoring"
|
|
3
|
+
type: "pack"
|
|
4
|
+
title: "Explicit authoring"
|
|
5
|
+
summary: "Docify only builds knowledge that authors declare — it never discovers product truth from source."
|
|
6
|
+
---
|
|
7
|
+
# Pack: Explicit authoring
|
|
8
|
+
|
|
9
|
+
Docify only builds knowledge that authors declare — it never discovers product truth from source.
|
|
10
|
+
|
|
11
|
+
Primary markdown: `concepts/explicit-authoring.md`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "concept/explicit-authoring",
|
|
3
|
+
"type": "concept",
|
|
4
|
+
"title": "Explicit authoring",
|
|
5
|
+
"summary": "Docify only builds knowledge that authors declare — it never discovers product truth from source.",
|
|
6
|
+
"markdownPath": "concepts/explicit-authoring.md",
|
|
7
|
+
"files": [
|
|
8
|
+
"concepts/explicit-authoring.md"
|
|
9
|
+
],
|
|
10
|
+
"related": [
|
|
11
|
+
"open-markdown",
|
|
12
|
+
"knowledge-relationships"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "concept/guide-vs-scenario"
|
|
3
|
+
type: "pack"
|
|
4
|
+
title: "Guides vs scenarios vs journeys"
|
|
5
|
+
summary: "Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome."
|
|
6
|
+
---
|
|
7
|
+
# Pack: Guides vs scenarios vs journeys
|
|
8
|
+
|
|
9
|
+
Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.
|
|
10
|
+
|
|
11
|
+
Primary markdown: `concepts/guide-vs-scenario.md`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "concept/guide-vs-scenario",
|
|
3
|
+
"type": "concept",
|
|
4
|
+
"title": "Guides vs scenarios vs journeys",
|
|
5
|
+
"summary": "Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.",
|
|
6
|
+
"markdownPath": "concepts/guide-vs-scenario.md",
|
|
7
|
+
"files": [
|
|
8
|
+
"concepts/guide-vs-scenario.md"
|
|
9
|
+
],
|
|
10
|
+
"related": [
|
|
11
|
+
"explicit-authoring"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "concept/open-markdown"
|
|
3
|
+
type: "pack"
|
|
4
|
+
title: "Open Markdown baseline"
|
|
5
|
+
summary: "Every knowledge item ships as readable Markdown plus indexes — the SDK is optional."
|
|
6
|
+
---
|
|
7
|
+
# Pack: Open Markdown baseline
|
|
8
|
+
|
|
9
|
+
Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.
|
|
10
|
+
|
|
11
|
+
Primary markdown: `concepts/open-markdown.md`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "concept/open-markdown",
|
|
3
|
+
"type": "concept",
|
|
4
|
+
"title": "Open Markdown baseline",
|
|
5
|
+
"summary": "Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.",
|
|
6
|
+
"markdownPath": "concepts/open-markdown.md",
|
|
7
|
+
"files": [
|
|
8
|
+
"concepts/open-markdown.md"
|
|
9
|
+
],
|
|
10
|
+
"related": [
|
|
11
|
+
"explicit-authoring"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "guide/scaffold-concept"
|
|
3
|
+
type: "pack"
|
|
4
|
+
title: "Scaffold a concept page"
|
|
5
|
+
summary: "Create a validated concept with problem, why, and mental model."
|
|
6
|
+
---
|
|
7
|
+
# Pack: Scaffold a concept page
|
|
8
|
+
|
|
9
|
+
Create a validated concept with problem, why, and mental model.
|
|
10
|
+
|
|
11
|
+
Primary markdown: `guides/scaffold-concept.md`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "guide/scaffold-concept",
|
|
3
|
+
"type": "guide",
|
|
4
|
+
"title": "Scaffold a concept page",
|
|
5
|
+
"summary": "Create a validated concept with problem, why, and mental model.",
|
|
6
|
+
"markdownPath": "guides/scaffold-concept.md",
|
|
7
|
+
"files": [
|
|
8
|
+
"guides/scaffold-concept.md"
|
|
9
|
+
],
|
|
10
|
+
"related": [
|
|
11
|
+
"explicit-authoring"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "scenario/choose-content-type"
|
|
3
|
+
type: "pack"
|
|
4
|
+
title: "Choose the right Docify content type"
|
|
5
|
+
summary: "Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal."
|
|
6
|
+
---
|
|
7
|
+
# Pack: Choose the right Docify content type
|
|
8
|
+
|
|
9
|
+
Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal.
|
|
10
|
+
|
|
11
|
+
Primary markdown: `scenarios/choose-content-type.md`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "scenario/choose-content-type",
|
|
3
|
+
"type": "scenario",
|
|
4
|
+
"title": "Choose the right Docify content type",
|
|
5
|
+
"summary": "Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal.",
|
|
6
|
+
"markdownPath": "scenarios/choose-content-type.md",
|
|
7
|
+
"files": [
|
|
8
|
+
"scenarios/choose-content-type.md"
|
|
9
|
+
],
|
|
10
|
+
"related": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "choose-content-type"
|
|
3
|
+
type: "scenario"
|
|
4
|
+
title: "Choose the right Docify content type"
|
|
5
|
+
summary: "Pick concept, guide, scenario, journey, tutorial, or reference from the reader goal."
|
|
6
|
+
audiences: ["developers", "builders"]
|
|
7
|
+
invariants: ["Do not invent unsupported actions from a broad why statement"]
|
|
8
|
+
---
|
|
9
|
+
# Choose the right Docify content type
|
|
10
|
+
|
|
11
|
+
## Situation
|
|
12
|
+
|
|
13
|
+
An agent is asked to document a product behavior and is unsure which file to create.
|
|
14
|
+
|
|
15
|
+
## Decision
|
|
16
|
+
|
|
17
|
+
Which Docify content type fits this goal?
|
|
18
|
+
|
|
19
|
+
## Signals
|
|
20
|
+
|
|
21
|
+
- Need a definition and why
|
|
22
|
+
- Need a bounded production procedure
|
|
23
|
+
- Need branching on observed state
|
|
24
|
+
- Need safe rehearsal with sample data
|
|
25
|
+
|
|
26
|
+
## Paths
|
|
27
|
+
|
|
28
|
+
### Author a concept
|
|
29
|
+
|
|
30
|
+
**When:** The reader needs what it is and why it exists
|
|
31
|
+
|
|
32
|
+
Concepts carry mental models before procedures.
|
|
33
|
+
|
|
34
|
+
Guides: `scaffold-concept`
|
|
35
|
+
|
|
36
|
+
### Author a guide
|
|
37
|
+
|
|
38
|
+
**When:** The reader needs a bounded task with verification
|
|
39
|
+
|
|
40
|
+
Guides are normative procedures with confirmation boundaries.
|
|
41
|
+
|
|
42
|
+
Guides: `scaffold-concept`
|
|
43
|
+
|
|
44
|
+
### Author a tutorial
|
|
45
|
+
|
|
46
|
+
**When:** The goal is learning with sample data and reset
|
|
47
|
+
|
|
48
|
+
Tutorials teach; production guides remain usable without them.
|
|
49
|
+
|
|
50
|
+
Guides: _none_
|
|
51
|
+
|
|
52
|
+
## Escalation
|
|
53
|
+
|
|
54
|
+
If product truth is unclear, stop and ask the product owners — do not infer from source.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Keep one design system
|
|
2
|
+
|
|
3
|
+
> **Use case id:** `keep-one-design`
|
|
4
|
+
> **Goal:** Change product naming and content only — never fork theme or invent a competing palette.
|
|
5
|
+
> **Audiences:** developers, builders
|
|
6
|
+
> **Tags:** design, theme
|
|
7
|
+
|
|
8
|
+
## Reading path
|
|
9
|
+
|
|
10
|
+
1. **Design System** (builders) → chapters: `1-principle`, `2-identity`, `3-surfaces`, `4-do-not`
|
|
11
|
+
|
|
12
|
+
## From: Design System — 1. Principle
|
|
13
|
+
|
|
14
|
+
**One design system.** You change **words, books, and brand strings** — not layout, cards chrome, or a new palette.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## From: Design System — 2. Identity
|
|
19
|
+
|
|
20
|
+
The site already carries IBM Plex, neutral surfaces, and a primary + builders accent. Catalog **book colors** are case-file accents inside that system, not a free-for-all.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## From: Design System — 3. Surfaces
|
|
25
|
+
|
|
26
|
+
| Surface | What you influence |
|
|
27
|
+
|---|---|
|
|
28
|
+
| Product / docs chrome | Site-page copy, CTAs, featured book ids |
|
|
29
|
+
| Chapter reader | Markdown structure and diagrams inside books |
|
|
30
|
+
| Catalog cards | Title, blurb, kicker, color field in `catalog.json` |
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## From: Design System — 4. Do not
|
|
35
|
+
|
|
36
|
+
- Ask engineering to fork theme CSS “just for this product”
|
|
37
|
+
- Overload the first viewport with secondary marketing blocks (follow product-home patterns)
|
|
38
|
+
- Treat screenshots as decoration without a shot-list purpose
|
|
39
|
+
|
|
40
|
+
## Also see
|
|
41
|
+
|
|
42
|
+
- **Design System** (`05-design`) — Shared theme tokens and surfaces — products change naming and content only.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
_Generated use-case pack for agents and humans. See `agent-manifest.json` for discovery._
|