Commit Graph
99 Commits
Author SHA1 Message Date
Illia Basalaiev 3f77aa3b20 remove empty code block websockets.mdx (#35623) 2025-05-12 19:24:06 +02:00
Nils Reichardt 0457764b7a docs: only use JSR for Edge Function testing example (#34979)
docs: replace Deno Standard Library with JSR for Edge Function testing example
2025-04-15 20:39:58 +00:00
Lakshan Perera e4e3668cc9 fix: Update function docs to include platform limits + remove them from pricing page (#34850)
* fix: add number of functions to pricing page

* fix: move the function limits to docs
2025-04-10 15:27:45 +08:00
Charis 258bc37919 docs: add type hints (#34678) 2025-04-08 13:25:46 -04:00
8ca8cb43fd Added functions dashboard quickstart page, about deno 2 guide, and deno 2 test guide (#34599)
* Added functions dashboard quickstart page, about deno 2 guide, and deno 2 test guide

* fix: updated image sizes, and trimmed some images and text

* fix: removed line about assistant edits and made some minor polish fixes

* updated docs

* Apply suggestions from code review

* remove duplication

---------

Co-authored-by: Greg Papas <gregpapas@gregs-mbp.mynetworksettings.com>
Co-authored-by: Lakshan Perera <lakshan@laktek.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-04-01 13:59:17 +00:00
Meshack 621ca9a43a Update link to database webhooks settings in edge functions example for push notifications (#33120)
Update link to webhooks settings in edge functions example for push notifications

After the recent addition of integrations and database webhooks settings being moved to the integrations page, the link to database webhooks settings in the edge functions example for push notifications led to a 404.
2025-03-27 16:47:28 +00:00
Kevin Grüneberg c1330d35c0 ci: fix autofix (#34332) 2025-03-22 15:51:01 +01:00
Charis 311232b3e1 feat(docs): ts hover annotations on code blocks (#34327) 2025-03-21 15:48:32 -04: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
Thor 雷神 Schaeff 5411a55d16 chore: fix small typos. (#34062) 2025-03-07 17:11:46 +00:00
Thor 雷神 SchaeffandIvan Vasilov 99f1d1fc16 Thor/add elevenlabs streaming example n docs (#33989)
* feat: add TTS & STT docs.

* feat: add examples.

* fix: docs.

* code review nits.

* chore: format.

* Fix mdx-lint errors.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-07 09:08:56 +01:00
Eric Kharitonashvili 00dfbdca0a Fix Wasm Edge Function Docs (#33910)
* fixed docs bug: when importing wasm, you need to include the js and use this. Otherwise, there will be wasm instantiate errors

* Update wasm.mdx

Got rid of filename on top of markdown

* Update index.ts

got rid of filename comment at the top
2025-02-28 10:43:58 -05:00
Terry SuttonandIvan Vasilov dc137679be Edge functions secrets updates (#31329)
* Rename secrets to env vars, add inline form

* Add multiple

* Fix adding multiple

* Change name back

* Sm update

* Add docs for secrets management

* Fix file paths

* Prettier

* Fix image paths

* Images

* clean up

* Fix form submit

* Minor fixes.

* Remove console logs.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-02-25 10:47:59 -03:30
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Rodrigo Mansueli aea6ad069b chore: update stripe webhook example (#33774)
* Chore: Update stripe-webhooks.mdx

* Update index.ts
2025-02-21 15:30:13 -03:00
Charis 940cdbe8f4 fix(docs): typo in authorization header example (#33770) 2025-02-21 11:18:03 -05:00
Han Qiao 0196d78cf5 docs: update schedule function example to store token securely (#33701) 2025-02-20 01:39:16 +08:00
df9f410c50 docs(billing): complete rewrite
* deleted all old pages except from FAQs
* added pricing section to feature docs pages
* adjusted all links to new pages (on Dashboard, in docs, on Pricing page)
* configured redirects from old billing docs pages to new pages
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-02-12 21:05:18 +01:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Wen Bo Xie 3f6adea49c fix: change functions dependencies url (#33050)
* fix: change functions dependencies url

* change file name to dependencies.mdx
2025-01-23 14:50:10 -08:00
Han Qiao 16f950d615 Update import-maps.mdx to document deno.json (#32830)
* Update import-maps.mdx to document deno.json

* Update import-maps.mdx

* Update import-maps.mdx

* Update import-maps.mdx

* Run prettier
2025-01-17 00:27:26 +08:00
Lakshan Perera e63a082dda chore(docs): Added a guide on using wasm modules in Edge Functions (#32811)
* chore(docs): Added a guide on using wasm modules in Edge Functions

* update example

* WASM -> Wasm

* fix page title
2025-01-16 09:55:31 +11:00
Rodrigo Mansueli f233c78794 Chore: update also last example on the page (#32809) 2025-01-16 06:28:41 +11:00
Rodrigo Mansueli 3e94bc483c Chore: update edge function example (#32808)
Update auth.mdx
2025-01-15 15:20:43 -03:00
Lakshan Perera 243740dfaf fix: add docs on how to use a custom npm registry for functions (#32615) 2025-01-08 06:45:42 +11:00
Andrew ValleteauandHan Qiao 85f7514127 chore(docs): add specification about recommended functions isolation (#31264)
* chore(docs): add specification about recommended functions isolation

* chore: merge function isolation into overview

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2025-01-07 13:12:12 +09:00
Charis 4cecae1e09 ci(docs): linter bump version + expand scope (#30860) 2024-12-04 20:37:49 +00:00
439af38592 feat: add Supabase Cron (#30870)
* d3

* change Cron tagline to Schedule Recurring Jobs

* update images

* feat: add Supabase Cron docs (#30822)

* feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
feat: postgres integrations

Create a new global navigation and homepage menu section for the Postgres Integrations category.
reorg: move cron docs into postgres integrations
docs homepage layout

* fix: add pg_cron back to extensions sidebar

* update Supabase Cron docs

* Add screenshots to CRON guides (#30851)

add screenshots to CRON guides

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron.mdx

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

* Update apps/docs/content/guides/cron/install.mdx

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

* Update apps/docs/content/guides/cron/install.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

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

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* Update apps/docs/content/guides/cron/quickstart.mdx

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

* remove no longer needed cron mdx files

* move cron unschedule image to the right section

* link job history image

* update Cron taglines

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>

* Chore/cleanup 3 (#30861)

* cleanup

* rss

* LM images

* updates for Supabase Cron blog post (#30868)

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* www cron (#30859)

* new products menu

* set up cron page

* set up cron page

* placeholder sections

* basic suggestion for cron

* video placeholder + images

* sql snippet

* Cron landing page updates

* change API to SQL

* cron page update

* cron page update

* cron logs image

* update ogs

* update image url

* update metadata

* update cron metadata

* cleanup

* updates to cron landing page

* more updates

---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>

* add Supabase Cron to www features page

* fix mobile nav and footer

* update images

* Update lw13_data.tsx

* update images

* remove old SVGs

* Update video link

* Fix a eslint error.

* Update apps/docs/content/guides/cron/quickstart.mdx

Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>

* Update apps/www/_blog/2024-12-04-supabase-cron.mdx

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

* Sm edits

* add video slug

* Update apps/www/_blog/2024-12-04-supabase-cron.mdx

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

* plurals

* update citus data callout

* cleanup images

* fix yt embed in features page

* update images

* minizie

* accept Cron

* accept [Cc]ron

* fix vale?

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Oliver Rice <github@oliverrice.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-12-04 10:51:57 -04:00
Thor 雷神 Schaeff e58f2edde2 docs: update ef websocket codesample (#30846)
update code sample.
2024-12-04 13:23:18 +08:00
Marc Köhler 5f29b9200e fix(docs/auth): typo (#30786) 2024-12-03 00:29:31 +00:00
Lakshan PereraandCharis 1eebae921c Add websocket guide (#30819)
* chore: add WebSockets guide

* update the limits

* add missing navigation link

* Apply suggestions from code review

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

* formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-12-02 22:44:00 +00:00
Lakshan PereraandCharis af3548f4ca Update background tasks guide (#30814)
* fix wording

* chore: update background tasks guide

* Apply suggestions from code review

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-12-02 20:46:21 +00:00
Lakshan PereraandCharis 36b6d85c7e chore: added ephemeral storage guide (#30791)
* chore: added ephemeral storage guide

* add use cases section

* remove word

* Apply suggestions from code review

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

* prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-12-03 04:16:49 +11:00
Lara Raoof a579396dcd Update actions/checkout to use v4 (node 20) (#30502) 2024-11-20 08:19:12 +00:00
Lakshan Perera a37c91c9e5 chore: update background tasks guide (#30481) 2024-11-15 12:54:45 -05:00
Thor 雷神 Schaeff f7518c2896 chore: background tasks updates (#30454)
* chore: bacground task docs and example.

* chore: add video.
2024-11-13 16:57:25 +08:00
Rizky Faturriza f072beb97d chore: Fix typo _req at connect-to-postgres.mdx (#30389) 2024-11-11 18:17:21 +00:00
Lakshan Perera 51d271ce25 fix: typos in Background Tasks guide (#30316)
fix: typos
2024-11-06 08:55:28 -05:00
Lakshan Perera fe0e32dce5 fix: add a new guide on how to run background tasks in Edge Functions (#30313) 2024-11-06 14:59:48 +08:00
Lakshan Perera b95f535f21 fix: guide on how to write Edge Functions in pure JS (#30301) 2024-11-05 12:20:52 -05:00
Lakshan Perera e5f3f4456e fix: add docs for importing from private registries (#30298) 2024-11-05 15:56:48 +00:00
Julien Goux 5b07151d88 docs: add deno.json support for edge functions (#30261)
* docs: add deno.json support for edge functions

* add minimum version of the CLI for the feature
2024-11-05 10:37:19 +00:00
Tyler 09f3391fda docs: remove Dart edge docs (#29012)
* docs: remove Dart edge docs

* remove redirect to external docs

* Update the existing docs to include a short description and a link to the official Dart Edge docs
2024-10-30 13:02:27 +09:00
Lakshan Perera 344af70e44 Revert "docs: added max request and repsonse for edge functions docs" (#30132)
Revert "docs: added max request and repsonse for edge functions docs (#28076)"

This reverts commit c670708244.
2024-10-28 11:18:28 -04:00
Lakshan Perera ef6353e84c Edge Function example on image manipulation (#29658)
* chore: add magick-wasm example functions

* chore: add image manipulation guide
2024-10-03 17:47:55 +08:00
Andrew Valleteau 34ca82f18c chore: replace deno deprecated unstable flag with recommended (#29316)
See: https://docs.deno.com/runtime/reference/cli/unstable_flags/\#--unstable
Related: https://github.com/supabase/cli/issues/2682
2024-09-18 09:09:47 +02:00
Rodrigo Mansueli 8ffd054905 chore: update docs for express payload limit (#29144)
* chore: update docs for express payload limit

* prettier
2024-09-06 16:16:27 -03:00
Thor 雷神 Schaeff 2ae41b620e Add Auth Hook Resend Example. (#28805) 2024-08-23 21:31:35 +08:00
Thor 雷神 Schaeff 4f0a0b54a7 Edge Functions Llamafile example. (#28544)
* ef llamafile example.

* chore: add docs.

* chore: add blogpost.

* chore: spelling.

* chore: docs nit.

* chore: nits from review.

* chore: spelling  nits.

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx

* Update apps/www/_blog/2024-08-21-mozilla-llamafile-in-supabase-edge-functions.mdx
2024-08-21 20:35:58 +08:00
Lakshan Perera 500c285818 docs: Update Edge Function docs to mention JSR imports (#28729) 2024-08-20 09:59:28 -05:00