Repository navigation
docs: fix broken relative links in the 1-Intro Japanese translation - #787
Open
viwe-monai wants to merge 1 commit into
Open
viwe-monai wants to merge 1 commit into
viwe-monai wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
What
The Japanese translation
lessons/1-Intro/translations/README.ja.mdembeds images and links to sibling lessons with paths copied fromlessons/1-Intro/README.mdwithout adjusting for the extratranslations/directory level, so all seven resolve to non-existent locations when rendered on GitHub. This PR adds the missing../level to each:images/dsh_age.png../images/dsh_age.pngimages/photo-cat.jpg../images/photo-cat.jpgimages/ml-for-beginners.png../images/ml-for-beginners.pngimages/ilsvrc.gif../images/ilsvrc.gif../4-ComputerVision/07-ConvNets/README.md../../4-ComputerVision/07-ConvNets/README.md../5-NLP/README.md../../5-NLP/README.mdassignment.md../assignment.mdWhy
Four image embeds render as broken images and three lesson/assignment links lead to 404 for readers of the Japanese translation. (Fixes nothing behavioral; this is the same stale-relative-path class as #784, which covered the top-level
translations/README.ja.md.)How it was verified
Every fixed target was checked to exist in the repo tree at its resolved path (via
git/trees/main?recursive=1):lessons/1-Intro/images/dsh_age.png,lessons/1-Intro/images/photo-cat.jpg,lessons/1-Intro/images/ml-for-beginners.png,lessons/1-Intro/images/ilsvrc.giflessons/4-ComputerVision/07-ConvNets/README.md,lessons/5-NLP/README.md,lessons/1-Intro/assignment.mdNo relative link in the file points outside the repo or at a path missing from the tree after this change.
Follow-ups deliberately left out
The same wrong-relative-depth class exists in some files under
translations/(for exampletranslations/ar/lessons/0-course-setup/setup.mdand theX1-MultiModaltranslated-image links). Left out to keep this diff to the one file, so this PR stays trivially reviewable.