| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /**
- * 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
- learnSidebar: [
- {
- type: 'category',
- label: 'Getting Started',
- items: ['guides/getting-started/installation/index', 'guides/getting-started/first-steps/index'],
- },
- {
- type: 'category',
- label: 'Developer Guide',
- items: [
- 'guides/developer-guide/overview/index',
- 'guides/developer-guide/configuration/index',
- 'guides/developer-guide/the-api-layer/index',
- 'guides/developer-guide/the-service-layer/index',
- 'guides/developer-guide/strategies-configurable-operations/index',
- 'guides/developer-guide/custom-fields/index',
- 'guides/developer-guide/worker-job-queue/index',
- 'guides/developer-guide/plugins/index',
- 'guides/developer-guide/migrations/index',
- ],
- },
- {
- type: 'category',
- label: 'Core Concepts',
- items: [{ type: 'autogenerated', dirName: 'guides/core-concepts' }],
- },
- {
- type: 'category',
- label: 'How-to Guides',
- items: [{ type: 'autogenerated', dirName: 'guides/how-to' }],
- },
- {
- type: 'category',
- label: 'Extending the Admin UI',
- items: [{ type: 'autogenerated', dirName: 'guides/extending-the-admin-ui' }],
- },
- {
- type: 'category',
- label: 'Building a Storefront',
- items: [{ type: 'autogenerated', dirName: 'guides/storefront' }],
- },
- {
- type: 'category',
- label: 'Advanced Topics',
- items: [{ type: 'autogenerated', dirName: 'guides/advanced-topics' }],
- },
- {
- type: 'category',
- label: 'Deployment',
- items: [{ type: 'autogenerated', dirName: 'guides/deployment' }],
- },
- ],
- referenceSidebar: [
- {
- type: 'category',
- label: 'TypeScript API',
- items: [{ type: 'autogenerated', dirName: 'reference/typescript-api' }],
- },
- {
- type: 'category',
- label: 'GraphQL API',
- items: [
- {
- type: 'category',
- label: 'Admin API',
- items: [{ type: 'autogenerated', dirName: 'reference/graphql-api/admin' }],
- },
- {
- type: 'category',
- label: 'Shop API',
- items: [{ type: 'autogenerated', dirName: 'reference/graphql-api/shop' }],
- },
- ],
- },
- {
- type: 'category',
- label: 'Admin UI API',
- items: [{ type: 'autogenerated', dirName: 'reference/admin-ui-api' }],
- },
- ],
- };
- module.exports = sidebars;
|