Skip to content

docs: fix wrong-depth doc links and complete the sealed-type list#289

Merged
DemchaAV merged 1 commit into
2.0-devfrom
docs/2.0-link-depth-and-sealed-list
Jul 3, 2026
Merged

docs: fix wrong-depth doc links and complete the sealed-type list#289
DemchaAV merged 1 commit into
2.0-devfrom
docs/2.0-link-depth-and-sealed-list

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Why

Two accuracy leftovers from the 2.0 docs pass, both caught by a link/reference sweep.

What

  • Wrong-depth source linksdocs/contributing/implementation-guide.md linked every source file with a ./../src/... prefix that resolves one directory too high (to the repo parent). Correct all 40 to ../../src/..., point the one dead ButtonBuilder example at the real sibling CircleBuilder, and repoint the two docs/recipes.md index links that had dropped their contributing/ and roadmaps/ path segment.
  • Incomplete sealed listdocs/api-stability.md §2 named only CvSection, InlineRun, ShapeOutline while five other public sealed types exist. Add ChartSize, ChartSpec, DocumentLinkTarget, DocumentPaint, DocumentPathSegment so the list matches the real public sealed surface (verified complete — no non-@Internal public sealed type is now missing).

Tests

Docs only. All 100 relative links in the three touched files verified to resolve. Documentation guards (DocumentationCoverageTest, CanonicalSurfaceGuardTest, VersionConsistencyGuardTest, PackageMapGuardTest, DocumentationExamplesTest) — 34 tests, 0 failures.

Two accuracy fixes left over from the 2.0 docs pass:

- The contributing implementation guide linked every source file with a
  `./../src/...` prefix that resolves one directory too high; correct it
  to `../../src/...` (40 links), point the one dead `ButtonBuilder`
  example at the real `CircleBuilder`, and repoint the two recipes-index
  links that dropped their `contributing/` and `roadmaps/` path segment.
- The api-stability sealed-hierarchy list named only three of the public
  sealed types; add the five it omitted — `ChartSize`, `ChartSpec`,
  `DocumentLinkTarget`, `DocumentPaint`, `DocumentPathSegment` — so the
  list matches the actual public sealed surface.

Docs only; the documentation guard tests pass.
@DemchaAV DemchaAV merged commit 8b90910 into 2.0-dev Jul 3, 2026
11 checks passed
@DemchaAV DemchaAV deleted the docs/2.0-link-depth-and-sealed-list branch July 3, 2026 12:36
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