1import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';23// A sidebar per section of the docs, each generated from its folder:4// the navbar picks the section, the sidebar lists its pages, so the two5// never show the same list. Folders order by their _category_.json, pages6// by their front matter.7const folders = [8 'getting-started',9 'sheets',10 'formulas',11 'files',12 'nushell',13 'agents',14 'terminal',15 'reference',16 'contributing',17];1819const sidebars: SidebarsConfig = Object.fromEntries(20 folders.map((dir) => [dir, [{type: 'autogenerated', dirName: dir}]]),21);2223export default sidebars;