mirror of
https://github.com/supabase/supabase.git
synced 2026-12-05 16:09:06 +00:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? docs update ## What is the current behavior? The CLI config reference still documents the `inbucket.*` keys and links to inbucket.org. Since supabase/cli#5333 the preferred key is `local_smtp`, `inbucket` only survives as a deprecated alias that prints a warning, and `supabase init` writes `[local_smtp]` into new config files. So anyone following the reference page ends up with a deprecated key. Fixes #50530 ## What is the new behavior? The six entries are renamed to `local_smtp.*` and their links point at the Mailpit docs, which is what the CLI's own schema annotations use. `local_smtp.enabled` now reads "Enable the local SMTP testing server." instead of naming InBucket. `auth.email.smtp.host` also claimed a default of `inbucket`, so the word was still showing up in a Default column on this page. The CLI declares that field as optional with no default at all, so I dropped the value rather than invent a new one and the column now reads None, matching `auth.email.smtp.user` just below it. ## Additional context The spec file is only read by `apps/docs/app/guides/local-development/cli/config/page.tsx`, so renaming the keys affects the rendered page and nothing else. I left the `inbucket` entries out rather than listing both names, since the CLI schema itself exposes only `local_smtp` and rewrites the old section name before validation. One thing I left alone: `local_smtp.smtp_port`, `pop3_port`, `admin_email` and `sender_name` are documented with defaults of 54325, 54326, `admin@email.com` and `Admin`, but the CLI has no defaults for any of them. They are commented-out suggestions in the generated config.toml, and an unset `smtp_port` means the port is not exposed rather than 54325. That predates this PR and felt like a separate change, though I am happy to fix it here if you would rather it went in together. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Renamed local email testing configuration keys from `inbucket.*` to `local_smtp.*`. * Updated related documentation links to reference Mailpit. * For CLI versions before v2.108.0, use the `[inbucket]` section; newer versions still accept it with a deprecation warning. * Removed the documented default for `auth.email.smtp.host`. Ports and other defaults remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nrichers@gmail.com>
Supabase Specs
These spec files are used to generate the reference documentation.
Preparation
To get started, run make init. This installs all dependencies.
Usage
make # download and transform specs into docs