Files
Nik Richers 6418820b0b docs: convert self-hosting overview to ContentListings and restructure the page (#47469)
## 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?

This PR converts link sections in the self-hosting overview page to the
`ContentListings` component, puts conceptual guidance before deployment
options, and adds badge support for the Docker card (minor).

Relates to DOCS-1137

## Current behavior

`self-hosting.mdx` uses hand-authored `<GlassPanel>` / `<Link>` JSX for
two sections:
- **Get started**: Docker card with a JSX title containing a `<Badge>`
element (was previously deferred for this reason).
- **Community-driven projects**: Two cards with trivial `<span>`-wrapped
string titles.

Get started and Community cards appear at the top of the page, before
the conceptual overview. The Support and community section uses
hand-authored bullet lists for GitHub, Discord, and Reddit links.

## New behavior

- The self-hosting overview page now uses data-driven `ContentListings`
instead of hand-written cards and bullet lists.
- Conceptual content (how self-hosting differs, your responsibilities,
telemetry) comes first; deployment options and community resources
follow.
- Section intro text lives in listing data rather than inline MDX.
- Brand icons added to all listing cards (Docker, Kubernetes, Traefik,
GitHub, Discord, Reddit).
- Minor: Added support for badges to content listings, such as
"Official" in the Docker tile

Data lives in `self-hosting.data.ts` (5 groups, 8 links) and is
registered in `content-listings/index.ts`.

## Additional context

### Icon usage rights

New brand icons (Kubernetes, Traefik, Reddit) are sourced from [Simple
Icons](https://simpleicons.org) (CC0 1.0). Existing icons (Docker,
GitHub, Discord) reuse assets already in `apps/docs/public/img/icons/`.
Use is non-commercial documentation only — consistent with existing docs
icon usage and trademark fair-use for identifying linked third-party
services.

### To do:

- [ ] Check with @aantti if he's on board with switching the page to
content listings we can lint for and the content restructure to match
other overview pages

## Verification

| Gate | Result |
|------|--------|
| `pnpm vitest run lib/content-listings.test.ts` |  12/12 passed |
| `pnpm build:guides-markdown` |  744 files generated |
| `pnpm lint:mdx` (self-hosting.mdx) |  No warnings on changed file |

### Proof: restructured self-hosting page with ContentListings and icons

| [Before (production)](https://supabase.com/docs/guides/self-hosting) |
[After (PR
preview)](https://docs-git-nikrichers-docs-1137-self-hosting-supabase.vercel.app/docs/guides/self-hosting)
|
|---|---|
|
![self-hosting-before](https://moijyfpvgnmgoxvwcikq.supabase.co/storage/v1/object/public/pr-proof/supabase/supabase/pr47469/self-hosting-before-dafdcdcf.png)
|
![self-hosting-after](https://moijyfpvgnmgoxvwcikq.supabase.co/storage/v1/object/public/pr-proof/supabase/supabase/pr47469/self-hosting-after-53d1e059.png)
|

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

## Summary by CodeRabbit

* **New Features**
* Updated the self-hosting guide to use dynamic content listings for
“Get started,” community resources, support options, and sharing
experiences.
* Added richer listing cards with optional badges and improved icon
handling.
* Expanded self-hosting resource groups to surface more relevant links
in docs navigation.

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

---------

Co-authored-by: Nik Richers <nik@validmind.ai>
2026-07-13 16:35:46 -07:00
..
2023-09-14 14:20:37 +03:00
2022-11-03 20:40:03 +07:00
2022-12-12 09:54:54 -03:30
2022-11-03 20:40:03 +07:00
2025-03-27 15:55:47 +00:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-12-16 15:46:16 +01:00
2022-12-16 15:46:16 +01:00
2022-12-13 18:44:56 +08:00
2022-12-13 18:44:56 +08:00
2022-11-03 20:40:03 +07:00
2023-02-01 10:35:33 -07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2023-07-25 21:31:01 +09:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-12-12 09:54:54 -03:30
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-12-12 09:54:54 -03:30
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00
2022-11-15 18:01:41 -03:30
2022-11-15 18:01:41 -03:30
2022-11-15 18:01:41 -03:30
2022-11-03 20:40:03 +07:00
2022-11-03 20:40:03 +07:00