From feb8d87107b7c99b48d5d9f97f910c45daf30bfe Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 5 Oct 2022 12:51:57 -0700 Subject: [PATCH] Remove /next from docs URLs --- apps/reference/docs/architecture.mdx | 2 +- .../docs/guides/auth/auth-helpers/auth-ui.mdx | 2 +- apps/reference/docs/guides/storage-cdn.mdx | 2 +- apps/reference/docs/guides/storage.mdx | 2 +- apps/www/_blog/2022-08-16-supabase-js-v2.mdx | 6 +++--- apps/www/components/LaunchWeek/days.json | 4 ++-- apps/www/lib/redirects.js | 2 +- spec/enrichments/tsdoc_v2/combined.json | 2 +- spec/enrichments/tsdoc_v2/postgrest.json | 2 +- .../tsdoc_v2/postgrest_dereferenced.json | 2 +- spec/supabase_js_v2.yml | 18 +++++++++--------- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/apps/reference/docs/architecture.mdx b/apps/reference/docs/architecture.mdx index cbf6530b138..a6dc58b556c 100755 --- a/apps/reference/docs/architecture.mdx +++ b/apps/reference/docs/architecture.mdx @@ -35,5 +35,5 @@ Most notably, we use Postgres rather than a NoSQL store. This choice was deliber | Auth | SvelteKit Auth Helpers | Alpha | [Link](/docs/guides/auth/auth-helpers/sveltekit) | | Public API | | Beta | [Link](/docs/reference/api) | | CLI | | Beta | [Link](/docs/guides/cli) | -| Client Library: JavaScript | | GA | [Link](/docs/reference/javascript/next/) | +| Client Library: JavaScript | | GA | [Link](/docs/reference/javascript) | | Client Library: Dart | | Beta | [Link](/docs/reference/dart) | diff --git a/apps/reference/docs/guides/auth/auth-helpers/auth-ui.mdx b/apps/reference/docs/guides/auth/auth-helpers/auth-ui.mdx index f92a18f9322..3073fbc5bd0 100644 --- a/apps/reference/docs/guides/auth/auth-helpers/auth-ui.mdx +++ b/apps/reference/docs/guides/auth/auth-helpers/auth-ui.mdx @@ -18,7 +18,7 @@ It supports custom themes and extensible styles to match your brand and aestheti ## Set up Auth UI -Install the latest version of [supabase-js](/docs/reference/javascript/next/) and the Auth UI package: +Install the latest version of [supabase-js](/docs/reference/javascript) and the Auth UI package: ```bash npm install @supabase/supabase-js@rc @supabase/auth-ui-react diff --git a/apps/reference/docs/guides/storage-cdn.mdx b/apps/reference/docs/guides/storage-cdn.mdx index 7527c9e8c3c..c4b918880fe 100644 --- a/apps/reference/docs/guides/storage-cdn.mdx +++ b/apps/reference/docs/guides/storage-cdn.mdx @@ -19,7 +19,7 @@ Aside from performance, CDNs also help with security and availability by mitigat By default, assets are cached both in the CDN and in the user’s browser for 1 hour. After this, the CDN nodes ping the storage server to see if an object has been updated. -You can modify this cache time when you are [uploading](https://supabase.com/docs/reference/javascript/next/storage-from-upload) or [updating](https://supabase.com/docs/reference/javascript/next/storage-from-update) an object by modifying the `cacheControl` parameter. +You can modify this cache time when you are [uploading](https://supabase.com/docs/reference/javascript/storage-from-upload) or [updating](https://supabase.com/docs/reference/javascript/storage-from-update) an object by modifying the `cacheControl` parameter. If you expect the object to not change at a given URL, setting a longer cache duration is preferable. diff --git a/apps/reference/docs/guides/storage.mdx b/apps/reference/docs/guides/storage.mdx index 0dfc47ef526..7170f5857c9 100644 --- a/apps/reference/docs/guides/storage.mdx +++ b/apps/reference/docs/guides/storage.mdx @@ -272,7 +272,7 @@ You can access the storage API directly with the same endpoint. See the @@ -1367,7 +1367,7 @@ pages: title: 'Modify data: update()' $ref: '@supabase/postgrest-js.PostgrestQueryBuilder.update' notes: | - - `update()` should always be combined with [Filters](/docs/reference/javascript/next/using-filters) to target the item(s) you wish to update. + - `update()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to update. examples: - name: Updating your data description: | @@ -1758,7 +1758,7 @@ pages: title: 'Delete data: delete()' $ref: '@supabase/postgrest-js.PostgrestQueryBuilder.delete' notes: | - - `delete()` should always be combined with [filters](/docs/reference/javascript/next/using-filters) to target the item(s) you wish to delete. + - `delete()` should always be combined with [filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to delete. - If you use `delete()` with filters and you have [RLS](/docs/learn/auth-deep-dive/auth-row-level-security) enabled, only rows visible through `SELECT` policies are deleted. Note that by default @@ -1958,8 +1958,8 @@ pages: - name: Call a Postgres function with filters description: | Postgres functions that return tables can also be combined with - [Filters](/docs/reference/javascript/next/using-filters) and - [Modifiers](/docs/reference/javascript/next/using-modifiers). + [Filters](/docs/reference/javascript/using-filters) and + [Modifiers](/docs/reference/javascript/using-modifiers). @@ -2019,7 +2019,7 @@ pages: Filters must be applied after any of `select()`, `update()`, `upsert()`, `delete()`, and `rpc()` and before - [modifiers](/docs/reference/javascript/next/using-modifiers). + [modifiers](/docs/reference/javascript/using-modifiers). ```ts const { data, error } = await supabase