Skip to content

docs(readme): add a repository module map#368

Merged
DemchaAV merged 1 commit into
2.0-devfrom
docs/readme-module-map
Jul 12, 2026
Merged

docs(readme): add a repository module map#368
DemchaAV merged 1 commit into
2.0-devfrom
docs/readme-module-map

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

The README's Installation section answers "which artifact do I depend on" (the consumer
"which artifact?" table), but nothing in the README explains how the repository is
organised — which modules exist, which are published vs internal, and how to build the whole
thing. A newcomer had to open CONTRIBUTING or the poms to find out.

What

A compact Modules subsection under ## Architecture (complementary to the consumer table,
which answers a different question):

  • Publishedgraph-compose-core (in core/), the render backends, graph-compose-templates,
    graph-compose-testing, and the graph-compose wrapper + graph-compose-bundle.
  • Companion artifacts (independent version lines) — graph-compose-fonts, graph-compose-emoji.
  • Development only (never published) — qa, coverage, examples, benchmarks.
  • One-line build story: the root pom is the reactor aggregator, ./mvnw clean verify builds every
    module, -pl :<artifactId> scopes to one.

Links to CONTRIBUTING for the branch-routing table + full flow (no duplication — CONTRIBUTING owns
routing and the gate).

Docs-only; no build or runtime change.

Tests

CanonicalSurfaceGuardTest, DocumentationCoverageTest, VersionConsistencyGuardTest (README
install-snippet version), PackageMapGuardTest — all green. Install snippets untouched.

The README explained which artifact to depend on but not how the repository
itself is organised. Add a Modules subsection under Architecture: the published
Maven Central coordinates (engine in core/, render backends, templates, testing,
the graph-compose wrapper + bundle), the independently-versioned fonts/emoji
companions, and the development-only modules (qa, coverage, examples,
benchmarks), plus the one-line build story — root pom is the reactor aggregator,
./mvnw clean verify builds every module, -pl :<artifactId> scopes to one.
@DemchaAV DemchaAV merged commit 91e7fce into 2.0-dev Jul 12, 2026
10 checks passed
@DemchaAV DemchaAV deleted the docs/readme-module-map branch July 12, 2026 09:34
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