Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AnoopFranc opened this issue Nov 21, 2023 · 0 comments

Comments

@AnoopFranc
Copy link

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')}),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant