mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## I have read the CONTRIBUTING.md file. YES ## What kind of change does this PR introduce? Simplifies the Contributing page so it does not duplicate the GitHub guide, and updates `CONTRIBUTING.md` and `apps/docs/README.md` to match. Closes DOCS-1563. ## What is the current behavior? The live page is a 530-line component reference that duplicates and drifts from CONTRIBUTING.md and the official docs style guide. Current info about how to author content with our skills is missing. ## What is the new behavior? `content.mdx` is a short intro that agrees with CONTRIBUTING.md, plus a card that opens the guide on GitHub. `CONTRIBUTING.md` now says to link an issue, that GitHub requests a review from the Docs team (`@supabase/docs`), and to give the changes a human review. It also requires a frontmatter `description`, documents the `skip-anchor-check` label, and describes keyword search (`docs_search_v2`) instead of embedding search. `apps/docs/README.md` is now a short map: style guide, contributing guide, agent skills, local setup, and redirects. The old Reference Docs and DocSpec overview is gone. ## Additional context - Worktree: ~/GitHub/supabase/supabase-worktrees/nikrichers/docs-1563-refresh-docscontributing-with-rules-of-engagement-and-remove - Verification: | Check | Result | | --- | --- | | `prettier --check` on the four changed files | pass | | CI `format` | pass | | Production `/docs/contributing` | pass, HTTP 200 | | Preview `/docs/contributing` | pass, HTTP 200, shows How to contribute and Get started | | Full-page screenshots at 1280px | pass | ### Proof: the contributing page is a short guide, not a component catalog **Verified:** production `curl` (200) · preview `curl` (200) · `prettier --check` (pass) | [Before (production)](https://supabase.com/docs/contributing) | [After (PR preview)](https://docs-git-nikrichers-docs-1563-refresh-docscontr-0d1210-supabase.vercel.app/docs/contributing) | | --- | --- | |  | <img width="1388" height="1283" alt="image" src="https://github.com/user-attachments/assets/108856e9-0c53-4ca3-ae0e-0c2a0aedeab3" /> | ### Test plan - [ ] Compare the production and preview pages in the table above. - [ ] On the preview, read How to contribute and confirm the three steps. - [ ] Open the Get started card and confirm it lands on `apps/docs/CONTRIBUTING.md`. - [ ] Confirm the card text covers authoring, where the docs source lives, and how the docs app works. --------- Co-authored-by: Nik Richers <nik@validmind.ai>
14 lines
964 B
Markdown
14 lines
964 B
Markdown
# Supabase Docs
|
|
|
|
This directory contains the Next.js app for [supabase.com/docs](https://supabase.com/docs).
|
|
|
|
Guides live in `content/` as MDX. Reference pages are generated from the specs in `spec/`: OpenAPI, SDKSpec, ConfigSpec, and CLISpec. Some sections come from other repositories.
|
|
|
|
## Where to go
|
|
|
|
- To write a page, follow the [style guide](./style-guide/README.md).
|
|
- To find where a page lives, add one, or update generated reference docs, use the [contributing guide](./CONTRIBUTING.md). Library maintainers start at [Reference structure](./CONTRIBUTING.md#reference-structure).
|
|
- To use an agent, use the [AI agent skills for docs authoring](./CONTRIBUTING.md#ai-agent-skills-for-docs-authoring). Those skills include framing a page and placing it in the information architecture.
|
|
- To run the site locally, use the [developers' guide](./DEVELOPERS.md).
|
|
- To add or change a redirect, read [`lib/redirects/README.md`](./lib/redirects/README.md) first.
|