Files
noodl-docs/sidebarsJavascript.js
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

76 lines
2.5 KiB
JavaScript

/**
* 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 = {
apiSidebar: [
'overview',
{
type: 'category',
label: 'References',
collapsible: true,
link: { type: 'doc', id: 'reference/overview' },
items: [
{ type: 'doc', label: 'Variables', id: 'reference/variables' },
{ type: 'doc', label: 'Objects', id: 'reference/objects' },
{ type: 'doc', label: 'Object', id: 'reference/object' },
{ type: 'doc', label: 'Arrays', id: 'reference/arrays' },
{ type: 'doc', label: 'Events', id: 'reference/events' },
{ type: 'doc', label: 'Component', id: 'reference/component' },
{ type: 'doc', label: 'Records', id: 'reference/records' },
{ type: 'doc', label: 'Users', id: 'reference/users' },
{ type: 'doc', label: 'Files', id: 'reference/files' },
{ type: 'doc', label: 'Navigation', id: 'reference/navigation' },
{ type: 'doc', label: 'CloudFunctions', id: 'reference/cloudfunctions' },
],
},
{
type: 'category',
label: 'Samples',
collapsible: true,
items: [
{
type: 'doc',
label: 'Get DOM Element',
id: 'samples/get-dom-element',
},
{
type: 'doc',
label: 'Pointer Position',
id: 'samples/pointer-position',
},
],
},
{
type: 'category',
label: 'Extending',
collapsible: true,
link: { type: 'doc', id: 'extending/overview' },
items: [
{
type: 'doc',
label: 'Simple Logic Node',
id: 'extending/create-lib',
},
{
type: 'doc',
label: 'Visual Node with React',
id: 'extending/create-react-lib',
},
],
},
],
}
module.exports = sidebars