| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- /**
- * 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: [{ type: 'autogenerated', dirName: 'guides/getting-started' }],
- },
- {
- 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;
|