docs: fix broken relative links in translated READMEs - #3858
Open
ZayanKhan-12 wants to merge 1 commit into
Open
Conversation
The Japanese, Korean, Russian and Chinese READMEs live in doc/, but several links were copied from the root README without adjusting for the extra directory level, so they 404 on GitHub: - the Manpage syntax link dropped the 02_Extra/ path component and/or the ../ prefix (ja, ko, ru, zh) - doc/alternatives.md and doc/assets.md resolved to doc/doc/... (ru, zh) - CONTRIBUTING.md, LICENSE-APACHE and LICENSE-MIT pointed inside doc/ instead of the repository root (ru, zh) All links now resolve to existing files; verified by resolving every relative link in the translated READMEs against the filesystem. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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 translated READMEs (
doc/README-ja.md,-ko.md,-ru.md,-zh.md) live one directory deeper than the EnglishREADME.md, but several links were copied over without adjusting for that, so they 404 when viewed on GitHub:02_Extra/path component and/or the../prefix; the file is atassets/syntaxes/02_Extra/Manpage.sublime-syntaxdoc/alternatives.md/doc/assets.md(ru, zh) — resolved todoc/doc/...; corrected toalternatives.md/assets.mdCONTRIBUTING.md,LICENSE-APACHE,LICENSE-MIT(ru, zh) — pointed insidedoc/instead of the repository root; corrected to../…The translations were already inconsistent (ko had
../but the wrong02_Extra; ru/zh had02_Extrabut no../), which is what surfaced this.Verification
Resolved every relative link in all
doc/README-*.mdagainst the filesystem before and after: the four files had 12 broken links; after the change 0 remain, and no other translated README is affected. Docs-only.🤖 Generated with Claude Code