Build and publish 3D Architecture Wizzard documentation / build (pull_request) Failing after 21s
25 lines
882 B
TypeScript
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;
|