Skip to content

Fix broken Grafana alerting menu image - #73

Merged
ssassi merged 1 commit into
mainfrom
fix/grafana-alerting-image
Nov 9, 2026
Merged

ssassi merged 1 commit into
mainfrom
fix/grafana-alerting-image

Conversation

@ssassi

@ssassi ssassi commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

A site audit flagged a broken image on View failed git sync. The raw <img> pointed at /how-tos/metrics-and-logs/assets/grafana-alerting-menu.jpg, which doesn't exist on the built site, so it returned 404.

This PR loads the image with src={require('./assets/grafana-alerting-menu.jpg').default}, so Docusaurus bundles it like the Markdown image above it, and keeps the explicit width/height.

Verified with npm run build: the build succeeds, and the page now references /assets/images/grafana-alerting-menu-<hash>.jpg, which exists in the output.

🤖 Generated with Claude Code

The raw <img> used an absolute /how-tos/... path that doesn't exist on
the built site, so the image 404'd. Load it through require() so
Docusaurus bundles the asset, keeping the explicit width/height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ssassi ssassi self-assigned this Nov 9, 2026
@ssassi
ssassi merged commit d69c694 into main Nov 9, 2026
2 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