Skip to content

docs(i18n): fix broken image references in the Croatian and Sinhala READMEs - #50300

Merged
nrichers merged 4 commits into
supabase:masterfrom
sidgaikwad:fix/i18n-readme-image-paths
Oct 31, 2026
Merged

nrichers merged 4 commits into
supabase:masterfrom
sidgaikwad:fix/i18n-readme-image-paths

Conversation

@sidgaikwad

@sidgaikwad sidgaikwad commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Docs fix.

Fixes #50296, reported by @auroraxo, who offered to send this and was waiting on a maintainer's go-ahead. Opening it since the finding checks out and the change is small — happy to close in favor of theirs if they'd prefer.

What is the current behavior?

i18n/README.hr.md and i18n/README.si.md each carry three image references copied from the root README without adjusting for their location:

reference resolves from i18n/ to exists
apps/docs/public/img/supabase-architecture.svg i18n/apps/docs/public/img/supabase-architecture.svg no
./apps/www/public/badge-made-with-supabase.svg i18n/apps/www/public/badge-made-with-supabase.svg no
./apps/www/public/badge-made-with-supabase-dark.svg i18n/apps/www/public/badge-made-with-supabase-dark.svg no

Those paths are correct in the root README.md, which is one directory up. There is no i18n/apps/ directory, so six images are broken across the two files.

What is the new behavior?

Each reference now points at a URL that was checked to return an actual image:

  • architecture diagram → https://raw.githubusercontent.com/supabase/supabase/master/apps/docs/public/img/supabase-architecture.svg, the same raw.githubusercontent.com form these two files already use for the dashboard screenshot at the top
  • badge previews → https://supabase.com/badge-made-with-supabase.svg and -dark.svg, which is exactly what the markdown and HTML samples directly beneath them already tell readers to copy

Only the rendered previews change. The samples inside the fenced code blocks are untouched.

Verified with a request per URL:

raw.githubusercontent.com/.../supabase-architecture.svg   200 image/svg+xml
raw.githubusercontent.com/.../supabase-dashboard.png      200 image/png
supabase.com/badge-made-with-supabase.svg                 200 image/svg+xml
supabase.com/badge-made-with-supabase-dark.svg            200 image/svg+xml

Every image reference in both files now resolves.

Additional context

Worth flagging separately, and deliberately not changed here: most of the other translations reference the diagram as

https://github.com/supabase/supabase/blob/master/apps/docs/public/img/supabase-architecture.svg

That URL responds 200 text/html, not an image — a /blob/ link is the file-viewer page rather than the file. So the majority convention appears to be broken too, just in a different way, which is why this PR did not adopt it. That affects roughly fifty files and felt like scope creep on a two-file fix; happy to send a follow-up if you'd like it swept.

Summary by CodeRabbit

  • Documentation
    • Updated Croatian and Sinhala README images and badges to use hosted URLs.
    • Improved the reliability of architecture diagrams and light/dark “Made with Supabase” badges across documentation.

…EADMEs

Both files carry three image references copied from the root README without adjusting for
their location. `apps/docs/public/img/supabase-architecture.svg` and
`./apps/www/public/badge-made-with-supabase{,-dark}.svg` are correct at the repository root,
but from `i18n/` they resolve to `i18n/apps/...`, which does not exist. Six broken images
across the two files.

Point them at URLs that were checked to return an image:

- the architecture diagram now uses the `raw.githubusercontent.com` form these same files
  already use for the dashboard screenshot at the top
- the badge previews now use the `supabase.com` URLs that the code samples directly beneath
  them already tell readers to copy

Note that most other translations reference the diagram through
`https://github.com/supabase/supabase/blob/master/...svg`, which responds `text/html` rather
than an image. That is a separate problem across roughly fifty files and is left alone here.

Only the rendered previews change; the markdown and HTML samples inside the fenced blocks are
untouched.

Fixes supabase#50296
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

@sidgaikwad is attempting to deploy a commit to the Supabase Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for contributing to Supabase! ❤️ Our team will review your PR.

A few tips for a smoother review process:

  • If you have a local version of the repo, run pnpm run format to make sure formatting checks pass.
  • Once we've reviewed your PR, please don't trivially merge master (don't click Update branch if there are no merge conflicts to be fixed). This invalidates any pre-merge checks we've run.

@vercel

vercel Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
design-system Ready Ready Preview Oct 31, 2026 1:19am UTC
docs Ready Ready Preview, v0 Oct 31, 2026 1:19am UTC
kb Ready Ready Preview Oct 31, 2026 1:19am UTC
studio-self-hosted Ready Ready Preview Oct 31, 2026 1:19am UTC
studio-staging Ready Ready Preview Oct 31, 2026 1:19am UTC
ui-library Ready Ready Preview Oct 31, 2026 1:19am UTC
zone-www-dot-com Ready Ready Preview, v0 Oct 31, 2026 1:19am UTC
1 Skipped Deployment
Project Deployment Actions Updated
studio Ignored Ignored Oct 31, 2026 1:19am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 6f72554 and 7fe9a9e.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 2f03618f-a727-4fa4-a292-f6a4ff13f0a0

📥 Commits

Reviewing files that changed from the base of the PR and between 26585dd and 15f2234.

📒 Files selected for processing (2)
  • i18n/README.hr.md
  • i18n/README.si.md

Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Walkthrough

The Croatian and Sinhala READMEs replace six broken repository-relative image paths with hosted Supabase URLs for architecture diagrams and light/dark badges.

Changes: README image links

Layer / File(s) Summary
Hosted architecture and badge URLs
i18n/README.hr.md, i18n/README.si.md
The architecture diagrams and light/dark Supabase badges now use hosted SVG URLs instead of repository-relative paths.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other · Severity of issue fixed: Low

Merge Risk: Minimal · previous review 15f22

The broken image references are corrected without affecting application behavior or public APIs.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: fixing broken image references in the Croatian and Sinhala READMEs.
Description check ✅ Passed The description follows the repository template and provides complete context, including the change type, current behavior, new behavior, issue reference, verification results, and scope consideration…
Linked Issues check ✅ Passed Issue #50296 requires correction of six broken image references in i18n/README.hr.md and i18n/README.si.md. The diff changes exactly three rendered image references in each file. The architecture …
Out of Scope Changes check ✅ Passed The diff contains changes only in the two files named by issue #50296. It changes only the six broken rendered image references. No unrelated source, sample, or documentation content changed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Hardanish-Singh Hardanish-Singh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nrichers
nrichers merged commit 4bec330 into supabase:master Oct 31, 2026
39 checks passed
@github-project-automation github-project-automation Bot moved this from Community Approved to Done in Open Source Maintainers Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Broken local image paths in Croatian and Sinhala READMEs

4 participants