Reviewer · Documentation
Verify docs against implementation
Before publishing, cross-check every documentation claim against the actual code and observed behavior rather than assumption or convenience. Use the exact strings the system produces (error messages, flag names, config keys, metric names) instead of paraphrased approximations — e.g. quote the literal error text from `config.go` rather than a reworded...
Before publishing, cross-check every documentation claim against the actual code and observed behavior rather than assumption or convenience. Use the exact strings the system produces (error messages, flag names, config keys, metric names) instead of paraphrased approximations — e.g. quote the literal error text from config.go rather than a reworded version. Precisely describe what an API/endpoint/setting actually does (e.g. clarify that /ingester/prepare_shutdown only marks the ingester and doesn’t itself flush or leave the ring), and don’t conflate related but distinct concepts (e.g. deployment replica count vs. replication factor). When a statement in prose contradicts the code or tests, fix the prose to match the verified behavior, and spell out the full mechanism (e.g. why a step “never flushes” is wrong if an idle-timeout flush exists).
In addition, keep terminology and formatting consistent across a page and across all related pages: pick one term for a concept (e.g. “planner version 1/2”, not “plan” in one place and “planner” in another), reference other settings by their exact configuration name so readers can find them, and reuse standard shortcodes/admonition formats (e.g. the experimental-feature warning with “No SLA,” required Engineering/on-call language, and any hard dependency links) on every page of a feature set, since readers often land on any page via search. Spell out acronyms on first use, prefer versioned absolute URLs for cross-doc links where that’s the established pattern, avoid embedding volatile implementation details (like file paths) that go stale quickly, and never hand-edit generated files (e.g. configuration.md) — update the source and regenerate instead.