Files
supabase/apps/docs/components/Navigation/NavigationMenu
46727fa89b docs: add guide for managing remote config as code (#50353)
## I have read the CONTRIBUTING.md file.

YES

## What kind of change does this PR introduce?

Docs. A new guide for `supabase config diff`, `config pull`, and `config
push`, written for CLI v3. Relates to MARKET-1590.

## What is the current behavior?

The CLI reference lists the three commands, but no guide explains the
workflow. The Select 2026 recap blog tells users to run `config pull`
with nothing to link to.

## What is the new behavior?

- New guide at `/docs/guides/local-development/config-as-code`, in the
nav after "Managing config and secrets".
- Covers diff (labels, `--exit-code` for CI), pull (preview, git check,
where values go), push (one consent question, `--yes` for CI and agents,
the `init` defaults risk), and what push can and cannot write.
- Links to `local-and-hosted-projects` and `migrating-to-v3` for the
shared v3 target and consent rules.

## Additional context

All behavior claims are checked against `supabase/cli` `v3.4.0`.

**Related:** #50594 by @Sweta0519 adds a `config push` section to
`managing-config.mdx`. This guide includes its `[group-write]` and
`init` defaults points, with credit. It might be good to ask if we can
shrink #50594 to a short pointer to this guide, so the two do not repeat
each other.

**Needs review:** one inline `NEEDS REVIEW` comment. "The Dashboard
stays editable" is product intent from the PRFAQ, not confirmed in
platform code.

**Verified:** MDX compiles, internal links and anchors resolve, and the
preview page returns 200 and shows in the nav.

| Before (net-new page) | [After (PR
preview)](https://docs-git-nikrichers-market-1590-launch-config-d-a8be81-supabase.vercel.app/docs/guides/local-development/config-as-code)
|
| ------------------------------ | --- |
| _No production URL, new page._ |
![config-as-code-after](https://moijyfpvgnmgoxvwcikq.supabase.co/storage/v1/object/public/pr-proof/supabase/supabase/pr50353/config-as-code-after-v3-865d0b89.png)
|

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

---------

Co-authored-by: Nik Richers <nik@validmind.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:01:58 -06:00
..