Files
corp-v1-3darch-documentation/sidebarsScope.ts
jarvis-at-skic 9b85ba4322
Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 21s
fix: link empty Feature groups
2026-09-02 09:45:36 +00:00

25 lines
882 B
TypeScript

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', link: {type: 'doc' as const, id: `epics/${id}/features`}, items: []}],
})),
},
],
};
export default sidebars;