Files
supabase/apps/design-system/config/site.ts
2b85c37aea fix: broken links from the Web 404 Review, week of 2026-10-26 (#52617)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1793584471038389?thread_ts=1793584471.038389&cid=C076KTY11DF)_

## Problem

The weekly Web 404 Review found broken URLs that are emitted by links in
this repo, or that a redirect can send to a live page. I fixed the ones
I confirmed in the code. Each fix is its own commit, so any one of them
can be dropped by reverting that commit.

## Solution

| Path that 404s | App | Change |
| --- | --- | --- |
| `/blog/sitemap.xml` | www | Add a permanent redirect to
`/sitemap_www.xml` in `apps/www/lib/redirects.js`, next to the existing
`/blog/rss.xml` redirect. Old supabase.io links still point at this
legacy per-section sitemap. |
| `/partners/sitemap.xml` | www | Add a permanent redirect to
`/sitemap_www.xml` in `apps/www/lib/redirects.js`, next to the other
`/partners/*` redirects. Same legacy supabase.io source. |
| `/design-system/og.jpg` | design-system |
`apps/design-system/config/site.ts`: `ogImage` pointed at a file that
was never added to the app. Point it at
`https://supabase.com/docs/img/supabase-og-image.png`, the shared OG
image that docs, learn, and kb already use. That image is 1200x600, so
`og:image:height` in
`apps/design-system/app/(app)/docs/[[...slug]]/page.tsx` changes from
630 to 600 to match. |
| `/docs/reference/auth/config` | docs |
`apps/docs/spec/supabase_kt_v1.yml`, `supabase_kt_v2.yml`,
`supabase_kt_v3.yml`, `supabase_swift_v1.yml`, `supabase_swift_v2.yml`:
the refresh token rotation and `REFRESH_TOKEN_REUSE_INTERVAL` links now
go to
`/docs/guides/local-development/cli/config#auth.enable_refresh_token_rotation`
and `#auth.refresh_token_reuse_interval`, matching the Dart v2 spec.
Also add a permanent redirect from `/docs/reference/auth/config` to
`/docs/guides/local-development/cli/config` in
`apps/docs/lib/redirects/static-redirects.json`, so external links to
the old URL stop 404ing. |
| `/app/settings/api-keys` | docs |
`elevenlabs-generate-speech-stream.mdx` and
`elevenlabs-transcribe-speech.mdx`: the ElevenLabs API key link was a
relative path that resolved on supabase.com. It now uses
`https://elevenlabs.io/app/developers/api-keys`, the current ElevenLabs
path (`/app/settings/api-keys` 308s there). The code-sample comments on
both pages use the same URL. |

I left out the other lines in the review. They need feature work, live
outside this repo, or come from stale clients with no matching link in
the code.

## To test

- [x] www preview: open `/blog/sitemap.xml`. It should 308 redirect to
`/sitemap_www.xml` and render the sitemap.
- [x] www preview: open `/partners/sitemap.xml`. It should 308 redirect
to `/sitemap_www.xml` and render the sitemap.
- [x] design-system preview: view source on any
`/design-system/docs/...` page. The `og:image` and `twitter:image` meta
tags should be `https://supabase.com/docs/img/supabase-og-image.png`,
and that URL should load an image. `og:image:height` should be `600`.
- [x] docs preview: open `/docs/reference/kotlin/auth-setsession` and
`/docs/reference/swift/auth-setsession`. The "Refresh token rotation"
and `REFRESH_TOKEN_REUSE_INTERVAL` links should open the matching
sections of `/docs/guides/local-development/cli/config`.
- [x] docs preview: open `/docs/reference/auth/config`. It should 308
redirect to `/docs/guides/local-development/cli/config`.
- [x] docs preview: open `/docs/reference/auth`. It should still 308
redirect to `/docs/reference/self-hosting-auth/start`, so the new
`/docs/reference/auth/config` entry doesn't collide with it.
- [x] docs preview: open
`/docs/guides/functions/examples/elevenlabs-generate-speech-stream` and
`/docs/guides/functions/examples/elevenlabs-transcribe-speech`. The "API
key" link under Requirements should go to
`https://elevenlabs.io/app/developers/api-keys`.

## Checklist

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

## Linear

- fixes GROWTH-1409

---
_Generated by [Claude
Code](https://claude.ai/code/session_011aGhSAkL6hxEkWQxXbNazM)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2026-11-02 18:29:52 +08:00

18 lines
601 B
TypeScript

export const siteConfig = {
name: 'Supabase Design System',
url: 'https://supabase.com/design-system',
ogImage: 'https://supabase.com/docs/img/supabase-og-image.png',
description: 'Design System of Supabase',
links: {
twitter: 'https://twitter.com/supabase',
github: 'https://github.com/supabase/supabase/tree/master/apps/design-system',
credits: {
radix: 'https://www.radix-ui.com/themes/docs/overview/getting-started',
shadcn: 'https://ui.shadcn.com/',
geist: 'https://vercel.com/geist/introduction',
},
},
}
export type SiteConfig = typeof siteConfig