Skip to content

Replace S3 URLs with relative paths for images#5051

Merged
cdxker merged 1 commit intomainfrom
mintlify/fix-s3-urls-1775027270
Apr 1, 2026
Merged

Replace S3 URLs with relative paths for images#5051
cdxker merged 1 commit intomainfrom
mintlify/fix-s3-urls-1775027270

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 1, 2026

Summary

  • Replace absolute S3 URLs (mintlify.s3.us-west-1.amazonaws.com) with relative paths for theme and hero images
  • Fixes 403 Forbidden errors caused by missing themes/ folder in the S3 bucket
  • Affected files: customize/themes.mdx (en/es/fr/zh) and index.mdx (en/es/fr/zh)

The images already exist as git-tracked assets in the repo, so relative paths will resolve correctly without depending on S3.


Note

Low Risk
Low risk documentation-only change; the main risk is broken images if the expected /images/... assets aren’t present or paths differ in the deployed environment.

Overview
Switches theme preview and homepage hero images (EN/ES/FR/ZH) from hardcoded S3 URLs to relative /images/... paths.

This removes the docs’ runtime dependency on the mintlify.s3.us-west-1.amazonaws.com bucket for these assets, preventing broken/403 image loads when the bucket paths aren’t available.

Written by Cursor Bugbot for commit 4a56cff. This will update automatically on new commits. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 1, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 1, 2026, 7:11 AM

@cdxker cdxker merged commit 43b3783 into main Apr 1, 2026
5 checks passed
@cdxker cdxker deleted the mintlify/fix-s3-urls-1775027270 branch April 1, 2026 07:14
brandonmcconnell added a commit that referenced this pull request Apr 1, 2026
* Revert "Replace S3 URLs with relative paths for theme and hero images (#5051)"

This reverts commit 43b3783.

* fix: use GitHub raw URLs for image assets

Replace S3 bucket URLs with direct links to GitHub raw content for image assets. This provides a more consistent and reliable source for images used across the documentation pages.
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