Skip to content

docs: cross-link the three Supabase pages - #698

Open
rivaldorose wants to merge 1 commit into
drizzle-team:mainfrom
rivaldorose:docs/cross-link-supabase-pages
Open

docs: cross-link the three Supabase pages#698
rivaldorose wants to merge 1 commit into
drizzle-team:mainfrom
rivaldorose:docs/cross-link-supabase-pages

Conversation

@rivaldorose

Copy link
Copy Markdown

Closes #4949

Problem

Supabase is covered on three pages:

None of them link to the other two, so as #4949 puts it, you end up reading all three to be sure one doesn't contain something the others don't.

Approach

The three pages aren't really duplicates — they serve different purposes (quickstart / connection reference / full tutorial), and the same split exists for the other providers. So rather than merging them, this PR makes the split visible: each page gets a short callout explaining what it covers and linking to the other two.

This keeps existing URLs intact and follows the <Callout> pattern already used elsewhere in the docs.

Changes

Three files, +12 lines, no deletions:

File Callout says
get-started/supabase-new.mdx sets up a new project → connection page, tutorial
pg/connect-supabase.mdx covers connecting → get started, tutorial
tutorials/drizzle-with-supabase.mdx most complete → get started, connection page

Verification

  • pnpm test — 29/29 passing
  • pnpm build (astro check && astro build) — clean, 769 pages built
  • Confirmed in the built HTML that each callout renders and links only to the other two pages

Happy to adjust the wording, or to close this if you'd rather consolidate the pages instead.

The get started guide, the connection page and the tutorial each cover
Supabase for a different purpose, but none of them referenced the other
two. Readers had to go through all three to be sure they were not
missing anything.

Add a short callout to each page pointing to the other two, so it is
clear up front what each page covers.

Closes #4949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant