diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-04-13 15:41:24 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-04-13 16:17:22 +0000 |
| commit | 969e774ac029c9fd2f82678af7981862966b79f2 (patch) | |
| tree | ec26ee8115f6608d2f912bb3b0669aed8b3b2ea7 /docs/sidebars.ts | |
| parent | 98ac31c30e5134fb3c8edc27b2a304ac46e39392 (diff) | |
| download | karakeep-969e774ac029c9fd2f82678af7981862966b79f2.tar.zst | |
docs: Replace the OpenAPI rendering library
Diffstat (limited to 'docs/sidebars.ts')
| -rw-r--r-- | docs/sidebars.ts | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/docs/sidebars.ts b/docs/sidebars.ts index acc7685a..d837af08 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -1,31 +1,14 @@ -import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; +import type { SidebarsConfig } from "@docusaurus/plugin-content-docs"; -/** - * 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 +import openapiSidebar from "./docs/API/sidebar"; - The sidebars can be generated from the filesystem, or explicitly defined here. - - Create as many sidebars as you want. - */ const sidebars: SidebarsConfig = { - // By default, Docusaurus generates a sidebar from the docs folder structure - tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], - - // But you can create a sidebar manually - /* - tutorialSidebar: [ - 'intro', - 'hello', + sidebar: [ + { type: "autogenerated", dirName: "." }, { - type: 'category', - label: 'Tutorial', - items: ['tutorial-basics/create-a-document'], + API: openapiSidebar, }, ], - */ }; export default sidebars; |
