From f94432b94512cef90cca6d0d5396b4547ccbe68b Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 19 Mar 2024 03:10:42 +0000 Subject: docs: Bootstrap docusaurus docs --- docs/sidebars.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/sidebars.ts (limited to 'docs/sidebars.ts') diff --git a/docs/sidebars.ts b/docs/sidebars.ts new file mode 100644 index 00000000..acc7685a --- /dev/null +++ b/docs/sidebars.ts @@ -0,0 +1,31 @@ +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 + + 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', + { + type: 'category', + label: 'Tutorial', + items: ['tutorial-basics/create-a-document'], + }, + ], + */ +}; + +export default sidebars; -- cgit v1.2.3-70-g09d2