Skip to content

fix: 同步assets资源到i18n英文目录,修复构建失败 - #5

Merged
yi-ge merged 1 commit into
desirecore:mainfrom
mashagua:fix-i18n-assets
Apr 22, 2026
Merged

fix: 同步assets资源到i18n英文目录,修复构建失败#5
yi-ge merged 1 commit into
desirecore:mainfrom
mashagua:fix-i18n-assets

Conversation

@mashagua

Copy link
Copy Markdown
Contributor

问题

PR #4 合并后,Docusaurus 构建英文版失败,报错:

Error: Markdown image with URL `./assets/sales-data-analysis-report.jpeg` in source file "i18n/en/.../06-data-analysis-agent.md" couldn't be resolved to an existing local image file.

原因

英文翻译文件(i18n/en/)引用了 ./assets/ 下的图片,但 assets 资源只放在了中文 docs/ 目录下,英文目录下没有对应文件。

修复

将 3 个图片文件和 6 个资源文件同步到英文目录:

  • ✅ sales-data-analysis-report.jpeg
  • ✅ microservice-architecture.png
  • ✅ gucci-products-scraping.png
  • ✅ flowchart/microservice-architecture.drawio
  • ✅ web-scraping/gucci_handbags.xlsx
  • ✅ data-analysis/ 下的 docx/pdf/xlsx 文件

@vercel

vercel Bot commented Apr 21, 2026

Copy link
Copy Markdown

@mashagua is attempting to deploy a commit to the yige's Team Team on Vercel.

A member of the Team first needs to authorize it.

@mashagua

Copy link
Copy Markdown
Contributor Author

Hi @yi-ge, this PR fixes the English version build error (missing image assets in i18n/en/). All images have been synced. Could you please review and merge when you get a chance? Thanks! 🙏

@yi-ge
yi-ge merged commit 96fcef9 into desirecore:main Apr 22, 2026
1 check failed
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