2022-07-26 13:04:12 +02:00
|
|
|
/**
|
|
|
|
* 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 = {
|
2023-02-01 15:27:54 +01:00
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
type: "category",
|
|
|
|
label: "Introduction",
|
|
|
|
link: {
|
|
|
|
type: "doc",
|
|
|
|
id: "introduction/get-started",
|
|
|
|
},
|
|
|
|
items: ["introduction/development", "introduction/contributing"],
|
|
|
|
},
|
2023-09-13 17:31:34 +02:00
|
|
|
{ type: "category", label: "Codebase", items: ["codebase/json-schema"] },
|
2022-07-26 13:04:12 +02:00
|
|
|
{
|
2023-02-01 15:27:54 +01:00
|
|
|
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/ref",
|
|
|
|
"@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",
|
2023-09-15 15:03:23 +02:00
|
|
|
"@excalidraw/excalidraw/api/children-components/sidebar",
|
2023-02-01 15:27:54 +01:00
|
|
|
"@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",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "category",
|
|
|
|
label: "Constants",
|
|
|
|
link: { type: "doc", id: "@excalidraw/excalidraw/api/constants" },
|
|
|
|
items: [],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
"@excalidraw/excalidraw/faq",
|
|
|
|
"@excalidraw/excalidraw/development",
|
|
|
|
],
|
2022-07-26 13:04:12 +02:00
|
|
|
},
|
2023-09-07 12:43:37 +02:00
|
|
|
{
|
|
|
|
type: "category",
|
2023-09-13 17:31:34 +02:00
|
|
|
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",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2023-09-07 12:43:37 +02:00
|
|
|
},
|
2022-07-26 13:04:12 +02:00
|
|
|
],
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = sidebars;
|