Skip to content

docs: restructure the README into a landing page with topic guides - #14

Merged
Cenadros merged 1 commit into
mainfrom
docs/readme-restructure
Sep 14, 2026
Merged

Cenadros merged 1 commit into
mainfrom
docs/readme-restructure

Conversation

@Cenadros

Copy link
Copy Markdown
Contributor

Summary

Researched how ruff, qlty, knip, dependency-cruiser, jscpd, pre-commit and reviewdog structure their READMEs: short landing page, one quick-start path, command table, one CI block, one real output sample, reference in docs. Applied that shape.

  • README.md: 131 lines (was 2760 words). Why → Getting started (3 steps) → What you get (real check sample) → Commands table → CI caller → minimal configuration → Documentation index → Versioning.
  • docs/configuration.md, docs/checks.md (replaces quality-gate.md), docs/ci.md, docs/security.md, docs/development.md: all previous content redistributed; no unique fact dropped (verified section by section), duplicates collapsed.
  • launcher/README.md (npm page): mirrors the getting-started path and command table; lands on npmjs.com with the next release.
  • Fact-checked against the code; inherited inaccuracies corrected: sample output rule names / adapter ids / skip reason, CI refusal covers CI=true|1|yes too, container user semantics, FORCE_COLOR=0, discovery happens in every command not just init, hand-publish steps, fixture count, Knip prerequisite fields, built-in exclusions list, Drupal excluded paths.

Docs only. No code, no release.

Test plan

  • vitest 532/532, dogfood check PASS (no code touched; sanity)
  • all relative links and anchors resolve (scripted)
  • two review passes: information coverage vs the old docs, factual accuracy vs the code; verification pass after fixes

…der docs/

The README now covers why, getting started in three steps, a real
check sample, a command table, one CI caller and a minimal
configuration. Reference material moves to docs/configuration.md,
docs/checks.md (replacing quality-gate.md), docs/ci.md,
docs/security.md and docs/development.md. The npm README mirrors the
getting-started path. Every statement was checked against the code;
several inherited inaccuracies (sample output rule names and adapter
ids, CI refusal scope, container user, FORCE_COLOR=0, discovery
attribution, hand-publish steps) are corrected on the way.
@Cenadros
Cenadros requested a review from a team September 14, 2026 10:33
@Cenadros
Cenadros merged commit 1fe48bd into main Sep 14, 2026
8 checks passed
@Cenadros
Cenadros deleted the docs/readme-restructure branch September 14, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant