Skip to content

HDDS-16237. Chinese versioned docs are missing all local images in vendored HTML pages - #535

Open
shuan1026 wants to merge 1 commit into
apache:masterfrom
shuan1026:HDDS-16237
Open

HDDS-16237. Chinese versioned docs are missing all local images in vendored HTML pages#535
shuan1026 wants to merge 1 commit into
apache:masterfrom
shuan1026:HDDS-16237

Conversation

@shuan1026

@shuan1026 shuan1026 commented Aug 20, 2026

Copy link
Copy Markdown

What changes were proposed in this pull request?

The zh (Chinese) versioned docs under static/docs/2.0.0/zh/** and static/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 .html files were vendored for zh — 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 zh subdirectories, using the same filenames and relative paths, for both 2.0.0 and 1.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 zh subdirectories under static/docs/2.0.0/ and static/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's zh tree.

Before the fix:
before fix

After the fix:
after fix

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.

1 participant