Commit Graph
8742 Commits
Author SHA1 Message Date
Danny White 27602135da fix(docs): correct MFA recovery instructions (#53348)
## Problem

The MFA guide contains a stray quote, code fence, and editorial note.
Its replacement instructions also tell everyone to add an authenticator
first, but Studio hides **Add MFA method** when two authenticators are
registered.

## Solution

Remove the stray text and explain the replacement order for accounts
with one or two authenticators. Keep a working factor registered to
avoid disabling MFA and deleting recovery codes.

Validated with Prettier, Markdown generation, and inspection of the
generated guide.

## Review instructions

1. Open
`/docs/guides/platform/multi-factor-authentication#sign-in-with-a-recovery-code`
in the docs preview.
2. Check that the replacement instructions cover one and two registered
authenticators, with no stray quote, code fence, or editorial note.
3. Confirm the regeneration and disable-MFA sections remain separate
sections.

## Checklist

- [x] 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-11-13 11:19:17 +11:00
Thomas GraingerandNik Richers af01ade151 Correct 'PyPi' to 'PyPI' in installation guide (#53263)
## Problem

There was a typo in PyPIs name. PyPi was used instead of PyPI

## Solution

PyPi was replaced with PyPI

<!--
## Preview links

https://supabase.com/docs/reference/python/introduction

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. Open the live and preview links side-by-side.
2. See that PyPI is correctly spelt

## Checklist

Check all before review:

- [x] 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)

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-12 14:43:53 -07:00
Gilles Lepretreandanthony lio 9d2455a86e docs: remove raw admonition tags from CLI config reference (#53339)
Fixes #53338

## Problem

The CLI config reference displays raw `<Admonition type="note">` and
`</Admonition>` tags in the description of `local_smtp.enabled`.

The page uses `ReactMarkdown`, which does not interpret MDX components.

## Solution

Remove the Admonition tags from `apps/docs/spec/cli_v1_config.yaml`,
keeping the explanatory text as a regular paragraph.

## Review instructions

1. Open `/docs/guides/local-development/cli/config#local_smtp.enabled`
in the preview.
2. Verify that no Admonition tags appear in the description.
3. Verify that the note about migrating from `[inbucket]` to
`[local_smtp]` is still present.

## Validation

- YAML parsing and Prettier checks passed.
- Verified the description renders without raw tags using ReactMarkdown.
- Full docs build could not run locally because workspace dependencies
  were not installed (`turbo` not found).

## Checklist

- [x] 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)

---------

Co-authored-by: anthony lio <lionnet.ant@gmail.com>
2026-11-12 22:20:37 +02:00
d11ae1a1ed docs(functions): update logging page for new logs viewer, clarify bodies are not logged (#53315)
<!-- claude-slack-attribution -->
_Requested by **Kalleby Santos** · [Slack
thread](https://supabase.slack.com/archives/C0BB4MAJW58/p1794485219774189?thread_ts=1794485219.774189&cid=C0BB4MAJW58)_

## Problem

**Before:** The Edge Functions logging page said the **Invocations**
view includes request and response "headers, body, status codes, and
execution duration". Customers asked where to find body values, but
bodies are not retained, and only some headers are kept. The page also
described separate **Invocations** and **Logs** views with an outdated
screenshot.

**After:** The page says plainly that request and response bodies are
not logged or retained, and that only a subset of headers is kept (with
the list from the `function_edge_logs` schema). It now describes the
current viewer: Edge Functions > a function > **Logs** tab, with one
list of invocations and console logs/events, the filter bar (time range,
log type, level, event message), **Live**, and the detail panel
(**Overview**, **Raw JSON**, **Timeline**, **User**). Existing content
(console methods, event types, limits, header logging tip) is unchanged.

## Solution

Updates `apps/docs/content/guides/functions/logging.mdx` to remove the
incorrect body claim and document the new logs viewer.

**How:** UI names and behavior were checked against the Studio source
(`apps/studio/components/interfaces/UnifiedLogs`, `Functions`, and the
`functions/[functionSlug]/logs` page). The header list comes from the
`function_edge_logs` schema in `packages/shared-data/log-constants.ts`.

**Skipped:** No new screenshots, since I had no demo project with a
deployed function to capture them from. I removed the outdated
`function-logs.png` from this page because the text no longer matches
it. The same image is still used in `error-handling.mdx` (Error
monitoring section) and is still outdated there. I left the file and
that page alone.

**Unverified / for review:**

- The request and response header lists are taken from the
`function_edge_logs` schema in the repo. Please confirm they match what
is actually retained on the logflare source.
- The retention statement for bodies comes from the request, not from a
code path in this repo.
- The new viewer is the "Updated Logs interface" feature preview, which
is on by default on the platform. I added a short note for users who
turned it off (legacy **Invocations** and **Logs** tabs). I did not
verify the legacy view in detail.
- The **Timeline** tab and **Attributes** sections only render when the
related logs backend and metadata features are enabled, so some users
may not see them.

## Review instructions

1. Open the preview of `/docs/guides/functions/logging`.
2. Check that no sentence claims invocation logs include a request or
response body.
3. Compare the "Explore logs in the Dashboard" section against a
function's **Logs** tab in the Dashboard.
4. Confirm the header lists under "What invocation logs contain" are
correct.

## Checklist

- [x] 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).
(Not run; I followed the style guide manually. Prettier check passed
with equivalent standalone options.)

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

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Kalleby Santos <105971119+kallebysantos@users.noreply.github.com>
2026-11-12 19:33:39 +00:00
Steven EubankandClaude Sonnet 4.6 9290edd4ff docs(observability): SQL query examples for request correlation and user activity (#50748)
Adds SQL query conventions and examples to the logs querying guide.

**`advanced-log-filtering.mdx`**
- New section: correlating requests by `request_id` (from
`sb-request-id` header) and `trace_id` (from W3C `traceparent`).
Includes a note on cache hits — if `cf_cache_status` is `HIT`, no
downstream logs exist for that request.
- New section: following a user's activity across services via
`auth_logs` + `request_id` fan-out, and investigating Edge Function
invocations using `execution_id` to join `function_edge_logs` and
`function_logs`.

**`log-field-reference.mdx`**
- `traceparent` added to the captured request headers list.
- Capture limits note: `request_id`, `trace_id`, and `span_id` may
appear on any source but are not populated on every event.

## Review

Pages to check in preview:
- `/docs/guides/observability/advanced-log-filtering`
- `/docs/guides/observability/log-field-reference`

## Checklist

- [x] 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 references
[WORD_LIST](https://github.com/supabase/supabase/blob/master/apps/docs/WORD_LIST.md)
and the docs
[CONTRIBUTING](https://github.com/supabase/supabase/blob/master/apps/docs/CONTRIBUTING.md)
guide

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-11-12 17:40:13 +00:00
Steve Abrams 41cdf716e8 docs:add Steve Abrams to humans.txt (#53275)
## Problem

Supabase onboarding has a task to add your name to the humans.txt file.

## Solution

This adds my name to the humans.txt file as a new Supabase team member.

## Preview links

N/A

## Review instructions

Check I spelled my name correctly and placed it in the correct
alphabetical spot.

## Checklist

Check all before review:

- [x] 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)
2026-11-12 12:32:05 -05:00
Kody JacksonandClaude Sonnet 5.5 5ca501cd24 chore(docs) - Remove inline Accordion component for machine readability -> details/summary instead (#53274)
## Problem

Accordion components -- as currently constructed -- aren't machine
readable b/c they require JS. Additionally, they aren't heavily used at
all.

## Solution

Removes accordion component from codebase + moves existing usage into
`<details>` / `<summary>` components. Adds some default styling for the
new HTML pattern so they look similar.

Could also refactor accordion to auto-template out details/summary too.
No strong pref here.

## Limits

The sidebar navigation accordions use radix-ui directly and are
unchanged.

## Preview links

### Before

[Creating a client
(before)](https://supabase.com/docs/guides/auth/server-side/creating-a-client#nextjs-utility-functions)


https://github.com/user-attachments/assets/fd320358-7a35-46f8-b7b4-177b023e748e

### After

[Creating a client
(before)](https://docs-git-kody-devrel-850-remove-accordions-docs-mdx-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client#nextjs-utility-functions)


https://github.com/user-attachments/assets/22049184-9157-46d2-a3a6-64ca2c991e24

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:31:54 -06:00
Jeremias Menichelli 7051bdcdc5 fix: Make content in tab panels hidden discoverable in DOM (#53319)
## Problem

Content in non-active Tabs within Docs is not discoverable by crawlers
and LLMs scrapping the website html itself.

## Solution

Refactor our Tabs component, so now non-active tab panels stay in DOM
but hidden for the user.

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. Open a page in preview that contains tabs, for example [this
one](https://docs-git-jeremiasmenichelli-docs-1631-server-re-4f705d-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client)
2. Make sure tabs work as expected when switching their selection, this
should match production
3. Open the dev tools panel, and the HTML inspector within it
4. Make sure when you switch tabs, the content from other inactive tabs
is still present.

## Checklist

Check all before review:

- [x] 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-11-12 17:37:34 +01:00
628557490e docs: fix grammar in RUM extension guide (#50291)
Tiny docs fix in the RUM extension guide:
- `The does` → `This does`
- `allows to order` → `allows ordering`

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

## Summary by CodeRabbit

- **Documentation**
- Corrected a grammatical typo in the `rum_anyarray_addon_ops`
description.

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

---------

Co-authored-by: mrchatam <mrchatam@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-12 15:13:30 +00:00
Anthony Lio 38f9bac61f fix(docs): express ssr client cookie (#53179)
## Problem

- the express server client in the ssr "creating a client" guide calls
`serializeCookieHeader(name, value)` without `options`
- the auth cookies then have no `path` and no `maxAge`, so the browser
limits them to the request path and drops them when the browser closes

## Solution

- adds the cookie `options` to `serializeCookieHeader` in the express
`setAll`, so the auth cookies keep the settings from `@supabase/ssr`
- changes the express sample to match the other server samples on the
page

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

## Additional context

- found that issue while i ran the docs agent feedback evals

## Review instructions

1. visit
[/docs/guides/auth/server-side/creating-a-client#express-create-clients](https://docs-git-antlio-fix-docs-express-cookie-options-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client#express-create-clients)
and select the express tab
2. make sure that the preview `setAll` in `lib/supabase.js` reads `({
name, value, options })` and passes `options` to `serializeCookieHeader`

## Checklist

Check all before review:

- [x] 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)
2026-11-12 14:59:30 +00:00
Anthony Lio 6205145edd feat(ui): heading links (#53094)
## Problem

- kb article headings have no link to their section, so a reader cannot
share a link to one part of a guide
- docs and www headings show a `#` link that only jumps to the heading,
and studio report headers use their own copy link button

## Solution

- adds `CopyHeadingLinkButton` to `ui`, with the studio look, so one
copy link button serves all surfaces
- replaces the `#` link in `Heading` with the button, so docs, www and
`ui-patterns` markdown headings copy a link on click
- adds the button to the h2 to h4 headings of kb guides, faqs and
troubleshooting articles
- changes the studio report section headers to use the shared button,
and removes their local copy logic

| before | after |
| -------|------|
| <img width="795" height="378" alt="image"
src="https://github.com/user-attachments/assets/68302dc8-829a-4af1-b1c3-5ec68d8c39e3"
/> | <img width="795" height="378" alt="image"
src="https://github.com/user-attachments/assets/b21d363e-3f27-43b0-aa0c-0efd92693d7e"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/kb/guides/migrate-from-mysql](https://kb-git-anthonylio-fdbkin-47106-add-heading-links-to-knowledge-base-troubleshooting-guides-supabase.vercel.app/kb/guides/migrate-from-mysql)
and hover the "Retrieve your MySQL database credentials" heading
3. click the icon and check that the clipboard holds the page url with
`#retrieve-your-mysql-database-credentials`
4. open
[/docs/guides/database/overview](https://docs-git-anthonylio-fdbkin-47106-add-heading-links-to-knowledge-base-troubleshooting-guides-supabase.vercel.app/docs/guides/database/overview),
hover an h2 and do steps 2 and 3 again
5. repeat 3
6. open
[/blog/introducing-dbarena](https://zone-www-dot-com-git-anthonylio-fdbkin-47106-add-heading-links-to-knowledge-base-troubleshooting-guides-supabase.vercel.app/blog/introducing-dbarena),
hover an h2 and do steps 2 and 3 again
7. open
[/dashboard/project/_/observability/auth](https://studio-git-anthonylio-fdbkin-47106-add-heading-links-to-knowledge-base-troubleshooting-guides-supabase.vercel.app/dashboard/project/_/observability/auth),
select a project, change a filter, and copy the "Usage" section link
8. make sure that the copied url keeps the filter query string and ends
with `#usage`

## Checklist

Check all before review:

- [x] 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)
2026-11-12 16:19:54 +02:00
Timothy LimandClaude Sonnet 5.5 68deb2f329 docs(storage): explain CDN caching for authenticated private files (#53160)
Add an "Authenticated URLs and CDN caching" section to the Smart CDN
page. Responses from the authenticated endpoint can be served from cache
after an RLS change or sign-out, until the user's JWT expires. Document
purging the CDN cache, lowering the access token expiry, and revocation
options (server check, S3 API).

## Problem

Questions related to authenticated endpoint caching

## Solution

Clarify caching behaviour

## Checklist

Check all before review:

- [X] 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 `/review-the-docs` skill, which applies the docs [style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 21:34:04 +08:00
Jagpreet Singh e0a8c7670b add Jagpreet Singh to humans.txt (#53312)
Adding myself to humans.txt as a new Product Security Engineer at
Supabase. 👋

## Problem

I recently joined Supabase as a Product Security Engineer and I'm not
yet listed in `humans.txt`.

## Solution

Added my name to `humans.txt`, following the existing format and
ordering. No other changes.

## Review instructions

1. Open `humans.txt` in the diff.
2. Confirm my name is added in the right position and format, with no
other lines changed.
3. Optionally, open the preview deployment at `/humans.txt` to see it
live.
2026-11-12 14:42:56 +02:00
bbe468ee0d docs: add recovery codes to the account MFA guide (#53159)
_Do not merge until the recovery codes feature flag is removed (or
opened to all users)._

## What

Adds a short **Recovery codes** section to the [account MFA
guide](https://supabase.com/docs/guides/platform/multi-factor-authentication)
and removes the note that Supabase doesn't provide recovery codes.

The new section covers:

- What recovery codes are: 10 single-use codes, shown once when you
enable MFA.
- How to sign in with a recovery code from the two-factor authentication
screen, including the temporary lock after 5 incorrect codes.
- How to generate codes for an existing MFA setup, and how to regenerate
them.
- That removing your only authenticator app disables MFA, and disabling
MFA deletes your recovery codes.

Fixes PROD-719

## Self-review

| Check | Result |
| --- | --- |
| Prettier | Pass |
| `pnpm build:guides-markdown` | Pass, page renders as expected in
`public/markdown/guides/platform/multi-factor-authentication.md` |
| Style guide critic pass | Resolved, except
`02-elements.md#pair-dashboard-steps-with-a-terminal-option`: account
recovery codes have no API or CLI path |
| `test-the-docs` | Not applicable, no runnable snippets |

## Needs review

- Draft until recovery codes are available to all accounts.
- UI labels (**Unable to sign in?**, **Authenticate using a recovery
code**, **Generate recovery codes**, **Regenerate**) match the current
Studio source.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-11-12 11:23:29 +01:00
Bob Van Landuyt d370ecd717 docs: add Bob Van Landuyt to humans.txt (#53310)
## Problem

Bob Van Landuyt is not yet listed in the docs `humans.txt` file.

## Solution

Add Bob Van Landuyt to `apps/docs/public/humans.txt`, in alphabetical
order between "Beth Long" and "Bobbie Soedirgo".

## Review instructions

1. Open the diff for `apps/docs/public/humans.txt`.
2. Confirm the new line is a single addition and sits in alphabetical
order.

## Checklist

Check all before review:

- [x] 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)
2026-11-12 11:19:15 +01:00
Kody JacksonandClaude Sonnet 5.5 701730e3eb chore(kb,www,docs) - Add in relevant cross-links between the Supabase Component Library and kb,www,docs (#53237)
## Problem

After #53183 and #52567 have been addressed, we should strengthen the
interconnections between the UI library and the rest of the Supabase
ecosystem.

## Solution

- Adds contextual links for `/library`, Auth / Realtime category pages,
and specific Auth / Realtime components. Hits top-level product pages,
docs, kb, and blogs.

## Preview links

N/A, link changes are relatively atomic so easier to review without many
preview links.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 08:37:14 -06:00
Anthony Lio 106381829f feat(docs): ai layout shell (#52976)
Closes DOCS-1472

## Problem

- new top bar, sidebar and footer need a layout that mounts them only
for readers on the `docs-layout-v2` flag
- guide table of contents and the reference navigation sit in the page
column, so the reading column is narrow

## Solution

- adds the layout shell, so the flag picks the new or the current top
bar, sidebar and footer
- moves the guide table of contents into a right rail, and shows the
current heading in the top bar breadcrumb
- moves the reference navigation into the right rail, and hides the
library and version row because the breadcrumb shows them
- keep the docs home to keep the current top bar and no sidebar, so the
home page stays full width

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/docs/guides/database/overview?docs-ia-mvp-v1=option-1](https://docs-git-antlio-docs-v2-5-shell-right-rail-supabase.vercel.app/docs/guides/database/overview?docs-ia-mvp-v1=option-1)
2. make sure that the sidebar shows the database pages with a back link
to Products, and that the table of contents is in the right rail
3. open
[/docs/reference/javascript/introduction?docs-ia-mvp-v1=option-1](https://docs-git-antlio-docs-v2-5-shell-right-rail-supabase.vercel.app/docs/reference/javascript/introduction?docs-ia-mvp-v1=option-1),
and make sure that the version dropdown is in the breadcrumb and not
above the right rail

## Checklist

Check all before review:

- [x] 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)
2026-11-11 16:31:33 +02:00
Anthony Lio b28c6fa822 feat(docs): ai layout top bar + breadcrumbs (#52975)
## Problem

- docs top bar holds the global nav menus, so it repeats what the new
sidebar shows
- redesign needs a top bar with a breadcrumb for the current page and
room for the page actions

## Solution

- replaces the top bar with a logo cell, a breadcrumb, the page actions
and an account cell
- adds a sections menu under the logo, so a reader moves between docs,
reference and the knowledge base
- adds a breadcrumb slot for the current heading, which the right rail
fills in #PR5, and a reference version dropdown
- replaces the search field with an icon button, and shows ⌘K and ⌘I in
the search and ask ai tooltips
- adds a legacy copy of the current top bar, so the flag can show it

merge the stack together, because the new top bar shows for every reader
until #PR5 adds the flag switch

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/docs/guides/database/overview](https://docs-git-antlio-docs-v2-4-top-bar-supabase.vercel.app/docs/guides/database/overview)
2. make sure that the breadcrumb shows Database and the page
3. open
[/docs/reference/javascript/introduction](https://docs-git-antlio-docs-v2-4-top-bar-supabase.vercel.app/docs/reference/javascript/introduction),
and make sure that the breadcrumb has a version dropdown after
JavaScript

## Checklist

Check all before review:

- [x] 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)
2026-11-11 16:31:33 +02:00
Anthony Lio aad6ac1adc feat(docs): ai layout breadcrumbs page actions (#52974)
Closes DOCS-1470

## Problem

- reference pages have no breadcrumbs, so a reader on
`/reference/cli/supabase-init` sees no path back to the cli reference
- a guide breadcrumb can repeat its parent, for example "Connecting to
your database" twice under Database > Fundamentals
- redesign needs page actions in the top bar to copy a page as markdown
and to set up an agent

## Solution

- adds reference breadcrumbs, so a reference page shows the reference
home and its library
- adds the current version to the library breadcrumb when the library
has more than one version
- removes a breadcrumb that repeats its parent with the same url and
name
- adds a copy page split button and a set up agent menu, with telemetry
events for each action
- changes `ui-patterns` to export `CrossfadeIcon`, so the copy button
reuses its copied state animation

#52972 must merge first, because the breadcrumbs skip the overview row
that it adds

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm --filter docs exec vitest run lib/breadcrumbs.test.ts`, and
make sure that all tests pass
2. read the new telemetry events in
`packages/common/telemetry-constants.ts`, and make sure that each event
names what the user did
3. the top bar shows the page actions in the next pr, so check them on
the preview of that pr

## Checklist

Check all before review:

- [ x 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)
2026-11-11 16:31:32 +02:00
Anthony Lio 51c07ef6b2 feat(docs): ai layout sidebar tree (#52972)
## Problem

- current sidebar shows only the page's product, so a reader opens the
top bar menus to reach another product
- redesign moves the global nav into the sidebar, so the sidebar needs
levels and a way back up

## Solution

- adds a sidebar that opens one level at a time: the docs sections, then
a section's products, then a product's pages
- adds a header row with a back link to the level above, and a home link
at the top level
- changes a product row to open the product overview and show its pages
at once
- adds icons to the top level sections in the current nav and in the
option-1 nav
- changes the new page tree to show a background on hover only, and text
color on the current page
- adds an overview row to the start section, which only the new layout
shows

#52971 must merge first, because the sidebar uses the `layout-v2:` css
variant

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm --filter docs exec vitest run
components/Navigation/NavigationMenu`, and make sure that all tests pass
2. read `DocsSidebarNav.test.tsx`, and make sure that the tests cover
the back link, the home link and the product link to its overview
3. the layout mounts the sidebar in the stack top, so check the sidebar
on the preview of that pr

## Checklist

Check all before review:

- [x] 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)
2026-11-11 16:31:32 +02:00
Anthony Lio 3aa70c221f feat(docs): ai layout groundwork (#52971)
## Problem

- docs layout redesign needs a flag, so the team can check the new
layout on production first
- ai tools agent cards open a setup page with no agent selected, so the
reader picks the agent again

## Solution

- adds the `docs-layout-v2` posthog flag, and
`?docs-layout-v2=true|false` overrides it for the rest of the browser
session
- adds a `layout-v2:` css variant, so server components can style the
new layout and the current layout from the same markup
- changes the agent cards to set `?client=` on their link, so the setup
page opens with that agent selected
- replaces the footer with link cells for status, product updates and
issue reports, and keeps the old footer for the flag

merge the stack together, because the new footer shows for every reader
until #PR5 adds the flag switch

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/docs/guides/getting-started?docs-layout-v2=true](https://docs-git-antlio-docs-v2-1-groundwork-supabase.vercel.app/docs/guides/getting-started?docs-layout-v2=true),
and make sure that the `<html>` element has `data-docs-layout="v2"`
2. open the same page with `?docs-layout-v2=false`, and make sure that
`data-docs-layout` is gone

## Checklist

Check all before review:

- [x] 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)
2026-11-11 16:31:31 +02:00
Anthony Lio 0daddc4551 feat(docs): agent feedback capabilities (#53115)
## Problem

- an agent that finds a wrong docs page leading to use a different
method gets no report
- mcp server and the cli can send feedback, but no page tells agents to
report docs problems

## Solution

- adds a note for ai agents at the top of each guide's markdown version,
so agents report wrong pages
- adds an agent-only instructions page with a disabled nav entry, so
agents learn how to write and send a report
- adds a "report documentation problems" section to the ai tools guide,
so users can approve, turn off or delete reports
- changes the mcp guide to say that `submit_feedback` takes
documentation feedback, so the tool list matches the new use
- adds the instructions page to `llms.txt`, so agents that start from
supabase.com find it

Linear: DEPR-698

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open the preview
[/docs/guides/auth.md](https://docs-git-anthonylio-depr-698-explore-agent-feed-2bdb50-supabase.vercel.app/docs/guides/auth.md),
and make sure that the page starts with the "Note for AI agents"
blockquote
2. make sure that the note links to `agent-feedback.md`, tells the agent
to read it before the final reply, and asks "Send this report to
Supabase?"
3. open the preview
[/docs/guides/ai-tools/agent-feedback.md](https://docs-git-anthonylio-depr-698-explore-agent-feed-2bdb50-supabase.vercel.app/docs/guides/ai-tools/agent-feedback.md),
and make sure that the page has the five-line report template and no
agent note
4. open the preview
[/llms.txt](https://zone-www-dot-com-git-anthonylio-depr-698-explor-a825b7-supabase.vercel.app/llms.txt),
and make sure that it lists "Report documentation problems" with the
`.md` link

## Checklist

Check all before review:

- [x] 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-11-11 14:38:47 +02:00
Victor FarazdagiandJoshen Lim 00adb5a81b chore(studio): remove the Iceberg pipeline destination (#52229)
## Problem

Retire the deprecated Iceberg (Analytics Bucket) destination from
Pipelines.

## Solution

- Remove the destination UI, configuration mappings, feature-flag usage,
and generated API variants.
- Remove the legacy Pipelines integration from Storage while preserving
standalone Analytics Buckets.
- Remove unused components and sheet-layout support, and add regression
coverage for retained Storage operations.
- Remove the stale Pipelines claim from the Storage docs overview.

## Validation

- Pipelines, Storage, and replication data tests
- After the final cleanup: Studio typecheck and all 3 Analytics Bucket
regression tests passed.
- Formatting, scoped ESLint, Knip, and whitespace checks passed; lint
warnings are pre-existing.
- Storage overview: Prettier, ESLint with zero warnings, content-listing
schema validation, and Markdown rendering passed.

Production API-type verification remains pending the coordinated API
deployment. Legacy Iceberg pipelines, destinations, and slots must be
cleaned up before rollout.

## Review instructions

1. Verify that Pipelines offers BigQuery, DuckLake, Snowflake, and
ClickHouse, with no Analytics Bucket option.
2. Verify that Storage Analytics Bucket creation, namespace/table
operations, and wrapper/key cleanup remain available without Pipelines
controls.

## Checklist

- [x] Read CONTRIBUTING.md.
- [x] Updated the Storage overview copy and checked the docs authoring
guidance.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-11-11 12:18:04 +03:00
Neil BrookesandClaude Sonnet 5.5 8e240acbcd docs: add Neil Brookes to humans.txt (#53232)
## Problem

Add Neil Brookes to the Supabase team list in
`apps/docs/public/humans.txt`.

## Solution

Insert the name into the team list in `apps/docs/public/humans.txt`.

## Review instructions

1. Open `apps/docs/public/humans.txt`.
2. Confirm `Neil Brookes` appears once, in alphabetical order.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md).
- [x] This change does not add or edit a docs topic.

## Self-review

- Verified the one-line diff.
- No build or tests were run for this static text entry.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:33:22 +00:00
Alaister YoungandAlaister Young 6236fa4ec5 chore: remove the Cloudflare R2 asset upload and asset CDN (#53148)
Removes the dead Cloudflare R2 asset upload and asset CDN code from
Studio, docs and www. Every app now behaves as it did with
`FORCE_ASSET_CDN=-1`: Vercel serves assets from the default path.

Also fixes `.github/workflows/zizmor.yml` to download zizmor with `gh
release download`: `curl -sSLO` saved GitHub error pages as the archive,
which broke the attestation check.

> [!WARNING]
> Remove `FORCE_ASSET_CDN` from Vercel only after this deploys.

**Worth a close look**
- `apps/studio/vite.config.ts`: `SKIP_ASSET_UPLOAD` is kept because it
still gates Sentry source map upload.
- `apps/studio/turbo.jsonc`: `AWS_ACCESS_KEY_ID` /
`AWS_SECRET_ACCESS_KEY` are kept because the Bedrock credential chain
(`lib/ai/bedrock.ts`) can fall back to them.

## To test
- [ ] On the Vercel previews for studio, docs and www, open a page with
DevTools: JS, CSS and fonts load from the app's own origin
(`/dashboard/assets/…` or `/dashboard/_vercel/immutable/…` for Studio,
`/docs/_next/static/…` for docs, `/_next/static/…` for www), with no
404s or CSP errors in the console.

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-10 18:21:33 +09:00
2ecd504df8 docs: add Nick Clark to humans.txt (#53187)
## Problem

Add Nick Clark to the Supabase team list in
`apps/docs/public/humans.txt`.

## Solution

Insert the name in alphabetical order between Nick B and Nick Littman.

## Review instructions

1. Open `apps/docs/public/humans.txt`.
2. Confirm `Nick Clark` appears once, between Nick B and Nick Littman.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md).
- [x] This change does not add or edit a docs topic.

## Self-review

- Verified the one-line diff and ran `git diff --check`.
- No build or tests were run for this static text entry.

Co-authored-by: Nick Clark <nick.clark@supabase.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 10:56:08 +08:00
Ivan VasilovandClaude Opus 5.5 11a71d795a chore(docs): replace pnpm lifecycle hooks with turbo task dependencies (#52556)
## Problem

`apps/docs` ordered its build, dev and codegen steps with pnpm
`pre`/`post` hooks and `&&` chains. Turbo couldn't see those steps, so
it couldn't cache or parallelize them, and running the build through
turbo ran the codegen twice. Part of
[FE-4948](https://linear.app/supabase/issue/FE-4948/migrate-the-pnpm-scripts-to-use-turbo).

## Solution

The ordering now lives in `apps/docs/turbo.jsonc` as `dependsOn`, and
every pre/post hook is gone. The new `maybe-turbo` workspace bin runs a
script through `turbo run` unless it's already inside turbo, so `pnpm
build`, `pnpm dev`, `pnpm codegen:references` and the other entry points
keep running their prerequisites.

Turbo is bumped to 2.11.10 for its `jit` input mode. Tasks downstream of
the uncached remote fetches use it to hash the gitignored files those
fetches write after they finish, so a cache hit can't restore output
built from older content. Strict-mode env vars are declared.

Other changes:
- The R2 upload moves from `postbuild` to the `vercel.json` build
command, so it still runs when the build is a cache hit.
- `codegen:references:new:ensure` re-downloads when any JavaScript
TypeDoc dump is missing or empty.
- The guides manifest is now sorted, so its output is deterministic.
- A new `turbo-scripts` agent skill (listed in `AGENTS.md`) documents
these conventions for every app. Its audit script, `node
.agents/skills/turbo-scripts/scripts/audit.mjs apps/<name>`, flags
scripts that need `maybe-turbo`, leftover `pre`/`post` hooks, script
chains, and wrapped scripts without a turbo task.

## Review instructions

1. Read `packages/maybe-turbo/README.md`, `apps/docs/turbo.jsonc` and
`.agents/skills/turbo-scripts/SKILL.md`.
2. From `apps/docs`, set `GH_TOKEN=$(gh auth token)` for the federated
fetch and run `pnpm run build:markdown` a few times. Once warm, every
task except `build:federated-content` and
`codegen:references:new:ensure` should hit the cache.
3. Run `pnpm build` from `apps/docs` and check that the docs Vercel
preview deploys and renders normally.

## Checklist

Check all before review:

- [ ] 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)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 16:33:28 +01:00
Jordi Enric 5a3e1fd871 docs(logs): document unified CLI logs DEBUG-267 (#53086)
## Problem

The unified CLI logs commands need a public guide. The existing SQL
guide also says the CLI cannot query hosted ClickHouse logs, which is
only true for v2.

## Fix

Add **Logs in the CLI** to the Observability navigation and overview
cards. Cover local and remote queries, filters and time ranges,
interactive versus JSON output, exports, SQL, command options,
migration, and troubleshooting.

Include screenshots of the explorer and full record details using demo
local logs. Keep the v2 CLI reference unchanged and update links from
the existing logs and SQL guides.

Merge after the CLI version with unified logs is released. Tracks
[DEBUG-267](https://linear.app/supabase/issue/DEBUG-267) and
[DEBUG-268](https://linear.app/supabase/issue/DEBUG-268).

## How to test

Open `/docs/guides/observability/cli-logs` in the preview. Check the
section order, images, option tables, and links from Observability, Logs
in Studio, and Query logs with SQL.

Local examples were verified using the CLI PR build and retained log
fixtures. Hosted examples were checked against the implementation but
were not rerun against a live project for this docs change.

## Screenshots

Explorer showing demo local logs:

![Interactive log
explorer](https://raw.githubusercontent.com/supabase/supabase/0f47956edf/apps/docs/public/img/guides/observability/cli-logs/explorer.jpg)

Full selected record:

![Full log
details](https://raw.githubusercontent.com/supabase/supabase/0f47956edf/apps/docs/public/img/guides/observability/cli-logs/details.jpg)
2026-11-09 16:32:33 +01:00
3ad7cccbf5 chore: update cli reference doc (#49619)
Updates the CLI reference from the supabase/cli release workflow.

Generated by `scripts/generate-docs-spec.ts` in supabase/cli — edit the
command tree or the content under `apps/cli/docs/` there rather than
this
file.

New commands also need an entry in
`apps/docs/spec/common-cli-sections.json` —
without one a command's page is silently dropped from the docs site.
Sections fixes can be committed directly onto this branch — later
releases
add commits on top instead of rewriting it.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Goux <hi@jgoux.dev>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-11-09 14:52:25 +01:00
Ilya Kobets 9fd979e20a Added myself to humans.txt (#53066)
## Problem

I have a task in my onboarding hub

## Solution

Added myself to humans.txt

## Checklist

Check all before review:

- [x] 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-11-09 16:05:44 +09:00
claude[bot]andClaude 032f0d0710 fix: broken links from the Web 404 Review, week of 2026-11-02 (#53144)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1794189210976169?thread_ts=1794189210.976169&cid=C076KTY11DF)_

## Problem

The Web 404 Review for the week of 2026-11-02 flagged these paths as
returning 404:

- `/docs/guides/local-development/cli/customizing-email-templates`: the
guide moved out of `cli/` and the old path has no redirect.
- `/docs/swift/javascript/auth-mfa-enroll`: the Swift v1 and v2
`mfa.challengeAndVerify()` notes link to this malformed path.
- `/docs/guides/database/triggers`: the guide moved to
`/docs/guides/database/postgres/triggers` and the old path has no
redirect.
- `/docs/guides/local-development/cli/managing-config`: the guide moved
out of `cli/`. Its sibling paths (`cli/managing-environments`,
`cli/migrations`, `cli/seeding-your-database`) already redirect, this
one was missed.

## Solution

One commit per fix, so any fix can be dropped by reverting its commit:

- `/docs/guides/local-development/cli/customizing-email-templates`:
permanent redirect to
`/docs/guides/local-development/customizing-email-templates` in
`apps/docs/lib/redirects/static-redirects.json`.
- `/docs/swift/javascript/auth-mfa-enroll`: link changed to
`/docs/reference/swift/auth-mfa-enroll` in
`apps/docs/spec/supabase_swift_v1.yml` and
`apps/docs/spec/supabase_swift_v2.yml`, matching the other languages and
the sibling `mfa.challenge()` note.
- `/docs/guides/database/triggers`: permanent redirect to
`/docs/guides/database/postgres/triggers` in `static-redirects.json`.
- `/docs/guides/local-development/cli/managing-config`: permanent
redirect to `/docs/guides/local-development/managing-config` in
`static-redirects.json`, next to its siblings.

All redirect targets exist in `apps/docs/content/guides`. `node
apps/docs/scripts/generate-static-redirects-md-variants.mjs` runs clean
with the new entries.

## Review instructions

Open each path in the To test list on the docs preview and check the
result.

## To test

- [x] Open
`/docs/guides/local-development/cli/customizing-email-templates`:
redirects to
`/docs/guides/local-development/customizing-email-templates`. 308,
target returns 200.
- [x] Open `/docs/reference/swift/auth-mfa-challengeandverify` and
`/docs/reference/swift/v1/auth-mfa-challengeandverify`: the "enrolled
factor" link goes to `/docs/reference/swift/auth-mfa-enroll`. Both
pages, target returns 200, no `/docs/swift/javascript/` hrefs remain.
The v1 page linking to the latest enroll page matches the other v1 specs
(Dart, Kotlin) and the sibling `challenge()` note.
- [x] Open `/docs/guides/database/triggers`: redirects to
`/docs/guides/database/postgres/triggers`. 308, target returns 200.
- [x] Open `/docs/guides/local-development/cli/managing-config`:
redirects to `/docs/guides/local-development/managing-config`. 308,
target returns 200.
- [x] Sibling redirect
`/docs/guides/local-development/cli/managing-environments` still goes to
`/docs/guides/deployment/managing-environments` (200).
- [x] Markdown variant `/docs/guides/database/triggers.md` redirects to
`/docs/guides/database/postgres/triggers.md` (308, 200).
- [x] The three redirect targets load directly with no further redirect.

## Checklist

Check all before review:

- [ ] 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-1459

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-09 16:00:32 +09:00
claude[bot]andClaude 1d31266c82 fix(docs): stop sending Ask AI question text to telemetry (#53142)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1794187436590809?thread_ts=1794187436.590809&cid=C076KTY11DF)_

## Problem

**Before:** `docs_search_v2_ask_ai_question_submitted` sent the user's
Ask AI question, cut to its first 300 characters, as a `question`
property (added in #52459). Free-text questions can contain personal
data such as names, emails, pasted logs, or connection strings.

**After:** the event sends only `questionLength` and `questionSource`.
No question text leaves the browser. This matches `kb_search_submitted`,
which already leaves the query text out and sends only its length.

Linear:
[GROWTH-1458](https://linear.app/supabase/issue/GROWTH-1458/stop-sending-ask-ai-question-text-in-docs-search-v2-ask-ai-question)

## Solution

- `packages/common/telemetry-constants.ts`: remove `question` from
`DocsSearchV2AskAiQuestionSubmittedEvent` and note in the event doc that
the question text is left out, as `KbSearchSubmittedEvent` does.
- `apps/docs/features/SearchV2/AskAiPanel.tsx` (typed questions) and
`SearchV2Provider.tsx` (questions carried over from search): drop the
`question` property.
- `apps/docs/features/SearchV2/constants.ts`: delete
`ASK_AI_QUESTION_TELEMETRY_LENGTH`, which nothing uses now.
- `SearchV2.telemetry.test.tsx`: replace the truncation test with one
that checks a typed question sends exactly `{ questionLength,
questionSource: 'typed' }`, has no `question` property, and does not
contain the question text.

Out of scope: `docs_search_v2_search_submitted.query` and
`docs_search_v2_result_clicked.query` stay as they are.

## Review instructions

1. Check that the event type in `telemetry-constants.ts` no longer has
`question`, and that typecheck enforces this at both call sites.
2. Run `pnpm vitest --run features/SearchV2` in `apps/docs`. All 33
tests pass locally.
3. `tsc --noEmit` passes in `apps/docs` (after `codegen:graphql`) and
`packages/common`. Prettier is clean on changed files.

## Checklist

Check all before review:

- [ ] 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)
(not applicable: no docs content changed)

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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-09 15:39:55 +09:00
Pamela Chia d862ac18f2 feat(telemetry): stamp the app's platform on every event (#53078)
Every first-party PostHog event now carries a `platform` property naming
the supabase.com app that sent it. Each app passes its directory name
(`studio`, `www`, `docs`, `kb`, `learn`, `ui-library`) once at telemetry
setup, and I stamp it on both send paths.

**Changed:**
- **Events sent through the Management API**
(`/platform/telemetry/event`): `buildTelemetryEventRequest` adds
`platform` to `custom_properties`. This also covers kb's search events,
which build the request without `sendTelemetryEvent`.
- **Events sent by posthog-js** (pageviews, page leaves, identify,
experiment exposures): a `before_send` hook stamps `platform` at send
time.
- **App setup**: `PageTelemetry` takes a required `platform` prop, and
kb's island sets the value directly. While unset, the property is left
off instead of defaulting to an app.

**Note:** I used `before_send` instead of `posthog.register()`. Super
properties persist in localStorage, which every supabase.com app shares,
so events sent before `register()` runs would carry the previous app's
value.

**Do not merge yet.** Studio's `trackFeatureFlag` body still needs
`platform`. That commit waits for the Management API change that accepts
the field to reach production, plus an `api-types` regen. The flag-track
body is strict, so sending `platform` early returns 400 on every flag
call.

## To test

On each app's preview, accept cookies and add `?__posthog_debug=true` to
the URL.

- [x] Studio: load a page, expect `$pageview` with `properties.platform:
"studio"` (seen at ingestion: the staging PostHog project has
`$pageview` and `$pageleave` events from the studio-staging preview
host, all with `platform: "studio"`)
- [x] www: load the homepage, expect `send "$pageview"` with `platform:
"www"`; click "Start your project", expect the
`/platform/telemetry/event` request body to have
`custom_properties.platform: "www"` (both seen)
- [x] docs: load a guide, expect `send "$pageview"` with `platform:
"docs"` (seen); added: "Copy as Markdown" sends `custom_properties:
{"pageType":"guide","platform":"docs"}`
- [x] kb: load a page, expect `send "$pageview"` with `platform: "kb"`;
run a search, expect the `/platform/telemetry/event` body to have
`custom_properties.platform: "kb"` (seen on both `kb_search_submitted`
and `kb_search_result_clicked`)
- [ ] learn and ui-library: load a page, expect `send "$pageview"` with
`platform: "learn"` and `"ui-library"` respectively. Not checkable on
previews: learn has no preview deployment, and the ui-library preview
host is not on the consent provider's allowlist, so telemetry never
starts there.
- [x] Added, negative check: on docs, kb and www, no captured posthog-js
event had `platform` unset or set to another app
- [x] Added, ingestion: in the staging PostHog project,
`copy_as_markdown_clicked` (docs) and `start_project_button_clicked`
(www) carry `platform` as a top-level event property

## Linear
- fixes GROWTH-1450
2026-11-09 14:12:18 +09:00
dc73b346c1 docs: document feature flags and experiments for PMs (#53067)
## Problem

PMs want to ship docs changes behind feature flags and A/B test them.
Only code comments and old PR descriptions (#52049, #52191) document
how.

## Solution

- `apps/docs/CONTRIBUTING.md` (with a pointer from the root file): says
that docs supports flags and A/B tests, and whom to contact. The
internal how-to is in Notion.
- `ask-the-docs`: new `reference/feature-flags.md` covers the static and
PostHog flag systems, the variant hook pattern, and gotchas.
- `pm-the-docs`: sends flag requests to Docs Engineering.

People outside Supabase also use these skills, so the flag content fails
gracefully for them.

## Test plan

- [x] Prettier passes on the changed files.
- [x] Every cited code path exists on master.
- [ ] The root `CONTRIBUTING.md` anchor link resolves after the merge.

---------

Co-authored-by: Nik Richers <nik@validmind.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 02:51:35 +00: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
Miranda Limonczenko b1f49edc3b docs: revise Option 1 placements from the tree test results (#52969)
Closes DOCS-1473
Closes DOCS-1578

## Problem

The [tree test results on the live
trees](https://app.notion.com/p/40e5004b775f811b91bed8f7c76ac7f6) found
four tasks where agents look in a different place from where Option 1
puts the page:

- **Shared responsibility:** agents look in Security and compliance. The
page is under Deploy to production, and every arm failed the task.
- **RLS testing:** agents look in Local Development and CLI. The page is
under Database.
- **Project transfer:** with two levels visible, agents open Team,
because the task is about organizations.
- **Leaked API key:** with two levels visible, agents see Start's "API
keys" and choose it. The rotation page sits a level deeper, under
Security and compliance.

## Solution

Revises four Option 1 placements and labels. Option 1 only. Today's nav,
page content, and URLs don't change. No subheads.

| Task | Change |
| --- | --- |
| Shared responsibility | Moved from Deploy to production to Security
and compliance › Compliance. The `docs:compliance` flag moves to the SOC
2, HIPAA, and GDPR items so the page shows in every build. |
| RLS testing | New Testing group under Local Development and CLI, with
Overview, Test RLS policies with pgTAP, Testing your database, and pgTAP
advanced guide. Database's Testing group goes away. |
| Project transfer | "Projects, compute and scaling" becomes "Projects,
organizations and compute", in the sidebar and the top nav. "Transfer
Project" becomes "Transfer to another organization". |
| Leaked API key | Start's "API keys and key rotation" becomes an "API
keys" group with two pages: API keys, and Rotate a leaked API key. The
rotation page moves out of Security and compliance. |

Each page keeps one home. Every level stays at 7 items or fewer, 5
levels at most, and labels at 35 characters or fewer.

In the tree test on this preview, all four tasks now pass with no wrong
turns at two levels. Set-aside tasks score 83% against Option 1's 71% at
two levels, and the same within noise at one level.

## Preview links

| Site | Live | Preview | Search for |
| --- | --- | --- | --- |
| Docs | Not live until supabase/supabase#52735 merges |
[/docs/nav-tree.json](https://docs-git-docs-ia-option-1-placement-revisions-supabase.vercel.app/docs/nav-tree.json?docs-ia-mvp-v1=option-1)
| Rotate a leaked API key |

## Additional context

- **The leaked-key move trades views.** With two levels visible, as in
the top nav dropdown, agents choose the rotation page in 3 of 3 runs, up
from 0. With one level at a time, as on mobile, they look in Security
and compliance first and find it in 0 of 3, down from 3. A follow-up
link from the Security and compliance hub to the rotation page would
help one-level readers without listing the page twice.
- **Set-aside tasks:** the shared responsibility and project transfer
cases are set-aside tasks. A gain on either can't count as unseen-task
evidence. Only a fresh holdout set can confirm it.

## Review instructions

1. Open `/docs/nav-tree.json?docs-ia-mvp-v1=option-1` on the preview.
Check that each moved page appears once, under its new parent.
2. Open `/docs/nav-tree.json` without the parameter. Check that it
matches supabase/supabase#52737's.
3. Open `/docs?docs-ia-mvp-v1=option-1` on the preview and hover Start.
Check that API keys shows as a group with Rotate a leaked API key
inside.

## Checklist

Check all before review:

- [x] 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-11-06 11:51:25 -08:00
Miranda Limonczenko f59c795eb5 feat(docs): render Option 1 on the server when the variant is forced (#52735)
Closes DOCS-1520

## Problem

The original PR was only client-side. This is adding server-side
integration.

The docs-nav evals fetch each page's HTML with no JavaScript and add
`?docs-ia-mvp-v1=option-1` to every request. The option-1 arm gets the
control navigation anyway.

Guide pages are statically generated, so the server can't read the query
parameter. `useIaNavVariant` reads the override from the URL after the
page loads, so the fetched HTML always has today's nav, hidden with an
`invisible` class.

The top nav dropdowns have a second gap. Their panels mount on the
client, so their links are not in the server HTML for either variant.
Every eval case starts at `/docs`, where those links are the only way
into the Option 1 groups.

## Solution

- **Rewrite option-1 requests:** `proxy.ts` sends `/docs` and guide
pages with `?docs-ia-mvp-v1=option-1` to `/docs/ia/option-1/…`. Pages
there render on the first request and are then cached, so nothing is
added to the build. Requests without the parameter, and `.md` requests,
are not rewritten.
- **Read the variant from the route:** `IaNavRouteProvider`, in the root
layout, reads the variant from the layout segments. `useIaNavVariant`
returns it on the server and records no PostHog exposure for it.
`useIaNavReady` is ready at once, so the nav has no `invisible` class.
- **Strip the route prefix:** on the server, `usePathname` returns the
rewritten path. The nav components, breadcrumbs, and `AiTools` use
`useDocsPathname`, which strips the `/ia/option-1` prefix.
- **Breadcrumbs follow the variant:** they resolve from the visitor's
nav config, not always today's.
- **Top nav subheads in the HTML:** a `<noscript>` block next to the top
nav lists the dropdown links for the visitor's variant, inside an
`sr-only` nav. Browsers with JavaScript ignore it.
- **No index for the route:** direct visits to `/docs/ia/option-1/…` get
`noindex`. Canonical URLs point to the real guide.

**Not changed:**

- **Reference pages:** they keep today's nav, even with the parameter.
- **Config pages:** the five generated config pages under `self-hosting`
and `local-development/cli` are not in the markdown manifest, so they
keep today's nav too.
- **Links:** they don't carry the query parameter, so a click in the
browser leaves the forced variant. This was already the case before this
PR.
- **Conflicts with #52679:** it changes the same hooks. Whichever PR
merges second needs a rebase.

## Review instructions

`grep -c` counts the lines of server HTML that contain the text. A count
of 1 or more means the text is in the HTML that an agent fetches without
JavaScript. A count of 0 means it is not.

1. Run `curl -s
"https://docs-git-docs-ia-option-1-server-render-supabase.vercel.app/docs/guides/auth/sessions?docs-ia-mvp-v1=option-1"
| grep -c "Run and manage"`. The count is 1 or more. "Run and manage" is
an Option 1 top nav label, so this checks that the parameter gets Option
1's nav from the server.
2. Run `curl -s
"https://docs-git-docs-ia-option-1-server-render-supabase.vercel.app/docs/guides/auth/sessions"
| grep -c "Run and manage"`. The count is 0. This checks that a request
without the parameter still gets today's nav.
3. Run `curl -s
"https://docs-git-docs-ia-option-1-server-render-supabase.vercel.app/docs?docs-ia-mvp-v1=option-1"
| grep -c "guides/platform/ssl-enforcement"`. The count is 1 or more.
The home page has no sidebar, and this link sits only in the "Run and
manage" dropdown, so this checks that the top nav subhead links are in
the server HTML.
4. Run `curl -s -o /dev/null -w "%{http_code}"
"https://docs-git-docs-ia-option-1-server-render-supabase.vercel.app/docs/guides/auth.md?docs-ia-mvp-v1=option-1"`.
It returns `200`. This checks that the markdown version still loads with
the parameter.
5. Open
[/docs/guides/auth](https://docs-git-docs-ia-option-1-server-render-supabase.vercel.app/docs/guides/auth)
in a browser and hover over the top nav. You see today's nav and
dropdowns.

## Checklist

Check all before review:

- [x] 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)
2026-11-06 19:46:37 +00:00
Johan BergströmandPaweł Gulbinowicz fcd79b69eb chore(docs): webhook secret leak documentation
Document the new events we recently shipped that fire when a credential is leaked belonging to a project/org.

PR: https://github.com/supabase/supabase/pull/53000
Co-authored-by: Paweł Gulbinowicz <pawel.gulbinowicz@supabase.io>
2026-11-06 15:05:10 +00:00
Ivan VasilovandClaude Sonnet 5.5 fe7b3ad6af chore: bump @graphql-codegen and its deps (#52785)
## Problem

`@graphql-codegen/cli` and related packages in `apps/studio` and
`apps/docs` were pinned to old major versions (`cli` 5.0.5, `typescript`
4.1.6, `typescript-resolvers` 4.5.0).

## Solution

- Bump `@graphql-codegen/cli` to `^7.0.0` and
`@graphql-codegen/typescript-resolvers` to `^6.0.0`. Drop the explicit
`@graphql-codegen/typescript` dependency from `apps/docs`.
- Regenerate the Studio GraphQL output in `apps/studio/data/graphql/`
with the new codegen. The generated files now include an `index.ts`
export change, and `graphql.ts` is much smaller.
- Refresh `apps/studio/scripts/schema.graphql`, which picks up the new
`ManagementApiReference` search result type.
- Update `.prettierignore` (ignore `apps/studio/.output`,
`apps/studio/dist`, and all of `apps/ui-library/public`) and run
Prettier on the regenerated files.

## Review instructions

1. Check the dependency bumps in `apps/studio/package.json` and
`apps/docs/package.json`.
2. Re-run the Studio codegen and confirm it produces no diff in
`apps/studio/data/graphql/`.
3. Run `pnpm typecheck` and confirm the GraphQL consumers in Studio
still compile.

## Checklist

Check all before review:

- [x] 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)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 14:01:38 +00:00
Pedro Rodrigues e8a82b4db2 docs(mcp): document notebook tools for MCP v0.16.0 (#53045)
## Problem

[MCP
0.16.0](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.16.0)
enables the notebook tools (`create_notebook`, `run_notebook`,
`delete_notebook`) alongside `list_notebooks` and `get_notebook`, in the
`notebooks` feature group, and
[0.16.1](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.16.1)
enables that group by default. The MCP docs page doesn't mention them or
their confirmations, and the configuration panel has no way to select
the group or skip its confirmations.

## Solution

Document the Notebooks group on the MCP page in the same format as the
other groups: hosted only, not available in local or self-hosted Studio.
Add a Notebook confirmations section covering `run_notebook` and
`delete_notebook` elicitation and read-only behavior. Add `run_notebook`
and `delete_notebook` to `skip_elicitations`, and add a Notebooks
recommendation covering the per-run limits (50 query cells, about 1 MB
of rows).

In the configuration panel and Studio Connect sheet, add Notebooks as a
default group for hosted connections only. A `defaultDisabled` flag on
each group replaces the hardcoded Storage exclusion, and the notebook
skip options appear only while Notebooks is enabled.

No docs change needed for the other 0.16.0 and 0.16.1 fixes (feedback
`project_id`, project ref hint, `partition_of`, check expressions,
EXPLAIN confirmation, edge function paths, notebook URLs in tool
outputs).

## Before merge

-
[supabase/platform#38799](https://github.com/supabase/platform/pull/38799)
must ship. Until then, hosted only serves `list_notebooks` and
`get_notebook`.
- The scoped token permissions table is generated from the platform
`mcp-tools-permissions` endpoint, which doesn't list `create_notebook`,
`run_notebook`, or `delete_notebook` yet.

## Verification

<img width="838" height="367" alt="image"
src="https://github.com/user-attachments/assets/29d1bd4e-5046-4986-9dbb-ed077bdf3a56"
/>

MCP Docs preview
[page](https://docs-git-rodriguespn-ai-1409-mcp-docs-v0-16-0-supabase.vercel.app/docs/guides/ai-tools/mcp)

Closes AI-1409
2026-11-06 12:49:39 +00:00
Alaister YoungandAlaister Young b04118b0e6 [FE-4885] feat(www,docs): add InstantDB migration page to sitemap, docs (#53074)
Makes the InstantDB migration page discoverable. It's served through a
rewrite, so it has no page file for the sitemap to find, and it serves
as its own docs, so there's no separate guide to link to.

**Added:**
- `https://supabase.com/migrate/instantdb` in the www sitemap, alongside
the other proxied apps
- InstantDB card in the "Migrate to Supabase" listing on
`/docs/guides/resources`

The card has no icon because the repo has no InstantDB logo. Adding one
later would also put it in the docs home migration grid.

## Tested locally

Sitemap and docs listing tests pass, and ESLint and Prettier are clean
on the touched files. The generator outputs the URL once, as valid XML.
`tsc` in `apps/docs` only failed on the missing `__generated__/graphql`
module since codegen wasn't run.

## To test

- `/docs/guides/resources` on the docs preview: card shows in "Migrate
to Supabase" and links to the migration page
- `/sitemap_www.xml` on the www preview includes `/migrate/instantdb`

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-06 15:48:21 +09:00
InianandNik Richers b703085582 Update access-control.mdx (#34900)
Just being extra cautious to make it clear that developer role has full
content access.

Previous wording could be interpreted as read access to content.

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-05 20:10:26 -07:00
jonathan-eng-p aa9d04e4f7 docs: add Jonathan Eng to humans.txt (#53031)
## Problem

Onboarding task: add "Jonathan Eng" to `humans.txt`

## Solution

I added "Jonathan Eng" to the team list in
`apps/docs/public/humans.txt`, in alphabetical order. No other files
changed.

## Review instructions

1. Open the diff for `apps/docs/public/humans.txt`.
2. Check that "Jonathan Eng" appears once, in alphabetical order, with
no other changes.

## Checklist

Check all before review:

- [x] 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-11-05 21:30:40 +00:00
Dhruv 9eecc75e01 Remove Leonardo Santiago from humans.txt (#53033)
Offboarding
2026-11-05 14:22:05 -07:00
Patrick Knight 7a818c620f Add Patrick Knight to humans.txt (#53038)
## Problem

I'm a new hire and missing from humans.txt.

## Solution

Updating humans.txt to add myself.

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## Checklist

Check all before review:

- [ ] 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)
2026-11-05 14:21:48 -07:00
romangruhn 86db293ec4 Add Roman Gruhn to humans.txt (#53052)
## Problem

No problem. Just adding myself to the company's list of employees :)
2026-11-05 21:07:25 +00:00
Andrey A. 189adda99d chore(self-hosted): update 2026-11-05 - 0.8.4 (#53017) 2026-11-05 15:22:40 +01:00
Anthony Lio 63e52e119a feat(docs): ask ai enhancements (#52774)
## Problem

- the ask ai answer in the docs search dialog come in bursts
- the result is text that jumps by whole phrases and then stops, and
each new line moves the scroll position with a jump
- the copy button of an answer is always visible, a question has no copy
button

## Solution

- changes the answer to show a part of the waiting text on each
animation frame, so a burst of chunks shows at a steady rate
- adds a fade from a small blur to each new paragraph, list item and
source chip, and the source chips enter one after another
- changes the auto-scroll to move smoothly to each new line, and both
animations stop when the user sets reduced motion
- changes the copy buttons to show on hover, on keyboard focus and on
touch screens, and adds a copy button to each question

| before | after |
| -------|------|
| <video
src="https://github.com/user-attachments/assets/87f6710a-8174-460d-b343-90d19757d673"
/> | <video
src="https://github.com/user-attachments/assets/50bdbec3-d553-4ab3-96bb-2bf30c403815"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open [/docs](https://supabase.com/docs) and
[/docs](https://docs-git-antlio-feat-ask-ai-streaming-supabase.vercel.app/docs)
side by side
2. press `Cmd+I` on each page, and ask `how do I set up row level
security?`
3. make sure that the preview answer shows at a steady rate, and that
each new paragraph fades in
4. make sure that the preview source chips enter one after another when
the answer completes
5. move the pointer over the answer and over the question, and make sure
that each copy button shows
6. click the copy button of the question, and make sure that the
clipboard has the question text

## Checklist

Check all before review:

- [x] 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-11-05 12:33:07 +00:00
Anthony Lio c7baea1eb3 feat(ui): unify mobile nav (#52410)
## Problem

- follow up pr #52177 to reuse in home + www new mobile menu

## Solution

- adds `MobileNavToggle` to `ui-patterns` and uses it in docs, kb and
www, so the three apps share one same shake shack burger
- fixes Escape on www, because the closed desktop dropdowns marked each
Escape as handled, so the drawer now checks focus
- changes the top bar to find its active group during render, so the
active tab shows on the first frame
- changes the drawer on docs pages without a sidebar to open on their
group, so troubleshooting opens on Resources

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. open from mobile `/docs` and open menu
2. make sure that the drawer opens below the header with the section
picker and the sign in buttons
3. make sure that the page behind the drawer does not scroll
4. press Escape, and make sure that the drawer closes and focus returns
to the burger
5. open `docs/guides/database/overview`, and make sure that the drawer
still shows the group links above the sidebar nav
6. open `/`, open the menu
7. click a link in the drawer, and make sure that the drawer closes

## Checklist

Check all before review:

- [x] 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)
2026-11-05 14:03:44 +02:00
Anthony Lio 9659778769 feat(ui): scrollbar track (#52493)
## Problem

- proposal to lift scroll bar ui accross the apps
- fix shared `ScrollBar` in `ui` showing only a thin `bg-border` thumb
with no track, so the scroll position is hard to see

## Solution

- replaces the native scrollbars in the docs left nav and in the guide
right column with the shared scroll area
- replaces the native scrollbar in the docs search v2 results with the
shared scroll area, and keeps the animated list height and the bottom
fade
- changes the command menu list to the shared scroll area, with the bar
2px from the edge so it does not touch the hover highlight
- changes the studio connect sheet body and its framework combobox to
the shared scroll area, so long code lines still scroll inside their own
code blocks

| state | preview |
| -------|------|
| before | <img width="473" height="260" alt="image"
src="https://github.com/user-attachments/assets/ef22e643-b92a-4a23-9c77-6b10851e1445"
/> |
| after | <img width="473" height="260" alt="image"
src="https://github.com/user-attachments/assets/46fe95e9-0574-4eef-afbd-20d591baa859"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/design-system/docs/components/scroll-area](https://design-system-git-antlio-feat-ui-scrollbar-track-supabase.vercel.app/design-system/docs/components/scroll-area),
scroll the vertical and horizontal demos, and make sure that the thumb
moves on a visible track and gets lighter on hover
2. open
[/docs/guides/database/postgres/row-level-security](https://docs-git-antlio-feat-ui-scrollbar-track-supabase.vercel.app/docs/guides/database/postgres/row-level-security),
scroll the left nav and the right column, and make sure that each shows
the new scrollbar
3. resize the page to mobile width, open the menu, and make sure that it
scrolls above the footer
4. make sure that the results scroll with the trackpad and with the
arrow keys, and that the bottom fade shows
5. open
[/dashboard](https://studio-git-antlio-feat-ui-scrollbar-track-supabase.vercel.app/dashboard),
press `⌘K`, scroll the command menu, and make sure that the thumb does
not touch the hover highlight of an item
6. open
[/dashboard/project/_?showConnect=true](https://studio-git-antlio-feat-ui-scrollbar-track-supabase.vercel.app/dashboard/project/_?showConnect=true),
scroll the connect sheet, and make sure that long code lines scroll
inside their code blocks and do not widen the sheet

## Checklist

Check all before review:

- [x] 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)
2026-11-05 09:16:06 +02:00