Commit Graph
7205 Commits
Author SHA1 Message Date
Charis ba3ba81434 feat: add full text search to docs (#19112)
Feature

Adds a full-text search endpoint for docs search, to provide more comprehensive and faster results. Each docs search now performs both FTS and embeddings-based search, and displays results as soon as the first set of results is returned.

Refactor

Slight refactor of the embeddings search to make only one trip to the database, and transfer less content in the JSON. This now uses a different function than the RAG step for Supabase AI.

Bug fix

Fixes a bug where some search results were being filtered out by the cmdk menu.

Removes an obsolete guide. Content is now elsewhere and it messes up search results.
2023-11-27 14:32:22 -05:00
Oliver Rice f5f039ed05 Docs: Rename serverless apis to data apis (#19256)
* serverless apis -> data apis

* capitalization fix
2023-11-27 12:04:48 -06:00
Bobby Galli 7ef690dcc4 docs: update auth-apple.mdx (#19257)
fix typo loose should be lose
2023-11-27 17:33:25 +00:00
Vincent Ip, probably 433e728006 docs: variable should be let as it is reassigned (#19217) 2023-11-26 14:34:35 +01:00
egor 2ecd98393e docs: enhance branching - remote development part (#19196) 2023-11-24 19:19:53 +00:00
Charis 8d57664509 fix const that should be let in svelte example (#19206) 2023-11-24 14:19:27 -05:00
Charis 268c6016ee restyle admonitions to match alerts and streamline types (#19186)
* fix: streamline admonition types

Streamline types available for admonitions:

- Remove `info` and replace with `note`
- Add `deprecation`

Display the type on all admonitions, even if they have a label. Makes it
explicit what level of advice you are looking at (since color and icon
are ambiguous).

* change admonition to use alert under the hood
2023-11-24 10:41:37 -05:00
Joel LeeandLong Hoang 682f367c2f chore: update Linkedin oauth docs to push back deprecation date (#19189)
* Update auth-linkedin.mdx

* Update auth-linkedin.mdx

* Update apps/docs/pages/guides/auth/social-login/auth-linkedin.mdx

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>

---------

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2023-11-24 19:14:29 +08:00
Kevin Grüneberg 68b3552cb3 chore: remove unused next-transpile-modules dep (#19194) 2023-11-24 10:03:36 +00:00
CharisandCopple 941d32dcdb docs: add contributing guide for docs (#19146)
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-23 15:01:12 -05:00
Stefan Dasbach 0303e92c6a Fix declaration scope of headers (#19181)
Fix declaration scope of headers

`headers` is undefined in the final return in `loader` because `headers` is declared within the nested `if` block.
2023-11-23 18:58:21 +00:00
Jonathan Summers-MuirandDiv Arora 734872d8a5 Update migrating-and-upgrading-projects.mdx (#19167)
* Update migrating-and-upgrading-projects.mdx

* Update migrating-and-upgrading-projects.mdx

---------

Co-authored-by: Div Arora <darora@users.noreply.github.com>
2023-11-23 10:06:24 +00:00
Bobbie SoedirgoandCharis 20174e751c docs: editing a cronjob (#19140)
* docs: editing a cronjob

* Update apps/docs/pages/guides/database/extensions/pg_cron.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-23 05:26:40 +00:00
Chris Gwilliams 96b01e6428 Add note on disk downsizing when updating (#19018) 2023-11-22 17:05:24 +08:00
anngbaum ce37e937b3 docs: update vector sorting to ensure index gets used (#19133)
* docs: update vector sorting to ensure index gets used

* tweak language
2023-11-22 01:37:04 +00:00
Stojan Dimitrovski 4782f7955f docs: explain user sessions and session timeouts (#19128) 2023-11-21 18:52:33 +01:00
Monica Khoury 90d930db43 Docs: fix link in LangChain doc (#19131)
Fix link in LangChain doc
2023-11-21 18:16:46 +01:00
Div Arora dd14bbc917 chore: mention db size reduction as part of upgrade (#19115) 2023-11-21 11:10:40 +01:00
Inian ad7aa60ca3 fix: storage api links (#19120)
the storage github repo was renamed from storage-api to storage recently which broke the github pages link
2023-11-21 11:10:10 +01:00
TinsFoxandCharis Lam 677c0252a0 docs(auth): complete nextjs page router code (#19100)
* docs(auth): complete nextjs page router code

* format with prettier

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2023-11-20 13:18:40 -05:00
Jonathan Summers-MuirandTerry Sutton a19b1589ef [chore] remove docusauraus based files (#19087)
* remove

* Delete README.md

* Update

* Update

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-11-20 17:43:10 +00:00
Nick KrantzandCharis cfda583db9 fix: close mobile menu on click (#15588)
* chore: fix spelling of "libraries"

* fix: close nav when a ref navigation link on click

* fix: remove `!w-auto` from site layout when mobile menu is open

- The width change was causing a layout shift with the height of elements when the mobile menu would show and hide.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-20 12:35:10 -05:00
Thor 雷神 Schaeff e9aea99af6 docs: Improve docs for joins and TypeScript (#19075)
* docs: joins and types docs.

* chore: changes from review.
2023-11-20 08:36:56 +00:00
Thor 雷神 Schaeff 772c4ac119 docs: update scopes docs. (#19090)
* docs: update scopes docs.

* docs: backlink to oauth app creation docs.
2023-11-20 07:06:01 +00:00
GaryAustin1 2a4e4442b0 Update access-control.mdx to fix missing () and cast to text (#19083)
Using storage.foldername(name)[1] requires this format: (storage.foldername(name))[1]

Also comparing the result to auth.uid() requires a cast.  I showed using auth.uid()::text as the example.
2023-11-20 14:17:58 +11:00
Gareth 726efdc441 docs: remove unused invalidate method import (#17858) 2023-11-19 22:50:24 +01:00
Tyler 3ac4759537 guide: add pgroonga videos to pgroonga guide (#19073)
add pgroonga videos to pgroonga guide
2023-11-19 02:57:18 +00:00
Tyler 831220c03e docs: Update mentions of foreign table to referenced table (#18656)
* replace foreignTable parameter with referencedTable parameter

* remove redirects

* rename any mentions of foreign table to referenced table

* fix one mention of foreign table

* update some links
2023-11-19 02:39:28 +00:00
a2cd408ed2 docs: add getting started guide for Swift (#19044)
* docs: getting started guide for Swift

* Apply suggestions from code review

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

* Add new tutorial to menu

* Add correct image for tutorial

* style: format with-swift tutorial

* docs: add example to the repository

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2023-11-18 11:50:53 +00:00
Thor 雷神 SchaeffandCopple ee18b5ac1f docs: add RN videos and discoverability improvements. (#18633)
* docs: add RN videos and discoverability improvements.

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* chore: run prettier.

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-18 05:42:33 +00:00
Isaac Abotsi c5f9e4b04a docs: Update auth-google.mdx (#18119) 2023-11-17 18:12:35 +00:00
Andrei Soroker 6f15f66d38 Update auth-sso-saml.mdx (#17856) 2023-11-17 17:28:47 +00:00
Shinya Fujino 90dd579b90 docs: fix syntax error in create role command (#17755) 2023-11-17 17:16:51 +00:00
Maidi 33ec8bdb8a Update hugging-face.mdx: fix example curl request (#17667)
The example request did not match the example edge function because there is used prompt and in the curl script was used query
2023-11-17 16:36:16 +00:00
d2c51b1be9 Docs: Adds a page for enums (#18590)
* Adds a page for enums

* Adds some details on deleting values

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/postgres/enums.mdx

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

* removes dangerous operation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-17 11:01:47 -05:00
aa9071f9d2 docs: update language in database-size.mdx code block (#19033)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2023-11-17 14:34:05 +00:00
Inian 38a360ed3d feat: remove note about tus rollout (#19007)
it has been rolled out to all projects
2023-11-17 14:30:53 +00:00
Francesco Sansalvadore 573f002271 Fix code text color (#19042)
* make dark: selector work again

* fix reference docs code color
2023-11-17 14:17:48 +00:00
Taishi 702e62eeb1 docs: Fix an example (@supabase/ssr package) for Next.js API Route (#19009)
Update creating-a-client.mdx

replace `appendHeader` with `setHeader` for the Next.js API route example.
2023-11-17 13:37:41 +00:00
Oliver Rice cd9bd9f4fa (docs) Update arg name that resulted from adapters release (#19024)
update arg name that resulted from adapters release
2023-11-17 13:25:04 +00:00
Copple 15ba7e1502 Add docs for updating the image versions (#18160)
see #17930
2023-11-17 12:21:40 +00:00
Lakshan Perera 54b1e1656c fix: add hello world example to edge functions quickstart (#19030) 2023-11-17 00:48:55 +00:00
uncapped1599andCharis 44b9ced215 Update sveltekit.mdx (#18998)
Extended authorization section of docs to mention use of Sveltekit sequence helper function for protecting routes alongside defining Supabase session. Also provided new code.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 14:48:03 -05:00
Thor 雷神 SchaeffandRamiro Nuñez Dosio ed9c4e67f1 feat: add react native auth blog and quickstart. (#19006)
* feat: add react native auth blog and quickstart.

* Grammarly check

* Minor edits.

* Added og image.

* chore: add password sign in and gif.

---------

Co-authored-by: Ramiro Nuñez Dosio <ramiro@supabase.io>
2023-11-16 19:06:50 +00:00
Francesco SansalvadoreandJonathan Summers-Muir be9590c890 Multiple themes management (#18871)
* set up multiple themes in studio

* set up multiple themes in studio

* set up multiple themes in docs and www

* update all resolvedTheme to also include deep-dark

* update all resolvedTheme checks to also include deep-dark

* update tailwind.config.js tokens

* update tailwind.config.js tokens

* update leftover scale12 token

* update if resolvedTheme _doesn't_ include 'dark'

* update more styling tokens

* add dynamic themes to CmdK

* fix nav and footer for multi theme

* add data-theme selector output to transformTokens.js

* update code-hike.css to target data-theme css

* update tailwindcss to ^3.3.5

* ThemeImage with light and dark src for www and docs

* add brand-button styling token

* update old dark theme boolean

* update old dark theme boolean

* make homepage product visuals themeable

* update product page themed images

* update badge green with brand

* fix roles list appearance

* fix auth widget in auth page

* update more dark logic

* update more dark logic

* add button default bg and border

* update pricing page theme styling

* clean up Themeimage

* remove forceDark in homepage

* update dark:border-dark occurrences

* update dark:border-dark occurrences

* fix dark mode base colors

* remove foreground-strong

* fix notification badge bg

* remove some dark: selectors

* update dark: selectors

* update code-hike deep dark bg color

* fix comment typo

* update border-button-hover token

* fix customer story logo

* remove some more dark: selectors

* restore forceDark in www homepage

* fix auth react icon

* fix homepage product visuals

* remove theme

* add brand-link token

* fix checkbox bg

* npm install

* more visible EntityListItem active bg

* fix --background-alternative-default css vars

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-16 16:41:53 +00:00
51ff9f826c Docs: New guide for importing large datasets (#18852)
* Adding a new guide for importing large datasets into Supabase

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>

* Add new suggested changes

* Prettier

* Update apps/docs/pages/guides/database/large-datasets.mdx

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Update apps/docs/pages/guides/database/large-datasets.mdx

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

* Fix indentation

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 12:53:28 +01:00
Div Arora 12c08d36d4 chore: mention that db is restart as part of transition to physical backup (#19008) 2023-11-16 10:29:18 +01:00
Thor 雷神 SchaeffandCharis f14db85bfe expo push notifications guide and example. (#18952)
* feat: add push notifications example.

* feat: add push notifications guide.

* fix: remove trigger.

* chore: americanize.

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions from code review

* chore: run prettier.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-11-16 14:10:15 +08:00
Charis e11717493f wrap tab lists to prevent overflow (#18859)
Quick fix to add a wrapping option that makes tabs visible if there are
many of them.

Long-term fix would be to detect overflow and switch to a dropdown in
that case. Or use dropdown for smaller screens only and let it wrap on
larger screens (since it will be rarer for wrapping to trigger there).
2023-11-15 16:09:58 -05:00
Jongwoo Han d42ac302f9 docs: Replace deprecated command with environment file (#18988) 2023-11-15 12:58:57 -05:00