@x12i/docify-docs 1.0.0 → 1.1.1
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,342 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"product": "docify",
|
|
4
|
+
"site": "https://docs.docify.x12i.com",
|
|
5
|
+
"knowledgePackage": "@x12i/docify",
|
|
6
|
+
"roles": [
|
|
7
|
+
"developers",
|
|
8
|
+
"builders"
|
|
9
|
+
],
|
|
10
|
+
"books": [
|
|
11
|
+
{
|
|
12
|
+
"id": "00-platform-overview",
|
|
13
|
+
"audiences": [
|
|
14
|
+
"developers",
|
|
15
|
+
"builders"
|
|
16
|
+
],
|
|
17
|
+
"md": {
|
|
18
|
+
"developers": "downloads/books/00-platform-overview/developers.md",
|
|
19
|
+
"builders": "downloads/books/00-platform-overview/builders.md"
|
|
20
|
+
},
|
|
21
|
+
"pdf": {
|
|
22
|
+
"developers": null,
|
|
23
|
+
"builders": null
|
|
24
|
+
},
|
|
25
|
+
"chapters": {
|
|
26
|
+
"developers": "downloads/books/00-platform-overview/developers.chapters.json",
|
|
27
|
+
"builders": "downloads/books/00-platform-overview/builders.chapters.json"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "01-packages",
|
|
32
|
+
"audiences": [
|
|
33
|
+
"developers"
|
|
34
|
+
],
|
|
35
|
+
"md": {
|
|
36
|
+
"developers": "downloads/books/01-packages/developers.md"
|
|
37
|
+
},
|
|
38
|
+
"pdf": {
|
|
39
|
+
"developers": null
|
|
40
|
+
},
|
|
41
|
+
"chapters": {
|
|
42
|
+
"developers": "downloads/books/01-packages/developers.chapters.json"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "02-authoring",
|
|
47
|
+
"audiences": [
|
|
48
|
+
"developers",
|
|
49
|
+
"builders"
|
|
50
|
+
],
|
|
51
|
+
"md": {
|
|
52
|
+
"developers": "downloads/books/02-authoring/developers.md",
|
|
53
|
+
"builders": "downloads/books/02-authoring/builders.md"
|
|
54
|
+
},
|
|
55
|
+
"pdf": {
|
|
56
|
+
"developers": null,
|
|
57
|
+
"builders": null
|
|
58
|
+
},
|
|
59
|
+
"chapters": {
|
|
60
|
+
"developers": "downloads/books/02-authoring/developers.chapters.json",
|
|
61
|
+
"builders": "downloads/books/02-authoring/builders.chapters.json"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "03-for-humans",
|
|
66
|
+
"audiences": [
|
|
67
|
+
"developers",
|
|
68
|
+
"builders"
|
|
69
|
+
],
|
|
70
|
+
"md": {
|
|
71
|
+
"developers": "downloads/books/03-for-humans/developers.md",
|
|
72
|
+
"builders": "downloads/books/03-for-humans/builders.md"
|
|
73
|
+
},
|
|
74
|
+
"pdf": {
|
|
75
|
+
"developers": null,
|
|
76
|
+
"builders": null
|
|
77
|
+
},
|
|
78
|
+
"chapters": {
|
|
79
|
+
"developers": "downloads/books/03-for-humans/developers.chapters.json",
|
|
80
|
+
"builders": "downloads/books/03-for-humans/builders.chapters.json"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "04-for-agents",
|
|
85
|
+
"audiences": [
|
|
86
|
+
"developers"
|
|
87
|
+
],
|
|
88
|
+
"md": {
|
|
89
|
+
"developers": "downloads/books/04-for-agents/developers.md"
|
|
90
|
+
},
|
|
91
|
+
"pdf": {
|
|
92
|
+
"developers": null
|
|
93
|
+
},
|
|
94
|
+
"chapters": {
|
|
95
|
+
"developers": "downloads/books/04-for-agents/developers.chapters.json"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "05-design",
|
|
100
|
+
"audiences": [
|
|
101
|
+
"developers",
|
|
102
|
+
"builders"
|
|
103
|
+
],
|
|
104
|
+
"md": {
|
|
105
|
+
"developers": "downloads/books/05-design/developers.md",
|
|
106
|
+
"builders": "downloads/books/05-design/builders.md"
|
|
107
|
+
},
|
|
108
|
+
"pdf": {
|
|
109
|
+
"developers": null,
|
|
110
|
+
"builders": null
|
|
111
|
+
},
|
|
112
|
+
"chapters": {
|
|
113
|
+
"developers": "downloads/books/05-design/developers.chapters.json",
|
|
114
|
+
"builders": "downloads/books/05-design/builders.chapters.json"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "06-getting-started-and-tutorials",
|
|
119
|
+
"audiences": [
|
|
120
|
+
"developers",
|
|
121
|
+
"builders"
|
|
122
|
+
],
|
|
123
|
+
"md": {
|
|
124
|
+
"developers": "downloads/books/06-getting-started-and-tutorials/developers.md",
|
|
125
|
+
"builders": "downloads/books/06-getting-started-and-tutorials/builders.md"
|
|
126
|
+
},
|
|
127
|
+
"pdf": {
|
|
128
|
+
"developers": null,
|
|
129
|
+
"builders": null
|
|
130
|
+
},
|
|
131
|
+
"chapters": {
|
|
132
|
+
"developers": "downloads/books/06-getting-started-and-tutorials/developers.chapters.json",
|
|
133
|
+
"builders": "downloads/books/06-getting-started-and-tutorials/builders.chapters.json"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"useCases": [
|
|
138
|
+
{
|
|
139
|
+
"id": "orient-docify",
|
|
140
|
+
"title": "Orient on x12i-docify",
|
|
141
|
+
"md": "downloads/use-cases/orient-docify.md",
|
|
142
|
+
"path": [
|
|
143
|
+
{
|
|
144
|
+
"bookId": "00-platform-overview",
|
|
145
|
+
"audience": "developers",
|
|
146
|
+
"chapters": [
|
|
147
|
+
"the-central-idea",
|
|
148
|
+
"1-what-x12i-docify-is",
|
|
149
|
+
"2-layers",
|
|
150
|
+
"4-where-to-go-next"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "map-packages",
|
|
157
|
+
"title": "Map the @x12i/docify-* packages",
|
|
158
|
+
"md": "downloads/use-cases/map-packages.md",
|
|
159
|
+
"path": [
|
|
160
|
+
{
|
|
161
|
+
"bookId": "01-packages",
|
|
162
|
+
"audience": "developers",
|
|
163
|
+
"chapters": [
|
|
164
|
+
"1-package-table",
|
|
165
|
+
"2-dependency-shape",
|
|
166
|
+
"3-publish-and-install"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "wire-product-library",
|
|
173
|
+
"title": "Wire a product docs library",
|
|
174
|
+
"md": "downloads/use-cases/wire-product-library.md",
|
|
175
|
+
"path": [
|
|
176
|
+
{
|
|
177
|
+
"bookId": "02-authoring",
|
|
178
|
+
"audience": "developers",
|
|
179
|
+
"chapters": [
|
|
180
|
+
"1-recipe",
|
|
181
|
+
"2-content-layout",
|
|
182
|
+
"3-data-contracts",
|
|
183
|
+
"4-build-pipeline"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "ship-human-site",
|
|
190
|
+
"title": "Ship the human web app",
|
|
191
|
+
"md": "downloads/use-cases/ship-human-site.md",
|
|
192
|
+
"path": [
|
|
193
|
+
{
|
|
194
|
+
"bookId": "03-for-humans",
|
|
195
|
+
"audience": "developers",
|
|
196
|
+
"chapters": [
|
|
197
|
+
"1-best-form-for-humans",
|
|
198
|
+
"2-typical-flow",
|
|
199
|
+
"3-what-the-bundle-emits"
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "ship-agent-packs",
|
|
206
|
+
"title": "Ship agent markdown and knowledge SDK",
|
|
207
|
+
"md": "downloads/use-cases/ship-agent-packs.md",
|
|
208
|
+
"path": [
|
|
209
|
+
{
|
|
210
|
+
"bookId": "04-for-agents",
|
|
211
|
+
"audience": "developers",
|
|
212
|
+
"chapters": [
|
|
213
|
+
"1-best-form-for-agents",
|
|
214
|
+
"2-discovery",
|
|
215
|
+
"3-knowledge-sdk",
|
|
216
|
+
"4-install-contract"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "keep-one-design",
|
|
223
|
+
"title": "Keep one design system",
|
|
224
|
+
"md": "downloads/use-cases/keep-one-design.md",
|
|
225
|
+
"path": [
|
|
226
|
+
{
|
|
227
|
+
"bookId": "05-design",
|
|
228
|
+
"audience": "builders",
|
|
229
|
+
"chapters": [
|
|
230
|
+
"1-principle",
|
|
231
|
+
"2-identity",
|
|
232
|
+
"3-surfaces",
|
|
233
|
+
"4-do-not"
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"indexes": {
|
|
240
|
+
"indexMd": "INDEX.md",
|
|
241
|
+
"searchJson": "SEARCH.json"
|
|
242
|
+
},
|
|
243
|
+
"concepts": [
|
|
244
|
+
{
|
|
245
|
+
"id": "explicit-authoring",
|
|
246
|
+
"title": "Explicit authoring",
|
|
247
|
+
"md": "concepts/explicit-authoring.md"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "open-markdown",
|
|
251
|
+
"title": "Open Markdown baseline",
|
|
252
|
+
"md": "concepts/open-markdown.md"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "guide-vs-scenario",
|
|
256
|
+
"title": "Guides vs scenarios vs journeys",
|
|
257
|
+
"md": "concepts/guide-vs-scenario.md"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"guides": [
|
|
261
|
+
{
|
|
262
|
+
"id": "scaffold-concept",
|
|
263
|
+
"title": "Scaffold a concept page",
|
|
264
|
+
"md": "guides/scaffold-concept.md"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"scenarios": [
|
|
268
|
+
{
|
|
269
|
+
"id": "choose-content-type",
|
|
270
|
+
"title": "Choose the right Docify content type",
|
|
271
|
+
"md": "scenarios/choose-content-type.md"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"decisions": [],
|
|
275
|
+
"glossary": [
|
|
276
|
+
{
|
|
277
|
+
"id": "docify",
|
|
278
|
+
"term": "Docify",
|
|
279
|
+
"md": "glossary/docify.md"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "search-json",
|
|
283
|
+
"term": "SEARCH.json",
|
|
284
|
+
"md": "glossary/search-json.md"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"visuals": [],
|
|
288
|
+
"diagrams": [
|
|
289
|
+
{
|
|
290
|
+
"id": "docify-dual-audience",
|
|
291
|
+
"title": "One library, two consumption surfaces",
|
|
292
|
+
"md": "diagrams/docify-dual-audience.md",
|
|
293
|
+
"source": "diagrams/sources/docify-dual-audience.mmd"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"relationships": [
|
|
297
|
+
{
|
|
298
|
+
"id": "explicit-to-open-md",
|
|
299
|
+
"type": "prerequisiteOf",
|
|
300
|
+
"from": "explicit-authoring",
|
|
301
|
+
"to": "open-markdown"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"id": "types-related",
|
|
305
|
+
"type": "relatedTo",
|
|
306
|
+
"from": "guide-vs-scenario",
|
|
307
|
+
"to": "explicit-authoring"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"tutorials": [],
|
|
311
|
+
"examples": [],
|
|
312
|
+
"sampleData": [],
|
|
313
|
+
"uiClients": [],
|
|
314
|
+
"apis": [],
|
|
315
|
+
"packs": [
|
|
316
|
+
{
|
|
317
|
+
"id": "concept/explicit-authoring",
|
|
318
|
+
"type": "concept",
|
|
319
|
+
"path": "packs/concept/explicit-authoring"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"id": "concept/open-markdown",
|
|
323
|
+
"type": "concept",
|
|
324
|
+
"path": "packs/concept/open-markdown"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "concept/guide-vs-scenario",
|
|
328
|
+
"type": "concept",
|
|
329
|
+
"path": "packs/concept/guide-vs-scenario"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"id": "guide/scaffold-concept",
|
|
333
|
+
"type": "guide",
|
|
334
|
+
"path": "packs/guide/scaffold-concept"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "scenario/choose-content-type",
|
|
338
|
+
"type": "scenario",
|
|
339
|
+
"path": "packs/scenario/choose-content-type"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "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
|
+
problem: "Auto-scanning repositories invents incomplete or wrong documentation."
|
|
7
|
+
why: "Accessibility requires intentional explanations, relationships, and confirmation boundaries."
|
|
8
|
+
mentalModel: "Authors understand; Docify packages and presents."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["open-markdown", "knowledge-relationships"]
|
|
11
|
+
next: ["open-markdown"]
|
|
12
|
+
---
|
|
13
|
+
# Explicit authoring
|
|
14
|
+
|
|
15
|
+
Docify only builds knowledge that authors declare — it never discovers product truth from source.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Auto-scanning repositories invents incomplete or wrong documentation.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Accessibility requires intentional explanations, relationships, and confirmation boundaries.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
Authors understand; Docify packages and presents.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "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
|
+
problem: "Mixing learning, diagnosis, and production procedures confuses agents and operators."
|
|
7
|
+
why: "Clear types keep invariants and confirmation boundaries enforceable."
|
|
8
|
+
mentalModel: "Scenario chooses a guide; journey sequences several guides and decisions."
|
|
9
|
+
audiences: ["developers", "builders"]
|
|
10
|
+
related: ["explicit-authoring"]
|
|
11
|
+
---
|
|
12
|
+
# Guides vs scenarios vs journeys
|
|
13
|
+
|
|
14
|
+
Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.
|
|
15
|
+
|
|
16
|
+
## Problem
|
|
17
|
+
|
|
18
|
+
Mixing learning, diagnosis, and production procedures confuses agents and operators.
|
|
19
|
+
|
|
20
|
+
## Why
|
|
21
|
+
|
|
22
|
+
Clear types keep invariants and confirmation boundaries enforceable.
|
|
23
|
+
|
|
24
|
+
## Mental model
|
|
25
|
+
|
|
26
|
+
Scenario chooses a guide; journey sequences several guides and decisions.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "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
|
+
problem: "Knowledge trapped in generated JS or HTML blocks offline and agent workflows."
|
|
7
|
+
why: "Agents and humans must grep, read, and pack the same facts without executing code."
|
|
8
|
+
mentalModel: "INDEX.md and SEARCH.json are the door; Markdown files are the rooms."
|
|
9
|
+
audiences: ["developers"]
|
|
10
|
+
related: ["explicit-authoring"]
|
|
11
|
+
next: ["guide-vs-scenario"]
|
|
12
|
+
---
|
|
13
|
+
# Open Markdown baseline
|
|
14
|
+
|
|
15
|
+
Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.
|
|
16
|
+
|
|
17
|
+
## Problem
|
|
18
|
+
|
|
19
|
+
Knowledge trapped in generated JS or HTML blocks offline and agent workflows.
|
|
20
|
+
|
|
21
|
+
## Why
|
|
22
|
+
|
|
23
|
+
Agents and humans must grep, read, and pack the same facts without executing code.
|
|
24
|
+
|
|
25
|
+
## Mental model
|
|
26
|
+
|
|
27
|
+
INDEX.md and SEARCH.json are the door; Markdown files are the rooms.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "docify-dual-audience"
|
|
3
|
+
type: "diagram"
|
|
4
|
+
title: "One library, two consumption surfaces"
|
|
5
|
+
summary: "Explicitly authored content becomes a human website and an agent knowledge package."
|
|
6
|
+
why: "Humans and agents share one source model without forked facts."
|
|
7
|
+
diagramType: "flow"
|
|
8
|
+
audiences: ["developers", "builders"]
|
|
9
|
+
related: ["explicit-authoring", "open-markdown"]
|
|
10
|
+
---
|
|
11
|
+
# One library, two consumption surfaces
|
|
12
|
+
|
|
13
|
+
Explicitly authored content becomes a human website and an agent knowledge package.
|
|
14
|
+
|
|
15
|
+
## Why
|
|
16
|
+
|
|
17
|
+
Humans and agents share one source model without forked facts.
|
|
18
|
+
|
|
19
|
+
## How to read
|
|
20
|
+
|
|
21
|
+
Follow arrows from authored sources to human and agent outputs.
|
|
22
|
+
|
|
23
|
+
## Text alternative
|
|
24
|
+
|
|
25
|
+
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.
|
|
26
|
+
|
|
27
|
+
## Nodes
|
|
28
|
+
|
|
29
|
+
- **Authors** (`authors`): Humans or agents write explicit knowledge
|
|
30
|
+
- **Validate** (`validate`): Schemas, links, a11y metadata
|
|
31
|
+
- **Website** (`web`): Human consumption
|
|
32
|
+
- **Agent package** (`agent`): INDEX, SEARCH, Markdown, SDK
|
|
33
|
+
|
|
34
|
+
## Edges
|
|
35
|
+
|
|
36
|
+
- authors → validate (declare)
|
|
37
|
+
- validate → web (render)
|
|
38
|
+
- validate → agent (pack)
|
|
39
|
+
|
|
40
|
+
## Key takeaways
|
|
41
|
+
|
|
42
|
+
- Authors own product truth
|
|
43
|
+
- Docify never scans the product repository
|
|
44
|
+
- Open Markdown is the agent baseline
|
|
45
|
+
|
|
46
|
+
## Mermaid source
|
|
47
|
+
|
|
48
|
+
```mermaid
|
|
49
|
+
flowchart LR
|
|
50
|
+
authors[Authors] --> validate[Validate]
|
|
51
|
+
validate --> web[Website]
|
|
52
|
+
validate --> agent[Agent package]
|
|
53
|
+
|
|
54
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "docify"
|
|
3
|
+
type: "glossary-term"
|
|
4
|
+
title: "Docify"
|
|
5
|
+
summary: "x12i framework that turns explicitly authored product knowledge into a website and agent package."
|
|
6
|
+
aliases: ["x12i-docify"]
|
|
7
|
+
---
|
|
8
|
+
# Docify
|
|
9
|
+
|
|
10
|
+
x12i framework that turns explicitly authored product knowledge into a website and agent package.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "search-json"
|
|
3
|
+
type: "glossary-term"
|
|
4
|
+
title: "SEARCH.json"
|
|
5
|
+
summary: "Deterministic local search index over all addressable knowledge items."
|
|
6
|
+
aliases: ["search index"]
|
|
7
|
+
---
|
|
8
|
+
# SEARCH.json
|
|
9
|
+
|
|
10
|
+
Deterministic local search index over all addressable knowledge items.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "scaffold-concept"
|
|
3
|
+
type: "guide"
|
|
4
|
+
title: "Scaffold a concept page"
|
|
5
|
+
summary: "Create a validated concept with problem, why, and mental model."
|
|
6
|
+
why: "Concepts without why become unusable glossary stubs."
|
|
7
|
+
audiences: ["developers", "builders"]
|
|
8
|
+
related: ["explicit-authoring"]
|
|
9
|
+
invariants: ["Docify does not invent the concept from source code"]
|
|
10
|
+
confirmationRequired: false
|
|
11
|
+
---
|
|
12
|
+
# Scaffold a concept page
|
|
13
|
+
|
|
14
|
+
Create a validated concept with problem, why, and mental model.
|
|
15
|
+
|
|
16
|
+
## Why this path
|
|
17
|
+
|
|
18
|
+
Concepts without why become unusable glossary stubs.
|
|
19
|
+
|
|
20
|
+
## Use this when
|
|
21
|
+
|
|
22
|
+
- Documenting a product idea that needs explanation first
|
|
23
|
+
|
|
24
|
+
## Do not use this when
|
|
25
|
+
|
|
26
|
+
- Writing a step-by-step production procedure (use a guide)
|
|
27
|
+
|
|
28
|
+
## Invariants
|
|
29
|
+
|
|
30
|
+
- Docify does not invent the concept from source code
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
1. **Run docify scaffold concept <id>** — Markdown file under concepts/
|
|
35
|
+
2. **Fill summary, problem, why, mental model** — Human-understanding fields present
|
|
36
|
+
3. **Run docify validate** — Validation passes
|
|
37
|
+
|
|
38
|
+
## Verification
|
|
39
|
+
|
|
40
|
+
- Concept appears in INDEX.md after build
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "00-platform-overview",
|
|
6
|
+
"title": "Platform Overview",
|
|
7
|
+
"summary": "What x12i-docify is, who it serves, and how product libraries plug in without forking UI.",
|
|
8
|
+
"path": "books/00-platform-overview/"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "01-packages",
|
|
12
|
+
"title": "Packages",
|
|
13
|
+
"summary": "Core, theme, render, export, SDK, web, and screenshots — what each package owns.",
|
|
14
|
+
"path": "books/01-packages/"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "02-authoring",
|
|
18
|
+
"title": "Authoring a Library",
|
|
19
|
+
"summary": "Recipe to ship a product docs library: BOOK.md layout, data/*.json, site-pages, and the build pipeline.",
|
|
20
|
+
"path": "books/02-authoring/"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "03-for-humans",
|
|
24
|
+
"title": "For Humans",
|
|
25
|
+
"summary": "How people use @x12i/docify-web — roles, use cases, catalog, chapter reader, downloads.",
|
|
26
|
+
"path": "books/03-for-humans/"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "04-for-agents",
|
|
30
|
+
"title": "For Agents",
|
|
31
|
+
"summary": "MD packs, chapter indexes, agent-manifest.json, and createEbooksSdk — install knowledge as a devDependency.",
|
|
32
|
+
"path": "books/04-for-agents/"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "05-design",
|
|
36
|
+
"title": "Design System",
|
|
37
|
+
"summary": "Shared theme tokens and surfaces — products change naming and content only.",
|
|
38
|
+
"path": "books/05-design/"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "06-getting-started-and-tutorials",
|
|
42
|
+
"title": "Getting Started & Tutorials",
|
|
43
|
+
"summary": "Start here — why agents install @x12i/docify as a devDependency, the authoring order, and hands-on tutorials.",
|
|
44
|
+
"path": "books/06-getting-started-and-tutorials/"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# books
|
|
2
|
+
|
|
3
|
+
- `00-platform-overview` — Platform Overview — What x12i-docify is, who it serves, and how product libraries plug in without forking UI.
|
|
4
|
+
- `01-packages` — Packages — Core, theme, render, export, SDK, web, and screenshots — what each package owns.
|
|
5
|
+
- `02-authoring` — Authoring a Library — Recipe to ship a product docs library: BOOK.md layout, data/*.json, site-pages, and the build pipeline.
|
|
6
|
+
- `03-for-humans` — For Humans — How people use @x12i/docify-web — roles, use cases, catalog, chapter reader, downloads.
|
|
7
|
+
- `04-for-agents` — For Agents — MD packs, chapter indexes, agent-manifest.json, and createEbooksSdk — install knowledge as a devDependency.
|
|
8
|
+
- `05-design` — Design System — Shared theme tokens and surfaces — products change naming and content only.
|
|
9
|
+
- `06-getting-started-and-tutorials` — Getting Started & Tutorials — Start here — why agents install @x12i/docify as a devDependency, the authoring order, and hands-on tutorials.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "explicit-authoring",
|
|
6
|
+
"title": "Explicit authoring",
|
|
7
|
+
"summary": "Docify only builds knowledge that authors declare — it never discovers product truth from source.",
|
|
8
|
+
"path": "concepts/explicit-authoring.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "open-markdown",
|
|
12
|
+
"title": "Open Markdown baseline",
|
|
13
|
+
"summary": "Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.",
|
|
14
|
+
"path": "concepts/open-markdown.md"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "guide-vs-scenario",
|
|
18
|
+
"title": "Guides vs scenarios vs journeys",
|
|
19
|
+
"summary": "Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.",
|
|
20
|
+
"path": "concepts/guide-vs-scenario.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# concepts
|
|
2
|
+
|
|
3
|
+
- `explicit-authoring` — Explicit authoring — Docify only builds knowledge that authors declare — it never discovers product truth from source.
|
|
4
|
+
- `open-markdown` — Open Markdown baseline — Every knowledge item ships as readable Markdown plus indexes — the SDK is optional.
|
|
5
|
+
- `guide-vs-scenario` — Guides vs scenarios vs journeys — Guides are bounded procedures; scenarios branch on state; journeys compose an end-to-end outcome.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "docify-dual-audience",
|
|
6
|
+
"title": "One library, two consumption surfaces",
|
|
7
|
+
"summary": "Explicitly authored content becomes a human website and an agent knowledge package.",
|
|
8
|
+
"path": "diagrams/docify-dual-audience.md"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|