Commit Graph
26 Commits
Author SHA1 Message Date
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
hallidayo 07a8d234cb feat: deprecated auth ui admonition (#35610)
ui link in admonition
2025-05-12 00:39:42 +00: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
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Chris StocktonandChris Stockton 5af1abd28c feat: update emails to use a valid email address (#30978)
The purpose of this change is to reduce the bounce back rate of
the default email provider at Supabase. This change will allow
users to continue copying examples from the docs. Without it, an
upcoming change in supabase/auth[1] will begin rejecting these
invalid emails.

[1] https://github.com/supabase/auth/pull/1845

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2024-12-09 15:43:35 -07:00
Charis 572111224b ci(docs): bump linter + expand linting to auth section (#30704) 2024-11-28 10:26:00 -05:00
Joel Lee 35d6a4f547 fix: signal that Auth Helpers is deprecated (#30230)
* fix: signal that Auth Helpers is deprecated

* fix: update the other doc

* fix: grammar

* fix: grammar
2024-11-01 16:58:02 +00:00
Terry SuttonandCharis Lam bb0306061d Chore/update to next 15 (#30075)
* Update Next.js docs for v15

* More awaiting

* remove async for pages router

* fix for dashboard connection guide

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-10-24 12:56:20 -02:30
Charis c757fcab20 fix,feat(sitemap): add all pages + priority (#29083)
Pages were missing from the sitemap after the reorganization. Added them
back in.

Also added an optional priority that can be specified by including
`sitemapPriority` in content metadata. Used on the deprecated Auth
Helpers pages to see if we can tweak the relative SEO ranking for them.
2024-09-04 11:16:51 -04:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Kang Ming f205b95e22 docs: update auth ui (#27158) 2024-06-11 01:41:35 +08:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis 0d1f8b8627 fix: sveltekit examples pass headers through (#23448)
The `x-supabase-api-version` header was added to Supabase APIs, so it
needs to be passed through in SvelteKit examples.
2024-05-02 11:28:43 -04:00
Charis 170668431d fix: replace docs blockquotes with admonitions (#23160) 2024-04-22 15:45:19 -04:00
Jonathan Summers-MuirandIvan Vasilov c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Charis a1060c86de fix: better handling of getSession for sveltekit (#22381) 2024-04-03 07:18:46 -04:00
Charis 8e50346ff2 fix: hide legacy auth-helpers docs so deprecation notice is more obvious (#22384) 2024-04-02 00:26:51 -04:00
sean-brydon ce0ebafab0 docs: update type import in remix guide (#21954)
* fix: update type import

* chore: more instances
2024-03-11 23:04:43 +00:00
Mohammad Sadegh ShadandCharis 20c9b9a149 Typo (#21920)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-11 18:28:15 +00:00
Casey OcampoandCharis c84944daa1 docs: update auth-ui.mdx (#21794)
Update auth-ui.mdx

Add instructions for the "view" prop and "sign_up" and "sign_in" values

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 20:06:24 +00:00
Kirill SoandCharis aeb74c8947 SvelteKit docs and examples - remove throw (#21637)
SvelteKit docs and examples changes for throw

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-06 15:52:21 +00:00
Tyler 68513fd618 docs: Ppdate Flutter auth UI docs to be up to date (#21691)
update flutter auth ui docs to be up to date
2024-03-02 08:36:04 +09:00
Egidio SalinaroandCharis 51dd35283d Update error about Magic Link in auth-ui.mdx (#21694)
In documentation, the default label for Magic Link `link_text` was wrong

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-01 16:25:06 +00:00
Charis a5a2cd688e add some missing getSession warnings (#21436) 2024-02-21 20:13:08 -05:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00