Commit Graph
4 Commits
Author SHA1 Message Date
Kody JacksonandClaude Sonnet 5.5 671c94e868 chore(docs,kb) - Update 301 destinations to final resolution + fix some 404s (#53553)
## Context

Lots of links that initially go to 301's within docs / kb. Updates these
to their resolved target.

Ask your Claude Code to review the new destinations programmatically.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 15:10:08 +00:00
Siddharth GaikwadandNik Richers 4bec330f74 docs(i18n): fix broken image references in the Croatian and Sinhala READMEs (#50300)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/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.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-30 18:53:34 -07:00
Katerina Skroumpelou cf17967a3a chore: update readme js sdk links (#41198) 2025-12-16 14:42:22 +02:00
lukamandic 2ce358042f Created a croatian readme translation and added entries to languages.md and README.md (#33711)
created a croatian readme translation and added entries to languages.md and README.md
2025-07-28 20:47:07 +00:00