Skip to content

fix(docs): use absolute paths for images#967

Merged
EstrellaXD merged 2 commits into
mainfrom
fix/docs-image-paths
Jan 27, 2026
Merged

fix(docs): use absolute paths for images#967
EstrellaXD merged 2 commits into
mainfrom
fix/docs-image-paths

Conversation

@EstrellaXD
Copy link
Copy Markdown
Owner

@EstrellaXD EstrellaXD commented Jan 27, 2026

Summary

  • Fixed docs build failure on Vercel caused by unresolved image paths
  • Changed all relative image paths (../image/) to absolute paths (/image/)
  • The image/ folder at docs root is not tracked in git; only public/image/ is tracked
  • VitePress serves public/ folder assets at root, so /image/ correctly references them

Test plan

  • pnpm run docs:build passes locally
  • Verify Vercel deployment succeeds

🤖 Generated with Claude Code

Relative paths (../image/) don't work on Vercel since the image/
folder at docs root is not tracked in git. Only public/image/ is
tracked. Using absolute paths (/image/) correctly references the
public folder assets.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 27, 2026

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

Project Deployment Review Updated (UTC)
auto-bangumi Ready Ready Preview, Comment Jan 27, 2026 10:52am

The images are tracked at docs/public/image/, not docs/image/.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@EstrellaXD EstrellaXD merged commit 7596d04 into main Jan 27, 2026
16 checks passed
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