mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
cleans up the routing - now everything is on a base route rather than "/docs"
This commit is contained in:
1 parent
111959cb23
commit
db34f369cd
5 files changed
+98
-103
No files matched your search
@@ -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.
|
||||
@@ -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>
|
||||
|
||||
Executable
+10
@@ -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.
|
||||
+81
-86
@@ -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
|
||||
// },
|
||||
// ],
|
||||
],
|
||||
}
|
||||
+1
-1
@@ -11,7 +11,7 @@ module.exports = {
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Introduction',
|
||||
items: ['about'],
|
||||
items: ['handbook'],
|
||||
collapsed: false,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user