Skip to content

Commit

Permalink
feat(docs): sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobuddy committed May 16, 2024
1 parent 063b03a commit 92eecd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
6 changes: 3 additions & 3 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Config } from '@docusaurus/types'
import type * as Preset from '@docusaurus/preset-classic'

const config: Config = {
title: 'Manifest',
title: 'Manifest Docs',
tagline: 'Effortless backends',
favicon: 'img/favicon.ico',

Expand Down Expand Up @@ -64,7 +64,7 @@ const config: Config = {
type: 'docSidebar',
sidebarId: 'docSidebar',
position: 'left',
label: 'Tutorial'
label: 'Docs'
},
{
href: 'https://github.com/casejs/case',
Expand All @@ -80,7 +80,7 @@ const config: Config = {
title: 'Docs',
items: [
{
label: 'Tutorial',
label: 'Introduction',
to: '/'
}
]
Expand Down
22 changes: 5 additions & 17 deletions docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ const sidebars: SidebarsConfig = {
},
{
type: 'category',
label: 'Structure your data',
label: 'The Manifest file',
items: [
{
type: 'doc',
id: 'entities'
id: 'manifest-file'
},
{
type: 'doc',
id: 'properties'
id: 'entities'
},
{
type: 'doc',
id: 'property-types'
id: 'properties'
},
{
type: 'doc',
id: 'validation'
id: 'property-types'
},
{
type: 'doc',
Expand All @@ -60,22 +60,10 @@ const sidebars: SidebarsConfig = {
type: 'doc',
id: 'connect'
},
{
type: 'doc',
id: 'storage'
},
{
type: 'doc',
id: 'hooks'
},
{
type: 'doc',
id: 'auth'
},
{
type: 'doc',
id: 'api-policies'
},
{
type: 'doc',
id: 'react'
Expand Down

0 comments on commit 92eecd2

Please sign in to comment.