Commit Graph
139 Commits
Author SHA1 Message Date
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
Copple 208471ef4c chore: update cli reference doc (#28138) 2024-07-24 15:01:19 +08:00
github-actions[bot]andphamhieu f9aac31adb feat: update mgmt api docs (#28116)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-22 16:55:59 +00:00
3cffcd0f86 chore: update cli reference doc (#27868)
* chore: update cli reference doc

* fix: update generated docs and seed section

* fix: setup docs page redirect for cli

---------

Co-authored-by: Qiao Han <qiao@supabase.io>
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-17 01:18:25 +08:00
github-actions[bot]andphamhieu 90b71e3e42 feat: update mgmt api docs (#27958)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-15 19:01:26 +00:00
Jason CrevistonandJason Creviston ca5bf3069d docs: correct the javascript setSession method. (#27908)
docs: correct the javasript setSession method.

Co-authored-by: Jason Creviston <jason@malynium.com>
2024-07-12 01:59:36 +00:00
Guilherme Souza a7cae20ede chore(docs): add swift example for user update with nonce (#27925)
chore(docs): add examle for user update with nonce
2024-07-11 17:03:32 -04:00
Guilherme Souza 34a98b839b chore(docs): add example for fetching custom schema in Swift (#27896) 2024-07-10 09:18:05 -03:00
Duncan 2fc37fe1e4 Update supabase_js_v2.yml (#27871)
Fix subscription destructuring
2024-07-09 22:29:53 +00:00
github-actions[bot]andphamhieu 8aef4a08bf feat: update mgmt api docs (#27851)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-08 19:13:11 +00:00
Meet VyasandCharis 1781431e37 docs: correct responses for file upload methods corrected (#27795)
* docs: responses for file upload methods corrected

* fix: json formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-04 16:41:16 +00:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Nil Gàllego 5336920c64 docs: Add crypto package for Apple sign-in functionality (#27664) 2024-07-02 03:46:03 +00:00
TylerandJan Tennert 42f76def90 docs: Kotlin docs misc updates (#27655)
* simplify installation instruction of supabase-kt

* add response parsing sample to edge functions code on Kotlin

* docs: update realtime kotlin sample code to launch flow in another coroutine

* Update apps/docs/spec/supabase_kt_v2.yml

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>

* Add note to invoke

---------

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>
2024-07-02 10:46:06 +09:00
github-actions[bot]andphamhieu a54aecd089 feat: update mgmt api docs (#27665)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-01 17:49:22 +00:00
Guilherme Souza c72fa5d373 chore(docs): add params for swift methods (#27008) 2024-06-29 06:11:32 -03:00
Andrew Smith 94d76c5b1e Update supabase python reference docs with params (#23648)
* Update supabase python reference docs with params

* Update the examples in upsert, delete and add rpc

* add missing text_search, or_ and not filters

* Add params and examples for order, limit, range, explain

* add auth signup params and examples

* add sign_in_anonymously to the python docs

* remove all awaits from examples
2024-06-24 14:41:38 -04:00
github-actions[bot]andphamhieu ae06e6b7c5 feat: update mgmt api docs (#27308)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-06-24 17:38:30 +00:00
Supun SudarakaandRodrigo Mansueli bc3eabd291 chore: update the docs for custom domain activation (#27437)
update cli command docs for activating custom domain for supabase projects

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2024-06-21 15:23:07 +00:00
Copple 07e5fdccdb chore: update cli reference doc (#27244)
* chore: update cli reference doc

* chore: update cli reference doc

* chore: update cli reference doc
2024-06-20 14:39:16 +08:00