sidebars.js 865 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * Creating a sidebar enables you to:
  3. - create an ordered group of docs
  4. - render a sidebar for each doc of that group
  5. - provide next/previous navigation
  6. The sidebars can be generated from the filesystem, or explicitly defined here.
  7. Create as many sidebars as you want.
  8. */
  9. // @ts-check
  10. /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
  11. const sidebars = {
  12. // By default, Docusaurus generates a sidebar from the docs folder structure
  13. learnSidebar: [{ type: 'autogenerated', dirName: 'guides' }],
  14. referenceSidebar: [{ type: 'autogenerated', dirName: 'reference' }],
  15. // But you can create a sidebar manually
  16. /*
  17. tutorialSidebar: [
  18. 'intro',
  19. 'hello',
  20. {
  21. type: 'category',
  22. label: 'Tutorial',
  23. items: ['tutorial-basics/create-a-document'],
  24. },
  25. ],
  26. */
  27. };
  28. module.exports = sidebars;