import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; const epicIds = Array.from({length: 10}, (_, index) => `3darch-ep-${index + 1}`); const sidebars: SidebarsConfig = { scopeSidebar: [ 'overview', 'roadmap', {type: 'category', label: 'Ideas', link: {type: 'doc', id: 'ideas'}, items: []}, {type: 'category', label: 'Questions', link: {type: 'doc', id: 'questions'}, items: []}, { type: 'category', label: 'Epics', link: {type: 'doc', id: 'epics/index'}, collapsed: false, items: epicIds.map((id) => ({ type: 'category' as const, label: id.toUpperCase(), link: {type: 'doc' as const, id: `epics/${id}`}, items: [{type: 'category' as const, label: 'Features', items: []}], })), }, ], }; export default sidebars;