From 92eecd227d64158a61ca65375c52ca5804c3f762 Mon Sep 17 00:00:00 2001 From: Bruno Date: Thu, 16 May 2024 17:10:45 +0200 Subject: [PATCH] feat(docs): sidebar --- docs/docusaurus.config.ts | 6 +++--- docs/sidebars.ts | 22 +++++----------------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index d42f102..da7d5e3 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -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', @@ -64,7 +64,7 @@ const config: Config = { type: 'docSidebar', sidebarId: 'docSidebar', position: 'left', - label: 'Tutorial' + label: 'Docs' }, { href: 'https://github.com/casejs/case', @@ -80,7 +80,7 @@ const config: Config = { title: 'Docs', items: [ { - label: 'Tutorial', + label: 'Introduction', to: '/' } ] diff --git a/docs/sidebars.ts b/docs/sidebars.ts index 92d5817..8d7c325 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -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', @@ -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'