sidebars.js 925 B

123456789101112131415161718192021222324252627282930313233343536
  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. tutorialSidebar: [{type: 'autogenerated', dirName: 'tutorials'}],
  14. rulesSidebar: [{type: 'autogenerated', dirName: 'rules'}],
  15. knowledgebaseSidebar: [{type: 'autogenerated', dirName: 'knowledgebase'}],
  16. // But you can create a sidebar manually
  17. /*
  18. tutorialSidebar: [
  19. 'intro',
  20. 'hello',
  21. {
  22. type: 'category',
  23. label: 'Tutorial',
  24. items: ['tutorial-basics/create-a-document'],
  25. },
  26. ],
  27. */
  28. };
  29. export default sidebars;