Skip to content

docs: fix broken relative links across the docs tree#321

Merged
DemchaAV merged 1 commit into
2.0-devfrom
docs/fix-broken-relative-links
Jul 6, 2026
Merged

docs: fix broken relative links across the docs tree#321
DemchaAV merged 1 commit into
2.0-devfrom
docs/fix-broken-relative-links

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Why

The docs carried ~50 relative markdown links that no longer resolved. Two causes: the 2.0 module split moved tests into the render-pdf/ and qa/ modules and examples into examples/features/*, and #316 deleted the legacy ECS test harness (com.demcha.compose.testsupport.engine.assembly.*) that a cluster of contributor-doc links pointed at. A few older links were also missing a ../ segment. Pre-existing link rot, not a side effect of the ECS-render-tree removal.

What changed

Repointed moved targets:

  • engine/backend tests → render-pdf/ and qa/ modules (PdfBackendExtensibilityTest, PdfShapeAlphaTest, ListBuilderNestedTest, TableCellComposedContentTest, CanvasLayerBuilderTest, ShapeContainerLayoutSnapshotTest, LayoutSnapshotPublicApiDogfoodTest, CvV2VisualParityTest, TimelineDemoTest)
  • runnable examples → examples/features/* (CanvasLayerExample, InlineShapesExample, LayoutSnapshotRegressionExample, TableAdvancedExample)
  • added the missing ../ on the roadmaps' adr/ and recipes/ links, the @Internal link, and the cv/v2 example directory link
  • v1-classic authoring: hand-built theme → examples/.../support/theme/BusinessTheme.java; invoice end-to-end → InvoiceV2VisualParityTest

Removed dead references (no surviving target):

  • implementation-guide.md: the "Low-level test harness builders" and "test-support ComponentBuilder" sections plus the scattered engine-assembly builder example links — the harness they documented was deleted. Reframed the Case 2.5 table lead-in around the surviving engine contract (TableRow / TableCellBox / TableResolvedCell) and kept the still-valid engine/template links.
  • CONTRIBUTING.md: the deleted ECS-dispatch guard and the two deleted test-harness/dispatch checklist bullets; repointed the pagination checklist bullet to PaginationEdgeCaseTest.

Docs-only; no code or example sources touched.

Verification

  • Relative-link scan over docs/**, CONTRIBUTING.md, README.md: 629 links checked, 0 broken (was 52).
  • ./mvnw test -Dtest=CanonicalSurfaceGuardTest -pl . passes.

Out of scope

The recipe Cases 1–4 in implementation-guide.md still describe object authoring in the old engine-builder vocabulary (ContainerBuilder<T>, "builder base class"). That wording refresh is a separate change, not part of this link cleanup.

Repoint or remove the relative markdown links that stopped resolving
after the 2.0 module split and the removal of the legacy ECS test
harness.

- move engine/backend test links to the render-pdf/ and qa/ modules and
  example links to examples/features/*; add the missing ../ on the
  roadmaps' adr/ and recipes/ links and on the cv/v2 example directory
- v1-classic authoring: link the hand-built theme to
  examples/.../support/theme/BusinessTheme.java and the invoice
  end-to-end reference to InvoiceV2VisualParityTest
- implementation guide: remove the "low-level test harness builders" and
  "test-support ComponentBuilder" sections and the scattered
  engine-assembly builder links (that harness was deleted); reframe the
  table section around the surviving engine contract
- CONTRIBUTING: drop the deleted ECS-dispatch guard/checklist entries and
  repoint the pagination bullet to PaginationEdgeCaseTest

Link scan over docs/**, CONTRIBUTING.md, README.md: 0 broken.
CanonicalSurfaceGuardTest passes.
@DemchaAV DemchaAV force-pushed the docs/fix-broken-relative-links branch from 0c57f6c to 6c71e4f Compare July 6, 2026 15:56
@DemchaAV DemchaAV merged commit 7533b17 into 2.0-dev Jul 6, 2026
10 checks passed
@DemchaAV DemchaAV deleted the docs/fix-broken-relative-links branch July 6, 2026 16:08
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