You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: a scenario chapter, a lookup index, and the rules that make a book also a reference
Three things the reader-facing side was missing, and the rules for each are in
the style skill so they outlive this batch.
02 — SCENARIOS. The tree had an index by example (03) and an index by command
(09) and none by the work in front of a developer. Nine scenarios -- a CLI tool,
a library, a workspace, a graphical application, cross-compiling, bare metal,
GPU compute, graphics, a build step -- each stating the situation, what mcpp
contributes to it, the path through the chapters, one project to run, and the
one thing that surprises people. Every scenario is backed by a runnable project
or a published template; a path with nothing to run is a claim rather than a
scenario, and the chapter says so.
A LOOKUP INDEX. The chapter list is a reading order and cannot answer "I have
`[feature-deps]` in front of me". docs/README.md gains the other index: manifest
tables and keys, commands, and concepts, each to the chapter that owns it. The
two properties -- a book that is read in order and a reference that is looked
up -- are carried by two indexes rather than by one table pretending to do both.
THE RULES. R7: an advantage is shown by the artifact, not by an adjective --
six lines of manifest, `Finished dev in 0.06s`, `counters` 0 times without the
feature and 2 with it. The criterion is that deleting every adjective leaves the
advantage visible. R8: a complex feature is introduced as shortest-runnable →
common shape → full surface → edges, one axis at a time; the criterion is how
many screens before the reader has something running. Plus the two-index rule
above. The review rubric is fourteen dimensions now.
@@ -224,7 +224,7 @@ Then `import` it directly in your code:
224
224
import mcpplibs.cmdline;
225
225
```
226
226
227
-
> For more dependency options (version constraints, namespaces, Git references, local paths, etc.), see the [mcpp.toml guide — dependency management](docs/03-mcpp-toml.md).
227
+
> For more dependency options (version constraints, namespaces, Git references, local paths, etc.), see the [mcpp.toml guide — dependency management](docs/04-mcpp-toml.md).
228
228
229
229
## Feature Overview
230
230
@@ -418,12 +418,12 @@ verified — CI builds **and executes** the artifact end-to-end (qemu/wine inclu
418
418
## Documentation
419
419
420
420
-[Getting Started](docs/01-getting-started.md) — install → new → build → run in 5 minutes
0 commit comments