vuepress-jsdoc icon indicating copy to clipboard operation
vuepress-jsdoc copied to clipboard

How can I make the side bar children all collapsible, by default it's a not collapsible?

Open AnoopFranc opened this issue 1 year ago • 0 comments

I am using this command to create my markdown files npx vuepress-jsdoc -s ./dist/src -d ./docs -f package --include=\"**/*.(ts|js)\" --exclude=\"test*,**/*.d.ts,**/interfaces.*,**/constants.*\"

it creates a sidebar tree which is of type

sidebarTree: (title?: string) => {
    "/package/": {
        title: string;
        collapsable: boolean;
        children: (string | string[])[];
    }[];
}

but by default collapsible is false. how can I change it? my .vuepress/config.js // Add the generated sidebar sidebar: Object.assign({}, {...sidebarTree('Package')}),

AnoopFranc avatar Nov 21 '23 02:11 AnoopFranc