Commit Graph
24 Commits
Author SHA1 Message Date
Kody JacksonandClaude Sonnet 5.5 ceae23e199 docs: add cross-links in guides (AI, API, Auth, Database, Functions, deployment) (#53560)
## What

Adds internal cross-links to docs guides

## Testing

- Prettier passes on the changed lines.
- Docs build passes (`pnpm build --filter=docs`).
- Docs link e2e run locally against the production build for every
changed page across this PR

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:57:10 -06:00
Kody JacksonandClaude Sonnet 5.5 396358c7cb chore(docs,www) - added, deleted, redirected URLs (#53097)
## Problem

added, deleted, redirected URLs + urls for new blog posts

## Preview links

N/A

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 14:18:02 -06:00
ec11e10d35 chore(docs) -- add in relevant crosslinks over to /kb troubleshooting pages (#52503)
## Problem

relevant cross-links missing to KB articles.

## Solution

Claude pass with an attempt to inline these where possible. Some were a
new sentence, but spot check felt like they were mostly appropriate.

## Preview links

N/A b/c too many atomic changes to help that much.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-10-29 10:30:15 -05:00
Miranda Limonczenko 038e68b777 docs: unify pooler guidance across the docs (#52332)
Closes DOCS-1519

## Problem

DOCS-1519 asks the docs team to do two things: unify the connection
recommendations, and remove PgBouncer deprecation notices. PgBouncer
isn't deprecated. It runs the dedicated pooler.

**Deprecation notices:** no page in `apps/docs` says PgBouncer is
deprecated. The last notice was in a 2021 blog post, and #52249 removed
it. Two notices remain outside the docs:

- **Studio:** the support form's IPv4 alert links to a "PGBouncer and
IPv4 Deprecation" discussion.
- **Blog:** a September 2023 update says PgBouncer is deprecated as of
January 2024.

**Recommendations:** Supabase runs two server-side poolers. The shared
pooler runs on Supavisor and is on every plan. The dedicated pooler runs
on PgBouncer and is on the Pro Plan and above.

The docs name the two poolers in many ways, and many pages leave out the
dedicated pooler. Some pages contradict the recommendations table in
[Connect to your
database](https://supabase.com/docs/guides/database/connecting-to-postgres#choose-a-connection-method):

- **Prepared statements:** `connecting-to-postgres` says transaction
mode doesn't support them. That is true for the shared pooler only. The
dedicated pooler supports them on PgBouncer 1.21 and later.
- **Migrations:** the restore pages, the quickstart partial, and the
RedwoodJS quickstart send migrations and `pg_dump` through session mode.
The table says to use the direct connection.
- **Dedicated pooler:** `pooling-and-limits` says to use it on any IPv6
network. The table keeps it for high-load apps.

## Solution

- **Names:** pages say _shared pooler_ and _dedicated pooler_, in
lowercase. Each page names Supavisor or PgBouncer once, after the pooler
name. _Session pooler_ and _Transaction pooler_ stay only where a page
quotes the Connect dialog.
- **Plans:** pooler and connection pages say _Pro Plan and above_
instead of _paid plans_.
- **Recommendations:** every page above now matches the table. The
shared pooler in session mode is the fallback for IPv4-only networks.
- **Dedicated pooler coverage:** Managing connections and the IPv4
add-on page now cover the dedicated pooler.
- **Word list:** `WORD_LIST.md` gets `dedicated pooler`, `shared
pooler`, and `paid plan` entries.

**Also fixed:**

- The direct connection examples in both restore pages had the wrong
username and `.supabase.com`.
- The Managing connections heading changed. It keeps the
`#configuring-supavisors-pool-size` anchor, because Studio links to it.

**Not changed:** billing and usage pages that say _paid plans_,
self-hosting pages, `apps/www`, and Studio. The Postgres and Render
migration guides moved to `apps/kb` on `master` while this PR was open,
so their edits are no longer in this diff.

**Troubleshooting articles:** production redirects
`/docs/guides/troubleshooting/` to `/kb/troubleshooting/`, which builds
from the troubleshooting repo. The troubleshooting edits move there
under DOCS-1521.

**Size:** 25 files, 115 lines added and 97 removed.

## Preview links

| Page | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| /connecting-to-postgres |
[Live](https://supabase.com/docs/guides/database/connecting-to-postgres)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres)
| A high-load application on the Pro Plan and above |
| /pooling-and-limits |
[Live](https://supabase.com/docs/guides/database/connecting-to-postgres/pooling-and-limits)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits)
| Use it for high-load applications |
| /connection-management |
[Live](https://supabase.com/docs/guides/database/connection-management)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connection-management)
| The pool size applies to both the shared pooler |
| /ipv4-address |
[Live](https://supabase.com/docs/guides/platform/ipv4-address) |
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/ipv4-address)
| When using the dedicated pooler in an IPv6-incompatible network |
| /backup-restore |
[Live](https://supabase.com/docs/guides/platform/migrating-within-supabase/backup-restore)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/backup-restore)
| Use the direct connection string. If your network |
| /dashboard-restore |
[Live](https://supabase.com/docs/guides/platform/migrating-within-supabase/dashboard-restore)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/dashboard-restore)
| Use the direct connection string. If your ISP |
| /redwoodjs |
[Live](https://supabase.com/docs/guides/getting-started/quickstarts/redwoodjs)
|
[Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/getting-started/quickstarts/redwoodjs)
| This quickstart uses two connection strings |


## Review instructions

1. Open [Connect to your
database](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres).
The table and the **Dedicated pooler** section say _Pro Plan and above_.
2. Open [Connection pooling and
limits](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits).
It recommends the dedicated pooler for high-load apps only.
3. Open [Managing
connections](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connection-management).
The pool size section covers both the shared pooler and the dedicated
pooler.
4. Open [Backup and
restore](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/backup-restore).
Step 3 says to use the direct connection string.

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] 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)
2026-10-27 08:35:59 -07:00
Kody Jackson d4a2c464b2 chore(docs) - update troubleshooting links to new destinations (#52095)
## Problem

KB now has definitive version of the troubleshooting guides. Need to
update the in content links to match work happening in #52088.

## Preview links

N/A... all atomic changes to links, so previews not very helpful here.
2026-10-22 08:02:23 -05:00
Miranda Limonczenko 15a7b0ab18 docs(database): correct the dashboard_user and storage admin role descriptions (#50274)
Closes DOCS-1387

## Problem

The Postgres roles guide describes `dashboard_user` as "For running
commands via the Supabase UI." That was the original intent, not current
behavior. Dashboard queries run as `postgres` and carry a `-- source:
dashboard` comment, which the [Postgres logs troubleshooting
guide](https://supabase.com/docs/guides/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj)
already documents. The two pages contradict each other.

Two smaller problems in the same list:

- `supabase_storage_admin` is described as an Auth middleware role,
copied from the `supabase_auth_admin` entry above it.
- Studio ships both stale strings in its own role tooltips. The docs
list and `QUERY_PERFORMANCE_ROLE_DESCRIPTION` are near-verbatim copies
of each other.

## Solution

- Replace the `dashboard_user` description with what the Dashboard
connects as instead, and point readers to the `-- source: dashboard`
comment for finding Dashboard queries in the logs.
- Attribute `supabase_storage_admin` to the Storage middleware.
- Apply both corrections to the Query Performance and Query Insights
role tooltips.

## Manual testing

1. Open the [roles guide on the deploy
preview](https://docs-git-docs-dashboard-user-role-supabase.vercel.app/docs/guides/database/postgres/roles).
2. Scroll to `dashboard_user`. It states that the Dashboard doesn't
connect as the role, and that Dashboard queries execute as `postgres`
with a `-- source: dashboard` comment.
3. Select **find them in the Postgres logs**. The Postgres logs
troubleshooting guide loads.
4. Scroll to `supabase_storage_admin`. It reads "Used by the Storage
middleware," not "Auth middleware."
5. In Studio, open **Observability > Query Performance** and hover a
`dashboard_user` or `supabase_storage_admin` value in the **Role**
column. The tooltip shows the same two corrected descriptions.


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

## Summary by CodeRabbit

- **Documentation**
- Corrected the description of the `supabase_storage_admin` role to
reference Storage middleware.
- Clarified that the Dashboard does not connect using the
`dashboard_user` role.
- Documented that Dashboard queries run as `postgres` and can be
identified in Postgres logs with a `source: dashboard` comment.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-11 11:57:25 -07:00
Danny White 24be387cdb docs: use sign in terminology across guides and style guides (#49877)
## What kind of change does this PR introduce?

Docs update. Aligns documentation and style guides with the **Sign in /
Sign out / Sign up** platform standard.

Closes DOCS-1328. Related to
[#49874](https://github.com/supabase/supabase/pull/49874).

## What is the current behavior?

Docs style guides prefer _login_ / _log in_. Guide prose uses mixed
login and sign in wording.

## What is the new behavior?

- [WORD_LIST.md](apps/docs/WORD_LIST.md) and
[copywriting.mdx](apps/design-system/content/docs/copywriting.mdx)
document the sign in standard
- Design-system auth examples updated
- Guide prose and API reference spec descriptions updated

### Terminology

**Standard:** Use _sign in_, _sign out_, and _sign up_ as verbs. Use
_sign-in_, _sign-out_, and _sign-up_ as nouns and adjectives. Match
Studio UI labels (**Sign in**, **Sign out**, **Sign up**).

**Preserved intentionally:**

| Category | Keep as-is | Example |
| -------- | ---------- | ------- |
| Feature name | social login | `/social-login`, `features.mdx` heading,
OAuth provider section |
| URL slugs | `login` in paths | `/phone-login`, `/login-flows`,
`choosing-login-flow` |
| CLI | `supabase login` / `supabase logout` | Reference ids
`supabase-login` / `supabase-logout`; executable commands unchanged |
| SDK methods | `logout()` | Kotlin/Swift method names in API reference
titles and examples |
| Third-party UI | Provider product labels | Facebook Login, Kakao
Login, portal **Login** buttons |
| Postgres | Database terminology | login privileges, login credentials,
login via role |
| Audit/logging | Log prose | "Generates the following **log** in the
Postgres Logs" |
| Code and routes | Paths and filenames | `app/login/`, `Login.tsx`,
`demos/android-login` |
| External URLs | Third-party login pages | `dash.cloudflare.com/login`,
`console.neon.tech/login`, `vercel.com/login` |
| API identifiers | Event and field names | Audit actions
`login`/`logout`, `should_logout_user` |

## To test

- Run `pnpm lint:mdx` in `apps/docs`
- Spot-check `features.mdx`, `social-login.mdx`, and a provider guide
(e.g. Facebook, Kakao)

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

* **Documentation**
* Standardized authentication terminology across guides, reference
material, CLI documentation, and copywriting guidance using “sign in,”
“sign out,” and “sign up.”
* Updated authentication instructions, headings, link text, examples,
and SSO guidance for clearer, more consistent wording.
* Corrected related grammar, spelling, hyphenation, and documentation
links while preserving established product names and implementation
commands.
* **Style**
  * Refined code examples with consistent import ordering and spacing.
* **Examples**
* Updated authentication button and menu labels to “Sign in” and “Sign
out.”
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-04 09:10:25 +10:00
Riccardo Busetti df7a0ca3f7 feat(replication): Evaluate new product name (#47066) 2026-06-24 16:36:23 +02:00
Riccardo Busetti f14d49dd2d Standardize external replication (ETL) docs (#46875) 2026-06-15 12:22:46 +02:00
973bacf783 docs: Data API IA (#42417)
*Summary*
- reorganize the navigation menu to highlight modules, consolidate API
security content, and move guide entries (auto-generated docs, type
generation, security topics) to the intended sections
- relocate the Data API hardening and custom claims RBAC guides into the
API subtree, updating internal references and redirects, and fixing
cross-links (including adjusting the Security reference order)
- adjust data API topic references (e.g., securing guide and role
management) to point to the new paths and ensure the helper link
ordering follows the requested layout

*Testing*
- Not run (not requested)

Change 1

<img width="1286" height="576" alt="image"
src="https://github.com/user-attachments/assets/d903e9b0-bbfc-403f-bcb9-eee540e466db"
/>

Change 2

<img width="1176" height="666" alt="image"
src="https://github.com/user-attachments/assets/82b3ea4c-b8d4-4cb9-ad90-6c39c8a1a997"
/>


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

## Summary by CodeRabbit

* **Documentation**
* Reorganized API documentation structure, consolidating REST and
GraphQL API guides under a dedicated API section.
* Moved security-related guides to API documentation paths for better
organization.
* Implemented automatic redirects for old documentation links to new
locations.
* Updated navigation menu to reflect the restructured documentation
layout.

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

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2026-03-11 14:11:26 +01:00
Riccardo Busetti aca93e1ec3 ref(docs): Add supabase_etl_admin role (#41083) 2025-12-05 09:24:48 +01:00
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00
Danny WhiteandJoshen Lim d914b81f47 feat: consolidate settings (#37580)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-04 16:21:54 +10:00
PeterandTyler 6a812a04b6 Update docs for new connection strings and disk/compute pages in the dashboard (#35128)
* Update all docs that make references to the database settings to find the connection strings.

Update all docs that references the database settings for the compute and disk page

* run prettier

* run pnpm format instead of prettier directly.

* first run through, fix grammar and reword awkward sentences

* Fix typos and remove unnecessary whitespace

* Apply suggestions from code review

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2025-04-21 08:59:43 -05:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Bobbie SoedirgoandCharis Lam e319e925a0 chore(docs): update supabase_admin wording (#33584)
* chore(docs): update supabase_admin wording

* chore: add spelling exceptions

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-02-13 15:40:06 +00:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Charis 4cecae1e09 ci(docs): linter bump version + expand scope (#30860) 2024-12-04 20:37:49 +00:00
Monica KhouryandJoshen Lim d0ef81f403 Docs: update Roles guide to add more info to changing password section (#18331)
* Docs: add more info to changing password section

* Merge master resolve conflicts

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 15:57:45 +08:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis 922a8f941d fix: update terminology around anonymous vs public/unauthenticated (#21814) 2024-03-07 14:39:07 -05:00
Vojtech NovakandCharis dc9a58bb08 docs: mention RBAC in postgres roles (#21816)
* docs: mention RBAC in postgres roles

* Update apps/docs/content/guides/database/postgres/roles.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 17:10:40 +00:00
Charis cb7c67864b chore: linting rule tweaks and error fixes (#21678) 2024-03-04 23:32:46 -05:00
Charis b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00