The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
Drafting mechanics
Mechanics that come up during drafting but aren't worth duplicating from the
style guide or ask-the-docs. For style rules, see
apps/docs/style-guide/. For nav
wiring, partials, and file placement, see ask-the-docs's app-map.md and
federated-docs.md.
Link paths
- Use
/docs/...paths for pages in Supabase docs. - Use site-root paths such as
/dashboardfor pages outside docs. - Use descriptive link text and sparse admonitions with the appropriate severity.
Anchor stability
Anchor IDs are generated from heading text at render time, and nothing in CI
checks that #anchor links still resolve. Before renaming, removing, or
substantially rewording a heading, run:
grep -rn "#<old-anchor-slug>" apps/docs/content
Update every in-page and cross-file match. If a heading needs a stable anchor
independent of its wording, pin it with a custom anchor, for example
## Some heading [#some-heading].
Lint and format
From apps/docs:
pnpm build:guides-markdown
pnpm build:guides-markdown only applies to guides, explainers, and tutorials.
From the repository root, run pnpm format to apply Prettier to changed MDX
files. This enforces repo-wide formatting rules, including lowercase SQL
keyword casing in code samples.
Check terminology against WORD_LIST.md
yourself. Treat its replacements as suggestions when context matters: rewrite the
sentence instead of applying one that changes its technical meaning.