Skip to content

docs: document the per-component monorepo model - #531

Merged
joshua-temple merged 1 commit into
mainfrom
feat/component-docs
Jul 8, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
feat/component-docs

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

What

Public documentation for the multi-component (monorepo) model, now that the behavior has shipped.

  • How-to (guides/components.md, new): splitting a repository into components, distinct from the multi-repo guide.
  • Reference (reference/manifest.md): the components: block, required path/tag_prefix, the inheritable per-component overrides, the repository-wide fields rejected per component, the concurrency-group rejection, and the tag-namespace collision error.
  • Reference (reference/versioning.md): per-component versioning moved into a live section (path-scoped commits, strict per-component tag namespace, state.components.<name>.<env>).
  • Explanation (start/how-it-works.md): multi-component is the native schema_version: 1 shape; a manifest with no components: block is one implicit component with byte-identical output, so single-component users are unaffected and nothing needs migrating.
  • README capability row.

Verification

Docs site builds: npm run build succeeds (24 pages). Guardrail scan of the changed docs is clean. The multi-component manifest example is schema-valid.

Refs #298, #503.

Add a how-to guide for splitting a repository into components, distinct from the multi-repo guide, and document the components manifest block in the reference (required path and tag_prefix, the inheritable per-component overrides, the repository-wide fields rejected per component, the concurrency group rejection, and the tag-namespace collision error). Move per-component versioning into a live reference section, and add a short explanation that multi-component is the native schema_version 1 shape: a manifest with no components block is one implicit component that generates byte-identical output, so single-component users are unaffected and nothing needs migrating. Add a multi-component row to the README capability table.

Refs #298, #503.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit 42bf050 into main Jul 8, 2026
16 checks passed
@joshua-temple
joshua-temple deleted the feat/component-docs branch July 8, 2026 14:33
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