Say each quick start's intro links its in-depth section

This commit is contained in:
2026-10-01 19:45:20 +02:00
parent 40cd9cebf3
commit 5028936bb4
+1 -1
View File
@@ -82,7 +82,7 @@ Prose describing the code as it stands — a comment, a README, an `AGENTS.md`,
### Package README (what someone finds on npm or GitHub)
- The public API is the contract, so the README documents it: options, results, events, everything exported. The rule against narrating a file or test case still holds.
- Sections, in order: install, the main task, the next task, and so on. The reference half — options tables, in-depth behaviour, low-level API, development — goes below the quick starts. An intro is a line or two that points at the in-depth section.
- Sections, in order: install, the main task, the next task, and so on. The reference half — options tables, in-depth behaviour, low-level API, development — goes below the quick starts. Each quick start opens with a line or two that links its in-depth section.
- Keep every documented behaviour, as facts, bullets and tables rather than paragraphs. Where the README is the only record of a behaviour, cutting it is a decision to ask about, not a tidy-up.
- Write for the app developer using the package.
- Top: badges (package version, CI), a one-line tagline that is also the package manifest's description, a feature list, a one-line table of contents. Near the bottom: a table of everything exported.