Skip to content

fix(docs): 修复 EN feature-entry 坏图片路径,恢复 Vercel 构建#18

Merged
yi-ge merged 1 commit into
mainfrom
fix/en-feature-entry-image-paths
Jun 27, 2026
Merged

fix(docs): 修复 EN feature-entry 坏图片路径,恢复 Vercel 构建#18
yi-ge merged 1 commit into
mainfrom
fix/en-feature-entry-image-paths

Conversation

@yi-ge

@yi-ge yi-ge commented Jun 27, 2026

Copy link
Copy Markdown
Member

问题 / Problem

EN 07-feature-entry.md 用相对路径 picture/*.png(该目录无 picture/),导致 Docusaurus MDX 编译失败、Vercel 部署中断:

MDX compilation failed ... Markdown image with URL `picture/main1.png` couldn't be resolved

修复 / Fix

5 处图片路径改为与中文版一致的绝对静态路径 /img/user-guide/feature-entry/*(静态文件均已存在)。已全量校验 docs/ + i18n/en 所有 markdown 图片引用可解析。

EN 07-feature-entry.md 用了相对路径 picture/*.png(EN 目录无 picture/),
导致 Docusaurus MDX 编译失败、Vercel 部署中断。改为与中文版一致的绝对静态路径
/img/user-guide/feature-entry/*。已全量校验 docs/ + i18n/en 所有图片引用可解析。
Copilot AI review requested due to automatic review settings June 27, 2026 14:27
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 27, 2026 2:28pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@yi-ge yi-ge merged commit 882adf9 into main Jun 27, 2026
4 checks passed
@yi-ge yi-ge deleted the fix/en-feature-entry-image-paths branch June 27, 2026 14:28
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.

2 participants