Skip to content

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

cleans up the routing - now everything is on a base route rather than "/docs"

Paul Copplestonedb34f369cd36
diff --git a/about/docs/about.md b/about/docs/about.md
deleted file mode 100755
index 19f5d1822c2..00000000000
--- a/about/docs/about.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-id: about
-title: About
-description: 'What is Supabase?'
-slug: /
----
-
-## What it this?
-
-This is the internal Supabase guide. It is a work in progress.
diff --git a/about/docs/careers/snippets/roles.mdx b/about/docs/careers/snippets/roles.mdx
index 6028250ef86..54e08c84b86 100644
--- a/about/docs/careers/snippets/roles.mdx
+++ b/about/docs/careers/snippets/roles.mdx
@@ -1,40 +1,40 @@
-<a className="card" href="/docs/careers/founders" style={{marginBottom: 10}}>
+<a className="card" href="/careers/founders" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Ex-Founders</h3>
<p>Create your own role.</p>
</div>
</a>
-<a className="card" href="/docs/careers/postgres-experts" style={{marginBottom: 10}}>
+<a className="card" href="/careers/postgres-experts" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Postgres Experts</h3>
<p>Postgres application engineers, support engineers, technical writers.</p>
</div>
</a>
-<a className="card" href="/docs/careers/sre" style={{marginBottom: 10}}>
+<a className="card" href="/careers/sre" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Cloud Platform Engineers and SRE's</h3>
<p>Build our cloud platform.</p>
</div>
</a>
-<a className="card" href="/docs/careers/developer-advocate" style={{marginBottom: 10}}>
+<a className="card" href="/careers/developer-advocate" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Developer Advocates and Community Managers</h3>
<p>Get more developers interested in Postgres and Supabase.</p>
</div>
</a>
-<a className="card" href="/docs/careers/support-and-qa" style={{marginBottom: 10}}>
+<a className="card" href="/careers/support-and-qa" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Developer Support and QA Engineers</h3>
<p>Build internal tooling, automated tests, and support processes.</p>
</div>
</a>
-<a className="card" href="/docs/careers/full-stack-developers" style={{marginBottom: 10}}>
+<a className="card" href="/careers/full-stack-developers" style={{marginBottom: 10}}>
<div className="card__body">
<h3>Full-stack engineers</h3>
<p>Build our Dashboard, tools, and tests.</p>
diff --git a/about/docs/handbook.mdx b/about/docs/handbook.mdx
new file mode 100755
index 00000000000..52da1020c95
--- /dev/null
+++ b/about/docs/handbook.mdx
@@ -0,0 +1,10 @@
+---
+id: handbook
+title: Handbook
+description: 'What is the Supabase Handbook?'
+slug: /handbook
+---
+
+## What it this?
+
+This is the internal Supabase guide. It is a work in progress.
diff --git a/about/docusaurus.config.js b/about/docusaurus.config.js
index e300eb48a9a..4c0a97c3f6f 100755
--- a/about/docusaurus.config.js
+++ b/about/docusaurus.config.js
@@ -68,15 +68,15 @@ module.exports = {
position: 'right',
},
{
- label: 'Overview',
- to: '/docs',
- activeBaseRegex: '(^/docs$)|(/docs/faq)|(^/docs/guides/examples)',
+ label: 'Careers',
+ to: '/careers',
+ activeBasePath: '/careers',
position: 'left',
},
{
- label: 'Jobs',
- to: '/docs/careers',
- activeBasePath: '/docs/careers',
+ label: 'Handbook',
+ to: '/handbook',
+ activeBaseRegex: '(^/docs$)|(/docs/faq)|(^/docs/guides/examples)',
position: 'left',
},
],
@@ -160,92 +160,87 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
- editUrl: 'https://github.com/supabase/supabase/edit/master/web',
+ routeBasePath: '/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
- blog: {
- feedOptions: {
- type: 'all',
- copyright: `Copyright © ${new Date().getFullYear()} Supabase, Inc.`,
- },
- },
+ blog: false
},
],
],
scripts: [{ src: '/scripts/telemetry.js' }],
- // plugins: [
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'supabase-client', // for first plugin-content-docs with "resources/" path
- // // // homePageId: "doc2",
- // // path: './ref/supabase', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'ref/supabase', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_spec_supabase.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'postgrest-client', // for first plugin-content-docs with "resources/" path
- // // // homePageId: "doc2",
- // // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'ref/postgrest', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'gotrue-client', // for first plugin-content-docs with "resources/" path
- // // // homePageId: "doc2",
- // // path: './ref/gotrue', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'ref/gotrue', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_spec_gotrue.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'realtime-client', // for first plugin-content-docs with "resources/" path
- // // // homePageId: "doc2",
- // // path: './ref/realtime', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'ref/realtime', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_spec_realtime.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'realtime-server', // for first plugin-content-docs with "resources/" path
- // // path: './tools/realtime', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'docs/realtime', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_realtime_server.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // // [
- // // '@docusaurus/plugin-content-docs',
- // // {
- // // id: 'postgrest', // for first plugin-content-docs with "resources/" path
- // // // homePageId: "doc2",
- // // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
- // // routeBasePath: 'ref/postgrest', // URL Route.
- // // include: ['**/*.md', '**/*.mdx'],
- // // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
- // // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
- // // },
- // // ],
- // ],
+ plugins: [
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'supabase-client', // for first plugin-content-docs with "resources/" path
+ // // homePageId: "doc2",
+ // path: './ref/supabase', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'ref/supabase', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_spec_supabase.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'postgrest-client', // for first plugin-content-docs with "resources/" path
+ // // homePageId: "doc2",
+ // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'ref/postgrest', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'gotrue-client', // for first plugin-content-docs with "resources/" path
+ // // homePageId: "doc2",
+ // path: './ref/gotrue', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'ref/gotrue', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_spec_gotrue.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'realtime-client', // for first plugin-content-docs with "resources/" path
+ // // homePageId: "doc2",
+ // path: './ref/realtime', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'ref/realtime', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_spec_realtime.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'realtime-server', // for first plugin-content-docs with "resources/" path
+ // path: './tools/realtime', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'docs/realtime', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_realtime_server.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ // [
+ // '@docusaurus/plugin-content-docs',
+ // {
+ // id: 'postgrest', // for first plugin-content-docs with "resources/" path
+ // // homePageId: "doc2",
+ // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
+ // routeBasePath: 'ref/postgrest', // URL Route.
+ // include: ['**/*.md', '**/*.mdx'],
+ // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
+ // // disableVersioning: true, // if not set with versions, throw: Identifier 'React' has already been declared
+ // },
+ // ],
+ ],
}
diff --git a/about/sidebars.js b/about/sidebars.js
index 29f195eea48..01f559a3582 100755
--- a/about/sidebars.js
+++ b/about/sidebars.js
@@ -11,7 +11,7 @@ module.exports = {
{
type: 'category',
label: 'Introduction',
- items: ['about'],
+ items: ['handbook'],
collapsed: false,
},
{