fix(docs): 修复 EN feature-entry 坏图片路径,恢复 Vercel 构建#18
Merged
Conversation
EN 07-feature-entry.md 用了相对路径 picture/*.png(EN 目录无 picture/), 导致 Docusaurus MDX 编译失败、Vercel 部署中断。改为与中文版一致的绝对静态路径 /img/user-guide/feature-entry/*。已全量校验 docs/ + i18n/en 所有图片引用可解析。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR fixes broken image references in the English documentation page 07-feature-entry.md that were using a non-existent picture/ directory, which caused MDX compilation failures and blocked Vercel deployments. It aligns the EN doc with the CN doc’s established convention of using absolute static paths under /img/user-guide/feature-entry/.
Changes:
- Replaced 5 invalid relative image URLs (
picture/*) with absolute Docusaurus static URLs (/img/user-guide/feature-entry/*). - Restored resolvable image links for the EN feature-entry guide to prevent MDX build failures.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
问题 / Problem
EN
07-feature-entry.md用相对路径picture/*.png(该目录无picture/),导致 Docusaurus MDX 编译失败、Vercel 部署中断:修复 / Fix
5 处图片路径改为与中文版一致的绝对静态路径
/img/user-guide/feature-entry/*(静态文件均已存在)。已全量校验docs/+i18n/en所有 markdown 图片引用可解析。