Skip to content

docs: journey-first documentation refactor - #490

Merged
joshua-temple merged 7 commits into
mainfrom
docs/refactor-campaign
Jul 6, 2026
Merged

joshua-temple merged 7 commits into
mainfrom
docs/refactor-campaign

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Problem

The docs had grown fragmented and had drifted from the code: install steps
duplicated across three pages, workflow flow narrated in three places, phantom
CLI flags and env vars, dead @master refs and stale version pins, and a set
of manifest fields that were never documented or documented with the wrong
emission status.

What this does

Restructures the site into a journey-first, Diataxis-typed information
architecture: start/ (why, how-it-works, getting-started), guides/
(operator how-tos: adopt, environments, promote, hotfix, rollback, simulate,
multi-repo, visualize), reference/ (manifest, callbacks, CLI,
generated-workflows, versioning), a top-level security page, and
internals/. Each concept is single-sourced on one page and cross-linked,
every page leads with the common path and carries a prerequisite and next-step
block, and every manifest field states its true emission status. The README
shrinks to orientation and points into the site.

Verification

  • Docs site builds clean: npm run build exits 0, 23 pages built.
  • Every internal link resolves; the sidebar and every cross-link point at real
    pages.
  • Commands, flags, defaults, env vars, exit codes, the generated-file set, and
    every field's emission status were checked against the code, not the old
    docs. Where the two disagreed, the code won (for example the generated
    orchestrate and promote filenames carry no cascade- prefix).

Reorganize the docs site into start/, guides/, reference/, and internals/
groups with a top-level security page. Each concept is single-sourced on one
page and cross-linked, every page leads with the common path and carries a
prerequisite and next-step block, and every field's emission status (emitted,
validated-only, or reserved) is stated accurately.

Retire the flat page set (workflows, simulate, configuration, cli-reference,
and the rest) and rewrite the sidebar to mirror the reader journey.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
The README now orients and links: pitch, a one-screen how-it-works, a fit
self-check, a minimal quickstart, the accurate generated-file set, a
capabilities snapshot, and a links block into the site groups. The full CLI
table, the duplicate walkthrough, and the stale roadmap prose move out; deep
topics link to their single-source page.

Fix the quickstart step order (callbacks before generate), the generated-file
list, the runs_on capability claim, and the version pin.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
Add a documentation-quality rule to CONTRIBUTING: pages are typed to one
Diataxis mode, depth is layered common-path-first, each concept is
single-sourced, every field's emission status is stated accurately, and every
page carries a prerequisite and next-step link.

Update the SECURITY.md links to the relocated versioning and security pages.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@github-actions

github-actions Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

All PR Validation checks passed.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit 12656a3 into main Jul 6, 2026
16 of 17 checks passed
@joshua-temple
joshua-temple deleted the docs/refactor-campaign branch July 6, 2026 17:47
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