From 969e774ac029c9fd2f82678af7981862966b79f2 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 13 Apr 2025 15:41:24 +0000 Subject: docs: Replace the OpenAPI rendering library --- docs/sidebars.ts | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'docs/sidebars.ts') 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; -- cgit v1.2.3-70-g09d2