aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sidebars.ts
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sidebars.ts')
-rw-r--r--docs/sidebars.ts27
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;