diff options
| author | kj_sh604 | 2026-03-15 16:19:35 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:35 -0400 |
| commit | bc297e5e496d9f48ef77581b7fb41fdf328a62cf (patch) | |
| tree | 66192466eef76ee4c5cf71a9788ae9fe947514d4 /dev-docs/sidebars.js | |
| parent | f6538b8f1a78a7d72a41916ac79376f8c2d30193 (diff) | |
refactor: dev-docs/
Diffstat (limited to 'dev-docs/sidebars.js')
| -rw-r--r-- | dev-docs/sidebars.js | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/dev-docs/sidebars.js b/dev-docs/sidebars.js new file mode 100644 index 0000000..8510ef1 --- /dev/null +++ b/dev-docs/sidebars.js @@ -0,0 +1,133 @@ +/** + * 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. + */ + +// @ts-check + +/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ +const sidebars = { + docs: [ + { + type: "category", + label: "Introduction", + link: { + type: "doc", + id: "introduction/get-started", + }, + items: ["introduction/development", "introduction/contributing"], + }, + { + type: "category", + label: "Codebase", + items: ["codebase/json-schema", "codebase/frames"], + }, + { + type: "category", + label: "@excalidraw/excalidraw", + collapsed: false, + items: [ + "@excalidraw/excalidraw/installation", + "@excalidraw/excalidraw/integration", + "@excalidraw/excalidraw/customizing-styles", + { + type: "category", + label: "API", + link: { + type: "doc", + id: "@excalidraw/excalidraw/api/api-intro", + }, + items: [ + { + type: "category", + label: "Props", + link: { + type: "doc", + id: "@excalidraw/excalidraw/api/props/props", + }, + items: [ + "@excalidraw/excalidraw/api/props/initialdata", + "@excalidraw/excalidraw/api/props/excalidraw-api", + "@excalidraw/excalidraw/api/props/render-props", + "@excalidraw/excalidraw/api/props/ui-options", + ], + }, + { + type: "category", + label: "Children Components", + link: { + type: "doc", + id: "@excalidraw/excalidraw/api/children-components/children-components-intro", + }, + items: [ + "@excalidraw/excalidraw/api/children-components/main-menu", + "@excalidraw/excalidraw/api/children-components/welcome-screen", + "@excalidraw/excalidraw/api/children-components/sidebar", + "@excalidraw/excalidraw/api/children-components/footer", + "@excalidraw/excalidraw/api/children-components/live-collaboration-trigger", + ], + }, + { + type: "category", + label: "Utils", + link: { + type: "doc", + id: "@excalidraw/excalidraw/api/utils/utils-intro", + }, + items: [ + "@excalidraw/excalidraw/api/utils/export", + "@excalidraw/excalidraw/api/utils/restore", + ], + }, + "@excalidraw/excalidraw/api/constants", + "@excalidraw/excalidraw/api/excalidraw-element-skeleton", + ], + }, + "@excalidraw/excalidraw/faq", + "@excalidraw/excalidraw/development", + ], + }, + { + type: "category", + label: "@excalidraw/mermaid-to-excalidraw", + link: { + type: "doc", + id: "@excalidraw/mermaid-to-excalidraw/installation", + }, + items: [ + "@excalidraw/mermaid-to-excalidraw/api", + "@excalidraw/mermaid-to-excalidraw/development", + { + type: "category", + label: "Codebase", + link: { + type: "doc", + id: "@excalidraw/mermaid-to-excalidraw/codebase/codebase", + }, + items: [ + { + type: "category", + label: "How Parser works under the hood?", + link: { + type: "doc", + id: "@excalidraw/mermaid-to-excalidraw/codebase/parser/parser", + }, + items: [ + "@excalidraw/mermaid-to-excalidraw/codebase/parser/flowchart", + ], + }, + "@excalidraw/mermaid-to-excalidraw/codebase/new-diagram-type", + ], + }, + ], + }, + ], +}; + +module.exports = sidebars; |
