Skip to content

fix(docs): replace stale v3 doc links with v4 equivalents#2786

Merged
mivds merged 1 commit into
mainfrom
fix/replace-v3-doc-links
Jul 13, 2026
Merged

fix(docs): replace stale v3 doc links with v4 equivalents#2786
mivds merged 1 commit into
mainfrom
fix/replace-v3-doc-links

Conversation

@mivds

@mivds mivds commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Context

A customer cloned the repo and followed a v3 docs link found on the main branch, ending up on the wrong (legacy) process. This PR replaces the remaining v3-era doc links with their v4 equivalents.

Changes

soda_data_contract_json_schema_1_0_0.json (user-facing via IDE validation/hover while authoring contracts):

exit_codes.py:

  • The ExitCode docstring linked to the v3 Soda Library docs (docs.soda.io/soda-library/programmatic.html#scan-exit-codes). No v4 page documents Soda Core's exit codes — the sodacli reference documents different exit-code semantics (2 = execution error there, vs. check warnings here) — so the codes are now documented inline in the docstring instead.

Both replacement pages/anchors were verified to exist on docs.soda.io. The v3 links in the README's clearly-labeled "Working with legacy Soda Core v3" section are intentional and left untouched.

Notes / follow-ups (not in this PR)

  • Direct long links are used instead of go.soda.io shortlinks: no suitable shortlinks exist yet for these targets, and the closest existing ones (go.soda.io/schema, go.soda.io/contracts) still redirect to v3 pages. Once v4-targeted slugs are created (e.g. contract-schema-check, contract-thresholds), swapping them in is a trivial follow-up.
  • Docs gap: Soda Core's CLI exit codes (0–4) aren't documented anywhere in the v4 docs.

🤖 Generated with Claude Code

Customers following doc links from the main branch were landing on v3
(SodaCL / Soda Library) documentation and following the wrong process.

- JSON contract schema: point the schema check description at the v4
  contract language reference (#schema-check) instead of the v3 SodaCL
  page, and the threshold descriptions at #thresholds instead of the
  dead docs.soda.io/#thresholds anchor. Also drop two leftover 'YY '
  prefixes in threshold descriptions.
- exit_codes.py: the ExitCode docstring linked to the v3 Soda Library
  docs; no v4 page documents Soda Core exit codes (the sodacli page
  documents different semantics), so document the codes inline instead.

The v3 links in the README's 'Working with legacy Soda Core v3' section
are intentional and left as-is.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@mivds mivds self-assigned this Jul 10, 2026
@mivds
mivds requested a review from a team July 10, 2026 15:54
@mivds
mivds merged commit ddc39ec into main Jul 13, 2026
22 checks passed
@mivds
mivds deleted the fix/replace-v3-doc-links branch July 13, 2026 12:07
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.

2 participants