Commit Graph
158 Commits
Author SHA1 Message Date
github-actions[bot]andphamhieu e1fb0cc719 feat: update mgmt api docs (#30000)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-28 22:58:13 +00:00
Copple 1dcc16ea41 chore: update cli reference doc (#29740) 2024-10-22 15:03:36 +08:00
Tyler b319ea91a4 docs: Update auth self-host docs to the latest info (#29994)
* docs: Update auth self-host docs to the latest info

* update description of URI_ALLOW_LIST

* update the variable name

* Add more description about how to configure auth on self-hosted environment

* minor styling fix
2024-10-21 21:14:46 +09:00
Shersheial 7a2242a35c Chore: Close parenthesis in code example (#29457)
Close parenthesis in code example
2024-10-17 11:06:24 +00:00
github-actions[bot]andphamhieu b438f1001f feat: update mgmt api docs (#29869)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-16 15:56:26 +00:00
Jan Tennert 51fa38988e docs: Update Kotlin OTP link verification docs (#29839)
Update OTP link verification section
2024-10-11 16:24:10 +00:00
github-actions[bot]andphamhieu 55bdda2401 feat: update mgmt api docs (#29708)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-08 20:58:24 +00:00
Andrew ValleteauandHan Qiao 1c9af2eeed chore(docs): add custom seed paths documentation (#29512)
* chore: document new seeding behaviour

* chore: fix prettier in code examples

* chore: apply suggestions from code review

Co-authored-by: Han Qiao <sweatybridge@gmail.com>

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-10-07 14:52:32 +02:00
github-actions[bot]andphamhieu 0a2886fa61 feat: update mgmt api docs (#29581)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-10-02 15:33:46 +00:00
Jan TennertandCharis 0381676f91 Add Kotlin v3 docs (#29531)
* Update docs

* add v3 docs

* add note about kotlin targets

* Apply suggestions from code review

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

* Update apps/docs/spec/supabase_kt_v3.yml

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-10-01 23:57:05 +00:00
Ivan Vasilov b0cf2bf6fa chore: Move parser package to packages folder (#29522)
* Move the spec/parser package into packages folder.

* Fix the spec generation with the new paths.

* Remove the spec folder from prettierignore.

* Run prettier on the spec folder (without regenerating, that's should be done by the product teams).
2024-09-25 23:45:14 +02:00
Tyler fe25383047 docs: Add redirectTo and authScreenLaunchMode parameter to signInWith OAuth calls in Flutter docs (#29407)
docs: add redirectTo and authScreenLaunchMode parameter to signInWithOAuth calls in Flutter docs
2024-09-26 00:14:40 +09:00
Copple f0b135597d chore: update cli reference doc (#29466) 2024-09-24 04:09:04 +00:00
github-actions[bot]andphamhieu 99a62b2f37 feat: update mgmt api docs (#29442)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-23 15:01:56 +00:00
Guilherme Souza 3572ca7970 docs: fix swift realtime samples (#29183) 2024-09-23 07:56:52 -03:00
Samuel SengandAlaister Young a30e0ea4bf docs: Add Query nested foreign tables throught a join table example for supabase-js (#29387)
* docs: Add Query nested foreign tables throught a join table example for supabase-js

* Update apps/docs/spec/examples/examples.yml

* Update apps/docs/spec/supabase_js_v2.yml

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-09-19 07:50:28 +00:00
Han Qiao e818ace2fb chore: add migration fetch section to cli docs (#29356) 2024-09-18 21:48:13 +08:00
Andrew Valleteau 1b27b561a2 chore: document atomic function.enabled config flag (#29355)
Related: https://github.com/supabase/cli/pull/2688
2024-09-18 12:23:39 +02:00
Monica Khoury 38d45bd6f1 Update README.md (#29338) 2024-09-17 10:46:12 +02:00
Joel Lee d9c43db51d fix: move Auth error codes to top level (#29254)
* fix: move error codes to top level

* fix: remove stray newlines

* fix: merge all error sections into central location

* fix: add section heading above table
2024-09-16 07:46:40 +03:00
Charis 11e19ff29f refactor(docs): convert self-hosting to app router (#29268)
* chore(docs,refs): prebuild self-hosted ref data

Pregenerate self-hosted ref data files, in the style of the client lib,
Management API, and CLI references. Preparatory step for migrating the
self-hosted references to App Router.

* refactor(docs): convert self-hosting to app router

Convert self-hosting reference pages to App Router.

* fix(docs,sitemap)
2024-09-13 09:45:55 -04:00
Copple 7bdd327eb6 chore: update cli reference doc (#28905)
* chore: update cli reference doc

* chore: update cli reference doc
2024-09-10 15:50:06 +08:00
github-actions[bot]andphamhieu 5de6a7080e feat: update mgmt api docs (#29165)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-09 16:04:23 +00:00
Andrew Smith 6bdb4f537e docs(python): add error codes to the reference docs (#29162)
* docs(python): add error codes to the reference docs

* docs(python): remove javascript related documentation
2024-09-09 16:02:19 +00:00
Tyler 45246ab67e docs: fix Flutter reference docs auth.resend code example (#28892)
docs: fix resend docs for Flutter
2024-09-04 16:13:35 +09:00
github-actions[bot]andphamhieu a08c79eda1 feat: update mgmt api docs (#28867)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-09-03 18:11:54 +00:00
Jan Tennert 4bb878cfd2 docs: Improve Kotlin documentation (#28714) 2024-09-03 17:55:48 +00:00
Andrew Smith d523fe344b docs(python): document more auth methods (#29005)
* docs(python): document more auth methods

* chore: add overview and missing auth.admin methods
2024-09-02 12:47:18 -03:00
Ryunosuke Hayashi 6d5e252b18 Fix: Correct default value for inbucket.port in configuration documentation (#28953)
* Correct default value from 'true' to actual port number.

* add space
2024-08-29 14:59:00 +02:00
Han Qiao c0bd1096ee chore: add bootstrap command to docs page (#28747)
* chore: add bootstrap command to docs page

* Update common-cli-sections.json
2024-08-20 01:04:54 +08:00
Charis 33924f0e62 fix: remove frontmatter and repeated H1 from wrappers docs (#28704) 2024-08-16 17:41:17 +00:00
Andrew SmithandJoel Lee 4664587624 docs(python): add params for sign-in methods (#27639)
* add params for sign-in methods

* Add sign in with id token docs

* add more auth methods docs

* docs(python): remove credentials param name

* Update apps/docs/spec/supabase_py_v2.yml

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

* Update apps/docs/spec/supabase_py_v2.yml

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-08-16 21:41:39 +08:00
Guilherme Souza f2ab50ea45 docs(python): add reference docs for python realtime (#28680)
* docs(python): add reference docs for python realtime

* python realtime guides

* remove $ref
2024-08-16 06:56:51 -03:00
Jan Tennert af002c7bfd Add Kotlin third party auth & phone mfa docs (#28677) 2024-08-15 18:40:03 +00:00
Guilherme Souza 19e1978e5b docs(python): remove wrong params from update method (#28663) 2024-08-15 13:08:36 -04:00
Tyler b4e2b156af docs: fix a mismatch between the sample code and sample response (#28466)
* docs: fix a mis-match between the sample code and sample response

* fix onAuthStateChange unsubscribe code

* Revert "fix onAuthStateChange unsubscribe code"

This reverts commit 8d438ae145.

* fix code sample for unsubscribing in Flutter
2024-08-15 14:40:33 +08:00
Guilherme Souza 860b8d8a8d docs(python): fix wrong type for on_conflict param (#28637) 2024-08-14 13:17:38 -03:00
Copple 97f59a9b87 chore: update cli reference doc (#28627) 2024-08-14 09:37:32 -04:00
Charis fc164b5d07 Refactor/app router refs (#28095)
Migrates client SDK References to App Router. (Management and CLI API references aren't migrated yet, nor are self-hosting config references.)

Some notes:

Big changes to the way crawler pages are built and individual section URLs (e.g., javascript/select) are served. All of these used to be SSG-generated pages, but the number of heavy pages was just too much to handle -- slow as molasses and my laptop sounded like it was taking off, and CI sometimes refuses to build it all at all.

Tried various tricks with caching and pre-generating data but no dice.

So I changed to only building one copy of each SDK+version page, then serving the sub-URLs through a response rewrite. That's for the actual user-visible pages.

For the bot pages, each sub-URL needs to be its own page, but prebuilding it doesn't work, and rendering on demand from React components is too slow (looking for super-fast response here for SEO). Instead I changed to using an API route that serves very minimal, hand-crafted HTML. It looks ugly, but it's purely for the search bots.

You can test what bots see by running curl --user-agent "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" <URL_OF_PAGE>

Also added some smoke tests to run against prod for the crawler routes, since we don't keep an eye on those regularly, and Vercel config changes could surprise-break them. Tested the meta images on Open Graph and all seems to work fine.

With this approach, full production builds are really fast: ~5 minutes

Starts using the new type spec handling, which is better at finding params automatically, so I could remove some of the manually written ones from the spec files.
2024-08-13 16:12:59 -04:00
Copple 9269a10371 chore: update cli reference doc (#28577) 2024-08-13 11:49:25 +08:00
github-actions[bot]andphamhieu 2519d3cc33 feat: update mgmt api docs (#28541)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-08-12 18:17:18 +00:00
TylerandCharis 2fda5c8392 docs: Add error codes reference docs for Flutter (#28567)
* display error codes for Flutter library

* Create error code file for Flutter error codes reference docs

* Update apps/docs/docs/ref/dart/auth-error-codes.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-12 17:40:18 +00:00
Joel LeeandStojan Dimitrovski 339050bc32 feat: update JavaScript client library spec for MFA (Phone) (#28376)
* feat: update client lib docs

* fix: update js v2 yml

* fix: update spec

* fix: remove superfluous sections

* fix: update responses and field names

* fix: update challenge response with type field

* fix: update apps/docs/spec/supabase_js_v2.yml

* fix: Update apps/docs/spec/supabase_js_v2.yml spelling

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-12 19:35:58 +08:00
Tyler eb9f0240cb docs: Remove error codes section from Flutter, Swift, and Python reference docs. (#28334)
* exclude dart, python, and swift from error codes menu

* Update the error code doc to be client lib agnostic

* run formatter

* Add a filter to filter out section items

* Update apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx

* docs: move error codes table in a separate component

* Add auth error codes section for kotlin
2024-08-06 11:41:10 +09:00
github-actions[bot]andphamhieu 14f22a48a0 feat: update mgmt api docs (#28378)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-08-05 20:12:01 +00:00
Charis 76d1d1e870 fix(docs): hydration error on js references (#28345)
Our syntax highlighter doesn't recognize HTML (tried to install it but it's not
on the lsit of supported languages) and this somehow causes the server and
client to make different highlighting decisions, with the server attempting to
highlight the code block and the client not.

Removing the html language specifier removes the hydration error (and since the
client never properly highlighted it anyway, we don't lose much in terms of
syntax highlighting.)
2024-08-05 12:26:35 +02:00
github-actions[bot]andphamhieu a12d6b08d2 feat: update mgmt api docs (#28242)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-31 01:32:20 +00:00
Copple a389866b5d chore: update cli reference doc (#28245)
* chore: update cli reference doc

* chore: update cli reference doc
2024-07-30 07:03:59 +00:00
Guilherme Souza f9751c2e13 chore: official supabase-py (#28209) 2024-07-29 08:00:48 -03:00
3b7155164a docs: add entries for cli smtp config #27374 (#28067)
* Add entries for cli smtp config

* Add default values for smtp host and port

* Add one-liner descriptions for smtp settings

* Add default value for smtp admin email

* Review requirements and smtp host default

* Apply suggestions from code review

---------

Co-authored-by: rhnaxifg4y <rhnaxifg4y@mouafik.fr>
Co-authored-by: 2yla3vum4o <2yla3vum4o@users.noreply.github.com>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-24 19:14:04 -04:00