fix(docs-sync): rewrite changelog migration links to hosted site pages#115
Merged
Conversation
…sdk/migration/vXY/ pages CHANGELOG.md links docs/migration-X.Y.md repo-relatively; copied verbatim into the landing changelog.mdx those 404 on mostlyright.md. Rewrite only the parenthesized markdown link targets in the sync pipeline; inline-code display text is untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Parity ticket gate: PASSED See |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The changelog sync step copies CHANGELOG.md verbatim, so repo-relative
docs/migration-X.Y.mdlink targets 404 on https://mostlyright.md/docs/sdk/changelog/. This adds a sed to the existing transformation pipeline that rewrites parenthesized markdown link targets to the landing site's hosted pages (/docs/sdk/migration/vXY/) — e.g.(docs/migration-1.15.md)→(/docs/sdk/migration/v115/). Inline-code display text is untouched.Verified locally against the current CHANGELOG.md: 3 link targets rewritten (v115/v114/v113), prose mentions unchanged. Companion PR in the landing repo adds the missing
v114migration page so all three targets resolve. After merge I'll re-run the workflow viaworkflow_dispatch(tag v1.15.0) to refresh the live page.🤖 Generated with Claude Code