sidebars.ts 875 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
  10. const sidebars: SidebarsConfig = {
  11. // By default, Docusaurus generates a sidebar from the docs folder structure
  12. tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
  13. // pipelines: [
  14. // {
  15. // type: "autogenerated",
  16. // dirName: "pipelines",
  17. // },
  18. // ],
  19. // But you can create a sidebar manually
  20. /*
  21. tutorialSidebar: [
  22. 'intro',
  23. 'hello',
  24. {
  25. type: 'category',
  26. label: 'Tutorial',
  27. items: ['tutorial-basics/create-a-document'],
  28. },
  29. ],
  30. */
  31. };
  32. export default sidebars;