The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix all broken links
Copple43d0847f8183
diff --git a/apps/reference/_auth_helpers/next-js.md b/apps/reference/_auth_helpers/next-js.mdindex 3cc90c70794..7ae2a9873cc 100644--- a/apps/reference/_auth_helpers/next-js.md+++ b/apps/reference/_auth_helpers/next-js.md@@ -38,7 +38,7 @@ This library supports the following tooling versions:### Configuration-Set up the fillowing env vars. For local development you can set them in a `.env.local` file. See an example [here](../../examples/nextjs/.env.local.example)).+Set up the following env vars. For local development you can set them in a `.env.local` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/nextjs/.env.local.example).```bash# Find these in your Supabase project settings > APIdiff --git a/apps/reference/_auth_helpers/svelte-kit.md b/apps/reference/_auth_helpers/svelte-kit.mdindex 0b868d560eb..46980643cb9 100644--- a/apps/reference/_auth_helpers/svelte-kit.md+++ b/apps/reference/_auth_helpers/svelte-kit.md@@ -36,7 +36,7 @@ This library supports the following tooling versions:### Configuration-Set up the fillowing env vars. For local development you can set them in a `.env` file. See an example [here](../../examples/sveltekit/.env.example).+Set up the fillowing env vars. For local development you can set them in a `.env` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/sveltekit/.env.example).```bash# Find these in your Supabase project settings > APIdiff --git a/apps/reference/_cli/intro.mdx b/apps/reference/_cli/intro.mdxindex c5eecf282c8..8dd0b3306bc 100644--- a/apps/reference/_cli/intro.mdx+++ b/apps/reference/_cli/intro.mdx@@ -12,11 +12,11 @@ The Supabase CLI can be found in our [CLI](https://github.com/supabase/cli) repoThe CLI is still under heavy development, but it will contain all the functionality for working with Supabase projects and the Supabase platform.-- Running Supabase locally: [`supabase start`](./cli/usage#supabase-start)-- Managing database migrations: [`supabase migration`](./cli/usage#supabase-migration)-- CI / CD for releasing to production: [`supabase db push`](./cli/usage#supabase-db-push)-- Manage your Supabase Projects: [`supabase projects`](./cli/usage#supabase-projects)-- Generating types directly from your database schema: [`supabase gen types`](./cli/usage#supabase-gen)+- Running Supabase locally: [`supabase start`](./usage#supabase-start)+- Managing database migrations: [`supabase migration`](./usage#supabase-migration)+- CI / CD for releasing to production: [`supabase db push`](./usage#supabase-db-push)+- Manage your Supabase Projects: [`supabase projects`](./usage#supabase-projects)+- Generating types directly from your database schema: [`supabase gen types`](./usage#supabase-gen)## Additional Linksdiff --git a/apps/reference/docs/guides/database/functions.mdx b/apps/reference/docs/guides/database/functions.mdxindex d5ddf8017c6..9e2b4e407d6 100644--- a/apps/reference/docs/guides/database/functions.mdx+++ b/apps/reference/docs/guides/database/functions.mdx@@ -279,7 +279,7 @@ final res = await supabase### Database Functions vs Edge FunctionsFor data-intensive operations we recommend using [Database Functions](../../guides/database/functions), which are executed within your database-and can be called remotely using the [REST and GraphQL API](../../guides/database/api).+and can be called remotely using the [REST and GraphQL API](../api).For use-cases which require low-latency we recommend [Edge Functions](../../guides/functions), which are globally-distributed and can be written in Typescript.diff --git a/apps/reference/docs/guides/functions.mdx b/apps/reference/docs/guides/functions.mdxindex ed20a99b84b..0d2e8a576e6 100644--- a/apps/reference/docs/guides/functions.mdx+++ b/apps/reference/docs/guides/functions.mdx@@ -56,9 +56,9 @@ Learn how to develop Edge Functions in less than 7 minutes:Follow the steps to prepare your Supabase project on your local machine.- Install the Supabase CLI. [Docs](/docs/reference/cli/installing-and-updating).-- Login to the CLI using the command: `supabase login`. [Docs](/docs/reference/cli/supabase-login).-- Initialize Supabase inside your project using the command: `supabase init`. [Docs](/docs/guides/local-development#getting-started).-- Link to your Remote Project using the command `supabase link --project-ref your-project-ref`. [Docs](/docs/reference/cli/supabase-link).+- Login to the CLI using the command: `supabase login`. [Docs](/docs/reference/cli/usage#supabase-login).+- Initialize Supabase inside your project using the command: `supabase init`. [Docs](/docs/guides/cli/local-development#getting-started).+- Link to your Remote Project using the command `supabase link --project-ref your-project-ref`. [Docs](/docs/reference/cli/usage#supabase-link).- Optional: Setup your environment: Follow [this setup guide](https://deno.land/manual/getting_started/setup_your_environment) to integrate the Deno language server with your editor.## Getting Started@@ -118,7 +118,7 @@ You can debug your deployed Edge Functions using the "Functions" section of the## Developing locally-You can run your Edge Function locally using [`supabase functions serve`](/docs/reference/cli/supabase-functions-serve):+You can run your Edge Function locally using [`supabase functions serve`](/docs/reference/cli/usage#supabase-functions-serve):```bashsupabase start # start the supabase stack@@ -216,7 +216,7 @@ Never check your `.env` files into Git!:::-Let's push all the secrets from the `.env` file to our remote project using [`supabase secrets set`](/docs/reference/cli/supabase-secrets-set):+Let's push all the secrets from the `.env` file to our remote project using [`supabase secrets set`](/docs/reference/cli/usage#supabase-secrets-set):```bashsupabase secrets set --env-file ./supabase/.env@@ -227,7 +227,7 @@ supabase secrets set MY_NAME=ChewbaccaYou don't need to re-deploy after setting your secrets.-To see all the secrets which you have set remotely, use [`supabase secrets list`](/docs/reference/cli/supabase-secrets-list):+To see all the secrets which you have set remotely, use [`supabase secrets list`](/docs/reference/cli/usage#supabase-secrets-list):```bashsupabase secrets listdiff --git a/apps/reference/docs/guides/integrations/directus.mdx b/apps/reference/docs/guides/integrations/directus.mdxindex 6bbedc8501d..ae5c51da936 100644--- a/apps/reference/docs/guides/integrations/directus.mdx+++ b/apps/reference/docs/guides/integrations/directus.mdx@@ -4,13 +4,13 @@ title: 'Directus'description: 'In this guide, we will show you how to create a Supabase project, install the Directus platform locally and configure the two to connect.'----In this guide, we will demonstrate how to create a new Supabase project, install a fresh instance of the Directus platform, then configure the two to work together seamlessly. If you're unfamiliar with either of these systems, don’t worry! We’ll start off with an overview of each platform and explain how they complement each other, noting any overlap in capabilities.+In this guide, we will demonstrate how to create a new Supabase project, install a fresh instance of the Directus platform, then configure the two to work together seamlessly. If you're unfamiliar with either of these systems, don't worry! We'll start off with an overview of each platform and explain how they complement each other, noting any overlap in capabilities.## Introduction-[Supabase](https://supabase.com/) is an open-source Firebase alternative that provides a PostgreSQL database, storage, authentication, and a dynamic REST API based on your schema. While it is possible to self-host Supabase on your own infrastructure, this article will focus on Supabase Cloud’s Free tier, which is the fastest and easiest way to get started.+[Supabase](https://supabase.com/) is an open-source Firebase alternative that provides a PostgreSQL database, storage, authentication, and a dynamic REST API based on your schema. While it is possible to self-host Supabase on your own infrastructure, this article will focus on Supabase Cloud's Free tier, which is the fastest and easiest way to get started.@@ -32,18 +32,18 @@ More importantly, Directus and Supabase share a common vision for your data, makBy linking the Supabase database with your Directus Project, _you get a superset of data tools._ You'll benefit from Supabase's Postgres database and its _dev-centric_ admin app with the raw power to run SQL queries, **_as well as_** the Directus no-code app, which enables intuitive permissions-based data access for the whole team.-Let’s dive into how we actually set up and link these two platforms to create a modern data stack powerhouse.+Let's dive into how we actually set up and link these two platforms to create a modern data stack powerhouse.## Create a Supabase Project-As mentioned, while you can [deploy Supabase locally](https://supabase.com/docs/guides/local-development). For the purpose of this guide, we’ll use Supabase Cloud:+As mentioned, while you can [deploy Supabase locally](https://supabase.com/docs/guides/local-development). For the purpose of this guide, we'll use Supabase Cloud:1. Create a **Supabase** account by signing in with GitHub.2. Give your organization a name (this can be changed later).3. Click **New Project** and select your organization.4. Follow the prompts, setting a project Name, Database Password, Region, and Pricing Plan, then click **Create New Project**.5. After your project has been provisioned, navigate to **Settings > Database** in the sidebar.-6. Scroll down to **Connection Info** and take note of your database’s **Host**, **Database Name**, **Port**, **User**, and **Password**. You will need to enter this during your Directus project setup.+6. Scroll down to **Connection Info** and take note of your database's **Host**, **Database Name**, **Port**, **User**, and **Password**. You will need to enter this during your Directus project setup.## Optional: Add PostGIS to Support Geometry and Mapping@@ -57,7 +57,7 @@ To take full advantage of the built-in geometry and mapping features Directus of## Set up Directus-At the time of writing this article, [Directus Cloud](https://directus.cloud/) does not yet support hybrid deployments for connecting an external database. So, we’ll be deploying a self-hosted instance to connect with Supabase. To install a self-hosted instance of Directus that’s connected to our Supabase project, follow these steps:+At the time of writing this article, [Directus Cloud](https://directus.cloud/) does not yet support hybrid deployments for connecting an external database. So, we'll be deploying a self-hosted instance to connect with Supabase. To install a self-hosted instance of Directus that's connected to our Supabase project, follow these steps:1. Run the following command in your terminal:@@ -105,17 +105,17 @@ npx directus start**Please note:** To prevent public accessibility when using the supabase-js library,turn on row level security (RLS) on all these tables inside of the Supabase Dashboard. By default when RLS is turned on these tables cannot be read from or written to with the supabase-js library.-That’s it! Your project is now up and running locally. You can access the Directus Studio in the browser via the URL displayed, and log in with the Directus admin credentials you entered above:+That's it! Your project is now up and running locally. You can access the Directus Studio in the browser via the URL displayed, and log in with the Directus admin credentials you entered above:```bash✨ Server started at http://localhost:8055```-In a matter of minutes, we’ve created a flexible data backend, with access to an intuitive no-code app for managing and visualizing data along with a robust connectivity toolkit. This modern data stack is flexible and scalable enough to power any data-driven project… all you need to do is build the frontend!+In a matter of minutes, we've created a flexible data backend, with access to an intuitive no-code app for managing and visualizing data along with a robust connectivity toolkit. This modern data stack is flexible and scalable enough to power any data-driven project… all you need to do is build the frontend!## Next Steps-From here, the sky's the limit on what you can build. You’ll probably want to invite some new collaborators to your project and start architecting your data model.+From here, the sky's the limit on what you can build. You'll probably want to invite some new collaborators to your project and start architecting your data model.Below are some additional resources to dive in and start exploring these two platforms:diff --git a/apps/reference/docusaurus.config.js b/apps/reference/docusaurus.config.jsindex c2e43ab6fbd..f97ed009eae 100644--- a/apps/reference/docusaurus.config.js+++ b/apps/reference/docusaurus.config.js@@ -13,8 +13,7 @@ const config = {tagline: 'The open source Firebase alternative.',url: 'https://supabase.com',baseUrl: baseUrl,- onBrokenLinks: 'ignore', // TODO: remove this when going into prod- // onBrokenLinks: 'throw',+ onBrokenLinks: 'throw',onBrokenMarkdownLinks: 'warn',favicon: '/favicon.ico',// themes: ['docusaurus-theme-search-typesense'],diff --git a/apps/reference/src/pages/showcase.js b/apps/reference/src/pages/showcase.jsindex 3b66354963d..e4873d537ff 100644--- a/apps/reference/src/pages/showcase.js+++ b/apps/reference/src/pages/showcase.js@@ -22,10 +22,8 @@ export default function Showcase() {{/* Add */}<Section title="Do you want to add your project?" style="underline"><p>- <Link href="docs/handbook/contributing#how-to-add-a-your-project-to-our-showcase">- Learn how- </Link>{' '}- to add your project to our showcase.+ <Link href="/docs/handbook/contributing">Learn how</Link> to add your+ project to our showcase.</p></Section></Layout>diff --git a/web/src/pages/showcase.js b/web/src/pages/showcase.jsindex 57861b0c6ca..7d2f6cf56eb 100644--- a/web/src/pages/showcase.js+++ b/web/src/pages/showcase.js@@ -22,10 +22,8 @@ export default function Showcase() {{/* Add */}<Section title="Do you want to add your project?" style="underline"><p>- <Link href="docs/handbook/contributing#how-to-add-a-your-project-to-our-showcase">- Learn how- </Link>{' '}- to add your project to our showcase.+ <Link href="/docs/handbook/contributing">Learn how</Link> to add your project to our+ showcase.</p></Section></Layout>