Skip to content

fix(docs): add noop image service to prevent sharp errors#357

Merged
christso merged 1 commit intomainfrom
fix/docs-noop-image-service
Apr 1, 2026
Merged

fix(docs): add noop image service to prevent sharp errors#357
christso merged 1 commit intomainfrom
fix/docs-noop-image-service

Conversation

@christso
Copy link
Copy Markdown
Contributor

@christso christso commented Apr 1, 2026

Summary

  • Add noop image service to docs astro config to prevent MissingSharp build failures if images are added in the future

Context

The docs site doesn't install sharp, so Astro's default image optimization would fail if any PNG/JPG images were added. This was hit in the sibling agentv repo (EntityProcess/agentv#890). Adding the noop service as a preventive measure.

Test plan

  • Existing docs build still works
  • Pre-push hooks pass

🤖 Generated with Claude Code

Without this, adding any image to the docs will fail the build with
MissingSharp since sharp is not installed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: f1ff084
Status: ✅  Deploy successful!
Preview URL: https://4005a77b.allagents.pages.dev
Branch Preview URL: https://fix-docs-noop-image-service.allagents.pages.dev

View logs

@christso christso merged commit 754798d into main Apr 1, 2026
1 check passed
@christso christso deleted the fix/docs-noop-image-service branch April 1, 2026 02:07
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