Skip to content

docs(templates): redraw the cv.v2 layer diagrams for the extracted core#255

Merged
DemchaAV merged 1 commit into
2.0-devfrom
docs/templates-core-diagrams
Jun 28, 2026
Merged

docs(templates): redraw the cv.v2 layer diagrams for the extracted core#255
DemchaAV merged 1 commit into
2.0-devfrom
docs/templates-core-diagrams

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

After the core extraction (#248#252), the cv.v2 author docs still drew the pre-extraction structure — ASCII "layer" diagrams that put theme and the neutral header widgets inside cv.v2, a "5 layers" framing, a 9-preset list, and javadoc referencing a phantom CvTemplate and a create(BusinessTheme) factory that no longer matches the per-family theme types.

What

  • cv/v2/package-info + quickstart: redraw the ASCII layer diagrams as "four CV layers (data / components / widgets / presets), built on the shared templates.core.*"; header bricks (Headline, ContactLine, …) shown in core.identity, preset count corrected to 16, theme/text in core.theme / core.text. Boxes are width-padded so borders align.
  • AUTHORS.md: layer list corrected to the four CV layers + shared core.
  • DocumentTemplate.java: dropped the v1.6 migration-window wording + phantom CvTemplate; the create(theme) factory's theme type is per-family — BrandTheme for the cv / cover-letter presets and the layered invoice / proposal presets.
  • themes/Spacing + Typography: reworded the dangling historical BrandTheme.spacing / .defaultTheme() {@code} references.

Docs/javadoc only — no code or behaviour change.

Tests

./mvnw verify javadoc:javadoc -pl . → BUILD SUCCESS, 1612 tests, 0 failures; javadoc report clean.

The cv.v2 package now owns four layers (data / components / widgets /
presets); theme, the neutral header widgets, and the markdown/text
helpers moved to templates.core.*. Update the docs that still drew the
pre-extraction structure.

- cv/v2/package-info + quickstart: redraw the ASCII layer diagrams as
  "four CV layers, built on the shared core"; correct the widget homes
  (header bricks in core.identity), preset count (16), and the theme /
  text attributions.
- AUTHORS: correct the layer list.
- DocumentTemplate: drop the v1.6 migration-window wording and the
  phantom CvTemplate; the factory theme type is per-family (BrandTheme
  for cv / cover-letter and the layered invoice / proposal presets).
- themes/Spacing + Typography: reword the dangling historical
  BrandTheme.spacing / .defaultTheme() references.
@DemchaAV DemchaAV merged commit c606fd0 into 2.0-dev Jun 28, 2026
11 checks passed
@DemchaAV DemchaAV deleted the docs/templates-core-diagrams branch June 28, 2026 19:05
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