diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-19 03:10:42 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-19 11:29:33 +0000 |
| commit | f94432b94512cef90cca6d0d5396b4547ccbe68b (patch) | |
| tree | b4888881a713654a4accbd5fbdbae6574a7e62e3 /docs/sidebars.ts | |
| parent | 3304ed4733f7301a29231ee4f967e04fd7c10880 (diff) | |
| download | karakeep-f94432b94512cef90cca6d0d5396b4547ccbe68b.tar.zst | |
docs: Bootstrap docusaurus docs
Diffstat (limited to 'docs/sidebars.ts')
| -rw-r--r-- | docs/sidebars.ts | 31 |
1 files changed, 31 insertions, 0 deletions
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; |
