Adding home docs

This commit is contained in:
Paul Copplestone
2019-10-21 14:22:35 +00:00
parent dae6e5f803
commit f17092b876
5 changed files with 36 additions and 5 deletions

View File

@@ -15,6 +15,11 @@ export default function Navbar({}) {
</span>
</a>
</li>
<li className={category == '-' ? 'is-active' : ''}>
<Link href={`/docs/[category]/[slug]`} as={`/docs/-/about`}>
<a className="">Home</a>
</Link>
</li>
<li className={category == 'packaged' ? 'is-active' : ''}>
<Link href={`/docs/[category]/[slug]`} as={`/docs/packaged/getting-started`}>
<a className="">Packaged</a>

View File

@@ -0,0 +1,19 @@
export const metadata = {
title: 'Supabase',
description: 'Supabase Docs',
sidebarLabel: 'About'
}
## Docs
- Key concepts
- FAQs
## In Production
Here are some companies that use Supabase in production.
- [Nimbus for Work](https://nimbusforwork.com)

View File

@@ -4,7 +4,8 @@ export const metadata = {
}
# Hello world
## Motivation
FOo bAr
Relational databases are great but the set up can be cumbersome for quick prototyping and small products.
Additionally, even a small Postgres database can cost you $5/month.
We want to provide developers with the fastest and cheapest route to market using PostgreSQL.

View File

@@ -5,6 +5,8 @@ export const metadata = {
}
## Introduction
Some overview.
Some overview.
## Motivation
Some reasons.

View File

@@ -14,6 +14,7 @@ const importReducer = ctx => {
// Import all docs
var Docs = []
Docs['-'] = importReducer(require.context('../../../content/docs/-', true, /.mdx$/))
Docs['packaged'] = importReducer(require.context('../../../content/docs/packaged', true, /.mdx$/))
Docs['admin-api'] = importReducer(require.context('../../../content/docs/admin-api', true, /.mdx$/))
Docs['realtime'] = importReducer(require.context('../../../content/docs/realtime', true, /.mdx$/))
@@ -23,6 +24,9 @@ Docs['baseless'] = importReducer(require.context('../../../content/docs/baseless
// Set up all sidebars
var Sidebars = []
Sidebars['-'] = {
introduction: ['about'],
}
Sidebars['packaged'] = {
introduction: ['getting-started'],
}