HDDS-16237. Chinese versioned docs are missing all local images in vendored HTML pages - #535
Open
shuan1026 wants to merge 1 commit into
Open
HDDS-16237. Chinese versioned docs are missing all local images in vendored HTML pages#535shuan1026 wants to merge 1 commit into
shuan1026 wants to merge 1 commit into
Conversation
…ndored HTML pages
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 changes were proposed in this pull request?
The
zh(Chinese) versioned docs understatic/docs/2.0.0/zh/**andstatic/docs/1.4.1/zh/**are pre-built, vendored HTML snapshots copied verbatim from the old Hugo-based Ozone site. Each language directory is expected to be self-contained, with images sitting next to the HTML that references them (e.g.<img src="Containers.png">). Only the.htmlfiles were vendored forzh— the accompanying local images were never copied alongside them, so every image on the Chinese pages renders broken while the same page in English works fine.This PR copies the missing images from each English version directory into the corresponding
zhsubdirectories, using the same filenames and relative paths, for both2.0.0and1.4.1. No HTML or content changes.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-16237
How was this patch tested?
Copied 78 image files total (39 per version × 2 versions) into the
zhsubdirectories understatic/docs/2.0.0/andstatic/docs/1.4.1/. Verified every image referenced by the Chinese HTML pages now resolves, and confirmed there are no remaining broken local image references in either version'szhtree.Before the fix:

After the fix:
