2022-07-06 21:04:48 +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 = {
|
|
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
2022-08-26 18:41:48 +02:00
|
|
|
docs: [
|
|
|
|
'index',
|
2023-02-03 17:12:20 +00:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Admin',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Link Strapi Design System',
|
|
|
|
id: 'core/admin/link-strapi-design-system',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-08-26 18:41:48 +02:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Core',
|
|
|
|
link: {
|
|
|
|
type: 'generated-index',
|
|
|
|
},
|
|
|
|
collapsible: false,
|
|
|
|
items: [
|
2023-02-02 15:39:18 +00:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Admin',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Link Strapi Design System',
|
|
|
|
id: 'core/admin/link-strapi-design-system',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-08-26 18:41:48 +02:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Content Manager',
|
|
|
|
link: {
|
|
|
|
type: 'doc',
|
|
|
|
id: 'core/content-manager/intro',
|
|
|
|
},
|
2022-11-16 13:58:42 +00:00
|
|
|
items: [
|
2022-12-07 17:54:05 +00:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Hooks',
|
|
|
|
items: [
|
2023-01-11 16:58:34 +00:00
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'useCallbackRef',
|
|
|
|
id: 'core/content-manager/hooks/use-callback-ref',
|
|
|
|
},
|
2022-12-07 17:54:05 +00:00
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'useDragAndDrop',
|
|
|
|
id: 'core/content-manager/hooks/use-drag-and-drop',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-11-16 13:58:42 +00:00
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Relations',
|
|
|
|
id: 'core/content-manager/relations',
|
|
|
|
},
|
|
|
|
],
|
2022-08-26 18:41:48 +02:00
|
|
|
},
|
2022-12-29 16:43:02 +01:00
|
|
|
{
|
|
|
|
type: 'category',
|
2023-02-03 17:12:20 +00:00
|
|
|
label: 'Content Type Builder',
|
|
|
|
link: {
|
|
|
|
type: 'doc',
|
|
|
|
id: 'core/content-type-builder/intro',
|
|
|
|
},
|
|
|
|
items: ['example'],
|
2022-12-29 16:43:02 +01:00
|
|
|
},
|
2023-01-13 09:56:57 +01:00
|
|
|
{
|
|
|
|
type: 'category',
|
2023-02-03 17:12:20 +00:00
|
|
|
label: 'Helper Plugin',
|
2023-01-13 09:56:57 +01:00
|
|
|
items: [
|
|
|
|
{
|
2023-02-03 17:12:20 +00:00
|
|
|
type: 'category',
|
|
|
|
label: 'Hooks',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'useFetchClient',
|
|
|
|
id: 'core/helper-plugin/hooks/use-fetch-client',
|
|
|
|
},
|
2023-02-10 13:17:53 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'useAPIErrorHandler',
|
2023-02-10 14:07:12 +01:00
|
|
|
id: 'core/helper-plugin/hooks/use-api-error-handler',
|
2023-02-10 13:17:53 +01:00
|
|
|
},
|
2023-02-03 17:12:20 +00:00
|
|
|
],
|
2023-01-13 09:56:57 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-02-02 15:39:18 +00:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Permissions (RBAC)',
|
|
|
|
link: {
|
|
|
|
type: 'doc',
|
|
|
|
id: 'core/permissions/intro',
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'How Permissions Work',
|
|
|
|
id: 'core/permissions/how-they-work',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'RBAC on the frontend',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Fetching Permissions',
|
|
|
|
id: 'core/permissions/frontend/fetching-permissions',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Using Permissions',
|
|
|
|
id: 'core/permissions/frontend/using-permissions',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-02-02 12:59:45 +01:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Utils',
|
|
|
|
items: [
|
2023-01-13 09:56:57 +01:00
|
|
|
{
|
|
|
|
type: 'doc',
|
2023-02-03 17:12:20 +00:00
|
|
|
label: 'Async',
|
|
|
|
id: 'core/utils/async',
|
2023-01-13 09:56:57 +01:00
|
|
|
},
|
2023-02-02 12:59:45 +01:00
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Event Hub',
|
|
|
|
id: 'core/utils/event-hub',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-08-26 18:41:48 +02:00
|
|
|
],
|
|
|
|
},
|
2022-11-10 12:10:20 +01:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Custom Fields',
|
|
|
|
link: {
|
|
|
|
type: 'doc',
|
|
|
|
id: 'custom-fields',
|
|
|
|
},
|
|
|
|
items: [],
|
|
|
|
},
|
2023-02-23 16:02:54 +01:00
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'How to install packages',
|
|
|
|
link: {
|
|
|
|
type: 'doc',
|
|
|
|
id: 'how-to-install-packages',
|
|
|
|
},
|
|
|
|
items: [],
|
|
|
|
},
|
2022-08-26 18:41:48 +02:00
|
|
|
],
|
2022-07-06 21:04:48 +02:00
|
|
|
api: [{ type: 'autogenerated', dirName: 'api' }],
|
2022-09-13 17:09:54 +02:00
|
|
|
community: [{ type: 'autogenerated', dirName: 'community' }],
|
2022-07-06 21:04:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = sidebars;
|