Files
supabase/apps/reference/nav/_referenceSidebars.js
T

62 lines
1.5 KiB
JavaScript

/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
mainSidebar: [
{
type: 'category',
label: 'Reference',
link: { type: 'doc', id: 'about' },
collapsed: false,
items: [
{
type: 'link',
label: 'Supabase JavaScript Client',
href: '/supabase-js',
},
{ type: 'link', label: 'Supabase CLI', href: '/cli' },
{ type: 'link', label: 'Supabase API', href: '/api' },
],
},
{
type: 'category',
label: 'Community',
collapsed: false,
items: [
{ type: 'link', label: 'Supabase Dart Client', href: '/supabase-dart' },
],
},
{
type: 'category',
label: 'Tools',
collapsed: false,
items: [{ type: 'link', label: 'GoTrue Auth Server', href: '/gotrue' }],
},
// {
// type: 'category',
// label: 'Postgres Extensions',
// link: { type: 'doc', id: 'postgres/extensions/intro' },
// collapsed: true,
// items: [
// 'postgres/extensions/http',
// 'postgres/extensions/pgtap',
// 'postgres/extensions/plv8',
// 'postgres/extensions/uuid-ossp',
// ],
// },
],
}
module.exports = sidebars