Commit Graph
50 Commits
Author SHA1 Message Date
Ivan VasilovandJoshen Lim 9fa96977be chore: Minor prettier fixes (#43849)
This PR fixes some prettier issues:
- Bump and unify all prettier versions to 3.7.3 across teh whole repo
- Bump the SQL prettier plugin
- When running `test:prettier`, check `mdx` files also
- Run the new prettier format on all files

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-03-17 11:17:42 +01:00
Prashant SridharanandAlan Daniel 14d36e9480 Bolt webinar cta page (#43107)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

New Go landing page for the upcoming Bolt webinar. This is where we will
direct customers who want to learn more to go to request a meeting.

---------

Co-authored-by: Alan Daniel <stylesshjs@gmail.com>
2026-02-24 10:50:54 +00:00
Jeremias Menichelli f6ec43a9ed [DOCS-454] fix(Docs): Fix images from causing CLS on pages (#43026) 2026-02-23 19:02:31 +01:00
Yogeshwaran C 647ac43c0a fix: correct indefinite article usage for acronyms (an HTTP, an API, an RLS) (#42919)
## What kind of change does this PR introduce?

Grammar corrections across documentation and test descriptions.

## What is the current behavior?

Multiple docs and test files use "a" before acronyms that start with a
vowel sound when pronounced:
- "a HTTP" (pronounced "aitch-tee-tee-pee") should be "an HTTP"
- "a API" (pronounced "ay-pee-eye") should be "an API"  
- "a RLS" (pronounced "arr-ell-ess") should be "an RLS"
- "the all users" is redundant (should be "all users")

## What is the new behavior?

All instances corrected to use proper English indefinite articles:

### Docs files (11 files):
- `firebase-auth.mdx` — "the all users" -> "all users" (2 occurrences)
- `log-drains.mdx` — "a HTTP drain" -> "an HTTP drain"
- `securing-your-api.mdx` — "a HTTP 402" and "a HTTP 420" -> "an HTTP"
- `scan-error-*.mdx` — "a HTTP 500" -> "an HTTP 500"
- `roboflow.mdx` — "a HTTP interface" -> "an HTTP interface"
- `auth-hooks.mdx` — "A HTTP Hook" -> "An HTTP Hook", "a HTTP hook" ->
"an HTTP hook", "a HTTP error" -> "an HTTP error"
- `auth-mfa.mdx` — "a HTTP 401" -> "an HTTP 401"
- `password-verification-hook.mdx` — "a HTTP request" -> "an HTTP
request"
- `before-user-created-hook.mdx` — "a HTTP implementation" -> "an HTTP
implementation"
- `pgtap-extended.mdx` — "a API exposed schema" -> "an API exposed
schema"
- `error-codes.mdx` — "a RLS policy" -> "an RLS policy"
- `broadcast.mdx` — "a RLS" -> "an RLS"

### Studio files (1 file):
- `CronJobs.utils.test.ts` — "a HTTP request" -> "an HTTP request" (9
test descriptions) + "notationa" typo -> "notation"

## Additional context

The rule: use "an" before acronyms pronounced with a leading vowel
sound. "HTTP" starts with "aitch" (vowel sound), "API" starts with "ay"
(vowel sound), and "RLS" starts with "arr" (vowel sound).
2026-02-19 07:23:18 -07:00
SheikhandChris Chinchilla 26a2cb1263 docs(ai): update example code to use Transformers.js v3 (#39915)
More info: https://github.com/huggingface/transformers.js/issues/1291

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2026-01-20 22:31:13 +00:00
GaryAustin1 4e0db9f72d docs: Update pgvector extension creation syntax (#40087)
Added schema specification to pgvector extension creation.
This is needed or vector extension is installed in public schema.
2026-01-12 09:36:15 +00:00
Dinesh DawonauthandChris Chinchilla 9a04c38395 docs: fix grammatical error in generate-text-embeddings guide (#41187)
* docs: fix grammatical error in generate-text-embeddings guide

* Update generate-text-embeddings.mdx

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-12-11 09:14:15 +00:00
Andrew AgostiniandChris Chinchilla a6a598f824 docs: Fix broken urls (#40457)
* docs: update link to Vecs Python source code in developers guide

* docs: update README to remove outdated GDScript links. These repos have been deleted

* docs: update links in CONTRIBUTING.md for consistency and accuracy

* docs: update Twilio verification service link

* docs: update Mixpeek Python Client link in video search guide, remove link to missing code example

* docs: update GIN index link to point to PostgreSQL 16 documentation ('current' symantic no longer exists)

* docs: update Cloudflare Turnstile links to avoid 302 redirect

* docs: update LlamaIndex SupabaseVectorStore link to the correct documentation

* docs: update link to related issue for error message translation in auth-ui guide (to avoid 302 redirect)

* docs: update link from Next.js middleware to Next.js Proxy in auth-helpers guide to follow Next.js's new naming convention

* Update DEVELOPERS.md

* Update CONTRIBUTING.md

Direct to correct URL

* Update hybrid-search.mdx

Fix URL

* docs: renam Next.js middleware to proxy

* Update DEVELOPERS.md

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-11-28 08:58:11 +00:00
Rodrigo Mansueli 6a142b7752 feat: AI docs update (#40183)
* feat: AI docs update

* Update Rule003Spelling.toml
2025-11-06 17:57:30 +01:00
Tyler 5cfc390a6a docs: Add schema qualified object references throughout the docs (#39904)
* Update vector type

* Update http and postgis

* Missed a spot on Postgis

* convert the gis reference to extensions in postgis guide
2025-10-28 17:42:50 +09:00
Yadong (Adam) Zhang 699dd6d19e docs: update outdated langchain usage. (#38616)
* fix(apps/docs): update outdated langchain usage.

* fix(apps/docs): update outdated langchain usage.
2025-09-16 14:31:24 +00:00
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00
Chris ChinchillaandDanny White 039e5c0345 docs: Update database settings to connection popup (#38462)
* Draft

* Draft

* Draft

* Draft

* Update apps/docs/content/guides/ai/rag-with-permissions.mdx

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>

* Update apps/docs/content/guides/database/beekeeper-studio.mdx

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>

* Update apps/docs/content/guides/platform/read-replicas.mdx

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2025-09-08 10:40:25 +00:00
Stojan DimitrovskiandChris Chinchilla 93ba2a312c docs: indicate publishable key instead of anon in many examples (#37411)
* docs: indicate publishable key instead of anon in many examples

* replace your-anon-key to string indicating publishable or anon

* fix your_...

* apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update keys in code examples

* Prettier fix

* Update apps/docs/content/guides/functions/schedule-functions.mdx

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-18 13:47:48 +02:00
Danny WhiteandJoshen Lim d914b81f47 feat: consolidate settings (#37580)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-04 16:21:54 +10:00
Carlos Manuel GonzalezandCharis Lam b27a7da097 Set security definer in queue_embeddings function (#35600)
* Update automatic-embeddings.mdx

Set `security definer` in `queue_embeddings` function

* add search_path

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-11 21:00:42 +00:00
Lakshan Perera 3c390c7891 chore: Use npm specifier instead of jsr for supabase-js imports (#36291)
chore: update examples to use npm specifier instead of jsr
2025-06-09 22:36:48 -04:00
PeterandTyler 6a812a04b6 Update docs for new connection strings and disk/compute pages in the dashboard (#35128)
* Update all docs that make references to the database settings to find the connection strings.

Update all docs that references the database settings for the compute and disk page

* run prettier

* run pnpm format instead of prettier directly.

* first run through, fix grammar and reword awkward sentences

* Fix typos and remove unnecessary whitespace

* Apply suggestions from code review

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2025-04-21 08:59:43 -05:00
Charis 2709fa4a3e feat: pre-compile-time partials (#34028)
Partials are currently defined via MDX includes. This PR switches to pre-compile-time partials, which have a new syntax:

```
<$Partial path="path/to/file.mdx" />
```

## Rationale

This produces two improvements:

1. Partial substitution can occur in pipelines that don't use MDX compilation. For example, we can now do partial substitution before building the search index, so partial content will also be indexed.
2. After the App Router migration, the MDXProviders should've been deprecated, but were kept around for the sole reason of making partials work, and leading to us shipping unnecessary client-side code. We get a minor decrease in overall client bundle size (5.74 MB to 5.6 MB) by getting rid of the Providers.

## Breaking changes

Besides the change to partial syntax, the arguments are also less powerful than before because we are doing string substitution and don't have the full power of JS. Defining string variables is still possible (documented in the Contributing guide), and since that's all we actually do in practice, this shouldn't be too cumbersome. There is always the escape hatch of making a custom component for more complex content reuse cases.
2025-03-18 10:37:39 -04:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Greg Richardson ca91bedbe9 Docs: Automatic embedding updates (#33773)
* docs: add back dimension size to halfvec column

* docs: change headers back to lowercase
2025-02-21 11:30:23 -07:00
174b32470e Docs: Automatic embeddings (#33498)
* docs: automatic embeddings

* feat: add dashboard instructions to enable extensions

* feat: internal linking

* fix: response status and headers

* chore: add 'enqueues' to spelling lint

* chore: add 'matryoshka' to spelling lint

* fix: 'eg.' to 'e.g.'

* feat: pgmq links to dedicated queue docs

* fix: ignore heading for mdx lint

* docs: remove double word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: change 'reuse' to 'use'

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: remove dimensions on halfvec column

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
2025-02-11 13:27:56 -07:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Sadman Yasar Sayem c1322fd9de Update semantic-search.mdx - Fix Typo (#31203) 2024-12-17 23:26:19 +00:00
TheOtherBrian1 590294c4bf Update structured-unstructured.mdx (#31083) 2024-12-12 18:03:46 -05:00
Han Qiao 822cf92322 chore: update docs links to database migrations page (#30922) 2024-12-06 11:40:49 +08:00
Charis 78d0755008 docs(ci): expand linter scope (#30678)
Expand linter scope to cover `ai` directory as well.
2024-11-26 14:28:40 -05:00
LeonardandCharis f6f5bf8331 Update structured-unstructured.mdx (#29991)
* Update structured-unstructured.mdx

* Update apps/docs/content/guides/ai/structured-unstructured.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-29 16:34:24 +00:00
a8fc87f6f5 mixpeek multimodal embed integration (#29014)
* mixpeek embed PR

* fix: undo remove and nav.

* Apply suggestions from code review

* chore: format.

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-09-04 07:57:03 +00:00
Charis 8313397aa7 fix(docs): duplicate heading ids (#28328) 2024-08-02 13:59:01 -04:00
Wen Bo Xieandegor ce42139560 fix: update gist-960 with the correct tab name (#28217)
* fix: update gist-960 with the correct tab name

* Apply suggestions from code review

---------

Co-authored-by: egor <58992960+egor-romanov@users.noreply.github.com>
2024-07-27 23:23:40 +00:00
Francesco Sansalvadore 1baf027fb1 chore: update pricing page / compute wording (#28017) 2024-07-19 15:39:11 +08:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Olivier 6bf236cce2 Update hybrid-search.mdx fix column name on documents table, fixes #26364 (#26365)
* Update hybrid-search.mdx fix column name on documents table

The function uses `doc_vector` but table is setup with `embedding` so changed it to `doc_vector`

* Update col description in hybrid-search.mdx

* Update hybrid-search.mdx

back to `embedding` as col name
2024-05-22 18:36:28 +00:00
Greg Richardson b173ca0404 Docs: fix column name in match_documents example (#26494) 2024-05-21 08:34:09 -06:00
Wen Bo Xie db24eb2e90 fix: revert renaming vector to pgvector on the client (#25911)
* Revert "docs: rename vector to pgvector (#23308)"

This reverts commit c30d5f0b1f.

* Revert "docs: update vector reference to pgvector (#23305)"

This reverts commit b2bae1351c.

* Revert "Fix vector extension (#23386)"

This reverts commit 7341b30c27.

* Revert "Rename vector to pgvector on client side (#23286)"

This reverts commit b48b6e201b.

* docs: add note to pgvector docs that ext name is vector

* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
Greg Richardson c30d5f0b1f docs: rename vector to pgvector (#23308) 2024-04-26 21:52:51 -07:00
Wen Bo Xie b2bae1351c docs: update vector reference to pgvector (#23305) 2024-04-26 16:40:30 -07:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Liam BirkinandCharis 7ac0f0fcc6 fix: broken links & typo in docs (#23118)
* Fix typos in testing-and-linting.mdx

- Changed an to and
- Fixed a 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* Fix typo in vector-columns.mdx

- Fixed 404 link due to missing forward slash

* found a few more 404 links

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-22 14:32:20 +00:00
Thor 雷神 SchaeffandLakshan Perera 2a4c525cd2 docs: ai in ef docs guide (#22788)
* wip: add semantic search example

* chore: complete ef ai guide.

* chore: update ai docs.

---------

Co-authored-by: Lakshan Perera <lakshan@laktek.com>
2024-04-16 21:36:19 +08:00
Lakshan PereraandCharis ba6d4e8fdb chore: update generate emebddings quickstart to use native API (#22764)
* chore: update generate emebddings quickstart to use native API

* Update apps/docs/content/guides/ai/quickstarts/generate-text-embeddings.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/ai/quickstarts/generate-text-embeddings.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-15 21:00:45 +00:00
Charis 5d8cef6040 fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
280c26d23d feat: add amazon bedrock vecs example. (#21963)
* feat: add amazon bedrock vecs example.

* feat: add Amazon Bedrock guides.

* feat: add blogpost.

* chore: add video.

* Apply suggestions from code review

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* chore: update example.

* chore: updates from review.

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-03-26 18:13:18 +08:00
Lau Wei ChengandCharis ad9d827287 Update docs (#22166)
Update headless-vector-search.mdx

update Supabase embeddings generator GitHub action name

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-25 13:14:43 +00:00
Greg RichardsonandCharis d551209e46 Docs: semantic search (#22116)
* docs: semantic search

* docs(ai): add search links in overview

* docs: wording improvements

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: more wording improvements

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-20 17:54:28 +00:00
Kunal GargandGreg Richardson a5ba3f96c5 docs: hybrid-search example for full_text subquery ordered correctly (#22052)
* docs: hybrid-search example for full_text subquery ordered correctly

* docs(hybrid-search): fix semantic row_number() order by

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-03-15 22:45:55 +00:00
c8d8e089b5 Docs: Hybrid search (#21955)
* docs: hybrid search

* fix: missing single quote in curl example

* fix: indent using spaces

* fix: link to reference docs

* fix: text spacing and line breaks

* docs: cap match_count to 30

Co-authored-by: Oliver Rice <github@oliverrice.com>

* docs: change 'in order to' to 'to'

* fix: change katex markup to double dollar sign

* docs: remove reference to reciprocal rank

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* docs: remove note on what search means in postgres

---------

Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-13 12:14:22 -06:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00