Repository navigation
docs(i18n): fix broken image references in the Croatian and Sinhala READMEs - #50300
Conversation
…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
|
@sidgaikwad is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| 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 #50296requires correction of six broken image references ini18n/README.hr.mdandi18n/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.
Comment @coderabbitai help to get the list of available commands.
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.mdandi18n/README.si.mdeach carry three image references copied from the root README without adjusting for their location:i18n/toapps/docs/public/img/supabase-architecture.svgi18n/apps/docs/public/img/supabase-architecture.svg./apps/www/public/badge-made-with-supabase.svgi18n/apps/www/public/badge-made-with-supabase.svg./apps/www/public/badge-made-with-supabase-dark.svgi18n/apps/www/public/badge-made-with-supabase-dark.svgThose paths are correct in the root
README.md, which is one directory up. There is noi18n/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:
https://raw.githubusercontent.com/supabase/supabase/master/apps/docs/public/img/supabase-architecture.svg, the sameraw.githubusercontent.comform these two files already use for the dashboard screenshot at the tophttps://supabase.com/badge-made-with-supabase.svgand-dark.svg, which is exactly what the markdown and HTML samples directly beneath them already tell readers to copyOnly the rendered previews change. The samples inside the fenced code blocks are untouched.
Verified with a request per URL:
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
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