Commit Graph
2 Commits
Author SHA1 Message Date
Lazizbek ErgashevandNik Richers 53890ec291 docs: rename inbucket CLI config keys to local_smtp (#50538)
## 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>
2026-10-31 00:48:35 +00:00
Lazizbek ErgashevandNik Richers f4992d96a3 docs(examples): fix broken BotFather image in elevenlabs-speech-to-text README (#50951)
## Problem

The BotFather screenshot in the `elevenlabs-speech-to-text` example
README points to
`/assets/images/cookbooks/scribe/telegram-bot/bot-father.png`. That path
came over from the ElevenLabs docs and doesn't exist in this repo, so
the image is broken on GitHub.

Fixes #50948

## Solution

The same screenshot is already in the repo at
`apps/docs/public/img/guides/functions/elevenlabs/bot-father.png` and is
used by the ElevenLabs guide. I pointed the README at its published URL,
the same way `examples/user-management/react-user-management/README.md`
links docs images.

## Review instructions

1. Open the README on this branch and scroll to "Register the Telegram
bot".
2. The BotFather screenshot now renders.

## 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)


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

## Summary by CodeRabbit

* **Documentation**
* Updated the BotFather image link to use the Supabase documentation
URL.

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

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-10-23 17:26:32 +00:00