Skip to content

fix(website): serve author avatar as local asset instead of GitHub hotlink#1377

Merged
ryankert01 merged 1 commit into
apache:mainfrom
ryankert01:website/local-author-avatar
Jun 5, 2026
Merged

fix(website): serve author avatar as local asset instead of GitHub hotlink#1377
ryankert01 merged 1 commit into
apache:mainfrom
ryankert01:website/local-author-avatar

Conversation

@ryankert01

Copy link
Copy Markdown
Member

Summary

ASF infra does not allow hotlinking external images, so the GitHub avatar URL (https://github.com/ryankert01.png) fails to load on the published site.

  • Download the avatar into website/static/img/authors/ and commit it as a local static asset
  • Update docs/blog/authors.yml (the single source of truth synced to website/blog at build time) to reference /img/authors/ryankert.png

This follows the same pattern as the existing mahout-team author entry, which already uses local /img/ paths resolved through useBaseUrl in the custom Author component.

Testing

  • Verified the PNG is a valid 200x200 image served from website/static (Docusaurus serves static/ at the site root)
  • Confirmed website/scripts/sync-docs.js re-syncs docs/blogwebsite/blog on every build (prebuild hook), so the source-of-truth edit propagates

…tlink

ASF infra does not allow hotlinking external images, so the GitHub
avatar URL fails to load on the published site. Download the avatar
into website/static/img/authors/ and reference it locally.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the Mahout website/blog author metadata to stop hotlinking a GitHub avatar (disallowed by ASF infra) and instead reference a local static image asset path.

Changes:

  • Switch ryankert author image_url from a GitHub-hosted URL to a local /img/authors/ryankert.png path (consistent with the existing mahout-team local image pattern).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryankert01 ryankert01 merged commit 38916d3 into apache:main Jun 5, 2026
6 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.

2 participants