Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Big cleanup, preparing for a new "Guides" section

Paul Copplestone0ec2f29755b4
diff --git a/web/docs/gotrue/server/about.md b/web/docs/gotrue/server/about.md
index dd0488c4336..7aaf6c90647 100644
--- a/web/docs/gotrue/server/about.md
+++ b/web/docs/gotrue/server/about.md
@@ -1,6 +1,6 @@
---
id: about
-title: GoTrue
+title: GoTrue Auth Server
description: An SWT based API for managing users and issuing SWT tokens
---
diff --git a/web/docs/resources/learn/auth-deep-dive/google-oauth.md b/web/docs/learn/auth-deep-dive/google-oauth.md
similarity index 100%
rename from web/docs/resources/learn/auth-deep-dive/google-oauth.md
rename to web/docs/learn/auth-deep-dive/google-oauth.md
diff --git a/web/docs/resources/learn/auth-deep-dive/gotrue.md b/web/docs/learn/auth-deep-dive/gotrue.md
similarity index 100%
rename from web/docs/resources/learn/auth-deep-dive/gotrue.md
rename to web/docs/learn/auth-deep-dive/gotrue.md
diff --git a/web/docs/resources/learn/auth-deep-dive/jwts.md b/web/docs/learn/auth-deep-dive/jwts.md
similarity index 100%
rename from web/docs/resources/learn/auth-deep-dive/jwts.md
rename to web/docs/learn/auth-deep-dive/jwts.md
diff --git a/web/docs/resources/learn/auth-deep-dive/policies.md b/web/docs/learn/auth-deep-dive/policies.md
similarity index 100%
rename from web/docs/resources/learn/auth-deep-dive/policies.md
rename to web/docs/learn/auth-deep-dive/policies.md
diff --git a/web/docs/resources/learn/auth-deep-dive/row-level-security.md b/web/docs/learn/auth-deep-dive/row-level-security.md
similarity index 100%
rename from web/docs/resources/learn/auth-deep-dive/row-level-security.md
rename to web/docs/learn/auth-deep-dive/row-level-security.md
diff --git a/web/docs/postgrest/server/about.md b/web/docs/postgrest/server/about.md
index 8e8b3f3d6f5..853f396a5ab 100644
--- a/web/docs/postgrest/server/about.md
+++ b/web/docs/postgrest/server/about.md
@@ -1,6 +1,6 @@
---
id: about
-title: PostgREST
+title: PostgREST API Server
description: 'PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API.'
---
@@ -8,7 +8,7 @@ PostgREST is a standalone web server that turns your PostgreSQL database directl
The structural constraints and permissions in the database determine the API endpoints and operations.
-## [Documentation](http://postgrest.org)
+## Documentation
Latest documentation is at [postgrest.org](http://postgrest.org). You can contribute to the docs in [PostgREST/postgrest-docs](https://github.com/PostgREST/postgrest-docs).
diff --git a/web/docs/realtime/server/about.md b/web/docs/realtime/server/about.md
index d3f9b8b7b0f..2fa31a20bde 100644
--- a/web/docs/realtime/server/about.md
+++ b/web/docs/realtime/server/about.md
@@ -1,7 +1,7 @@
---
id: about
-title: About
-description: 'Host your own Realtime server'
+title: Realtime Server
+description: 'Supabase Realtime is a Change Data Capture server'
---
Supabase Realtime is a Change Data Capture server. It allows you to listen to Postgres changes.
diff --git a/web/docs/resources.md b/web/docs/resources.md
index 74f68c71249..223e967c148 100644
--- a/web/docs/resources.md
+++ b/web/docs/resources.md
@@ -10,7 +10,7 @@ hide_title: true
A collection of resources for you to explore and learn.
-<a className="card" href="/docs/resources/learn/auth-deep-dive/auth-deep-dive-jwts" style={{marginBottom: 10}}>
+<a className="card" href="/docs/learn/auth-deep-dive/auth-deep-dive-jwts" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Auth Deep Dive</h3>
<p>In this Series, Supabase's CTO will step you through everything you need to know about Auth in the context of Supabase.</p>
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js
index 866171052e6..d52fa76c29c 100755
--- a/web/docusaurus.config.js
+++ b/web/docusaurus.config.js
@@ -69,8 +69,8 @@ module.exports = {
},
{
to: '/docs',
- activeBasePath: '/docs/guides/',
- label: 'Guides',
+ activeBaseRegex: '(^/docs$)|(/docs/faq)|(/docs/guides)',
+ label: 'Overview',
position: 'left',
},
{
@@ -79,58 +79,58 @@ module.exports = {
to: '/docs/client/supabase-client',
position: 'left',
},
- {
- label: 'Blog',
- to: '/blog',
- position: 'right',
- },
- {
- to: 'docs/',
- activeBasePath: 'Tools',
- label: 'Tools',
- position: 'left',
- items: [
- {
- label: 'GoTrue',
- to: '/docs/gotrue/server/about',
- },
- {
- label: 'GoTrue Client',
- to: '/docs/gotrue/client/gotrue-client',
- },
- {
- label: 'Postgres',
- to: '/docs/postgres/server/about',
- },
- {
- label: 'Postgres API',
- to: '/docs/postgres/api/about',
- },
- {
- label: 'PostgREST',
- to: '/docs/postgrest/server/about',
- },
- {
- label: 'PostgREST Client',
- to: '/docs/postgrest/client/postgrest-client',
- },
- {
- label: 'Realtime',
- to: '/docs/realtime/server/about',
- },
- {
- label: 'Realtime Client',
- to: '/docs/realtime/client/realtime-client',
- },
- ],
- },
+ // {
+ // label: 'Blog',
+ // to: '/blog',
+ // position: 'right',
+ // },
+ // {
+ // to: 'docs/',
+ // activeBasePath: 'Tools',
+ // label: 'Tools',
+ // position: 'left',
+ // items: [
+ // {
+ // label: 'GoTrue',
+ // to: '/docs/gotrue/server/about',
+ // },
+ // {
+ // label: 'GoTrue Client',
+ // to: '/docs/gotrue/client/gotrue-client',
+ // },
+ // {
+ // label: 'Postgres',
+ // to: '/docs/postgres/server/about',
+ // },
+ // {
+ // label: 'Postgres API',
+ // to: '/docs/postgres/api/about',
+ // },
+ // {
+ // label: 'PostgREST',
+ // to: '/docs/postgrest/server/about',
+ // },
+ // {
+ // label: 'PostgREST Client',
+ // to: '/docs/postgrest/client/postgrest-client',
+ // },
+ // {
+ // label: 'Realtime',
+ // to: '/docs/realtime/server/about',
+ // },
+ // {
+ // label: 'Realtime Client',
+ // to: '/docs/realtime/client/realtime-client',
+ // },
+ // ],
+ // },
{
to: '/docs/resources',
- activeBasePath: '/docs/resources',
+ activeBaseRegex: 'docs/(resources|learn|gotrue|postgrest|realtime)',
label: 'Resources',
position: 'left',
},
- { href: 'https://app.supabase.io', label: 'Login', position: 'right' },
+ { href: 'https://app.supabase.io', label: 'Login', position: 'left' },
],
},
prism: {
diff --git a/web/sidebars.js b/web/sidebars.js
index f5d4b5e95f4..0270ffd3433 100755
--- a/web/sidebars.js
+++ b/web/sidebars.js
@@ -38,43 +38,47 @@ module.exports = {
items: [
{
'Auth Deep Dive': [
- 'resources/learn/auth-deep-dive/auth-deep-dive-jwts',
- 'resources/learn/auth-deep-dive/auth-row-level-security',
- 'resources/learn/auth-deep-dive/auth-policies',
- 'resources/learn/auth-deep-dive/auth-gotrue',
- 'resources/learn/auth-deep-dive/auth-google-oauth',
+ 'learn/auth-deep-dive/auth-deep-dive-jwts',
+ 'learn/auth-deep-dive/auth-row-level-security',
+ 'learn/auth-deep-dive/auth-policies',
+ 'learn/auth-deep-dive/auth-gotrue',
+ 'learn/auth-deep-dive/auth-google-oauth',
],
},
],
},
- ],
- goTrueServer: [
- {
- type: 'category',
- label: 'GoTrue',
- collapsed: false,
- items: ['gotrue/server/about'],
- },
- ],
- realtimeServer: [
- {
- type: 'category',
- label: 'Realtime',
- collapsed: false,
- items: ['realtime/server/about'],
- },
{
type: 'category',
- label: 'Self hosting',
- collapsed: false,
+ label: 'Tools',
items: [
- 'realtime/server/docker',
- 'realtime/server/aws',
- 'realtime/server/digitalocean',
- 'realtime/server/source',
+ 'gotrue/server/about',
+ 'gotrue/client/index',
+ 'postgrest/server/about',
+ 'postgrest/client/index',
+ 'realtime/server/about',
+ 'realtime/client/index',
],
},
],
+ // realtimeServer: [
+ // {
+ // type: 'category',
+ // label: 'Realtime',
+ // collapsed: false,
+ // items: ['realtime/server/about'],
+ // },
+ // {
+ // type: 'category',
+ // label: 'Self hosting',
+ // collapsed: false,
+ // items: [
+ // 'realtime/server/docker',
+ // 'realtime/server/aws',
+ // 'realtime/server/digitalocean',
+ // 'realtime/server/source',
+ // ],
+ // },
+ // ],
// realtimeClient: [
// {
// type: 'category',
@@ -83,14 +87,14 @@ module.exports = {
// items: ['realtime/client/about'],
// },
// ],
- postgrestServer: [
- {
- type: 'category',
- label: 'PostgREST',
- collapsed: false,
- items: ['postgrest/server/about'],
- },
- ],
+ // postgrestServer: [
+ // {
+ // type: 'category',
+ // label: 'PostgREST',
+ // collapsed: false,
+ // items: ['postgrest/server/about'],
+ // },
+ // ],
postgresServer: [
{
type: 'category',