From 4eab2bdbc6ebeab9e6c8eceef4e4c6f0925e8853 Mon Sep 17 00:00:00 2001 From: Miranda Limonczenko Date: Fri, 30 Oct 2026 16:44:08 -0700 Subject: [PATCH] docs(style-guide): say how to introduce a link (#52578) ## Problem The style guide says to write "For more information about X, see Y," which is too prescriptive and not nuanced. ## Solution - **Introduce a link:** replace "Introduce a link with `see`" with a table of three forms. These are `See [Title].`, `For more information, see [Title].`, and `For more information about X, see [Title].` Each row says when to use the form. It's funny. By making something 'looser', it still feels quite prescriptive. But now there is at least options and nuance. ## Manual testing 1. Read [Introduce a link](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/02-elements.md#introduce-a-link). See the three forms and three examples. 2. Read [Put the condition before the instruction](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/01-voice-and-tone.md#put-the-condition-before-the-instruction). See that its `For more information, see [Row Level Security]` example matches the second form. --- apps/docs/style-guide/02-elements.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/docs/style-guide/02-elements.md b/apps/docs/style-guide/02-elements.md index dde68ed4663..0fd41c7111f 100644 --- a/apps/docs/style-guide/02-elements.md +++ b/apps/docs/style-guide/02-elements.md @@ -436,10 +436,19 @@ Name the thing instead. - **Recommended**: `[HTTP/1.1 RFC](https://www.rfc-editor.org/rfc/rfc2616)` - **Not recommended**: `[https://www.rfc-editor.org/rfc/rfc2616](https://www.rfc-editor.org/rfc/rfc2616)` -#### Introduce a link with `see`, and say what the reader will find +#### Introduce a link -Write `For more information about X, see Y` rather than `For more information on X, see -Y`. The `about` clause is what tells a reader whether the link is worth following. +Introduce a link so the reader always knows where the link goes and why it's relevant. + +| Write | When | +| -------------------------------------------- | -------------------------------------------------------------- | +| `See [Title].` | The sentence before already says why the link matters | +| `For more information, see [Title].` | The title says what the reader gets, and `See` reads as abrupt | +| `For more information about X, see [Title].` | The title alone doesn't say why the link matters here | + +- **Recommended**: ``The `anon` role handles requests from users who aren't signed in. See [Postgres roles](/docs/guides/database/postgres/roles).`` +- **Recommended**: `For more information about policies, see [Row Level Security](/docs/guides/database/postgres/row-level-security).` +- **Not recommended**: `For more information about Row Level Security, see [Row Level Security](/docs/guides/database/postgres/row-level-security).` #### Keep sentence punctuation outside the link