hasura / gatsby-gitbook-starter

Generate GitBook style modern docs/tutorial websites using Gatsby + MDX
https://hasura.io/learn/graphql/react/introduction/
MIT License
985 stars 376 forks source link

Adds a config option to collapse a sidebar item by default #32

Closed jmannfeld closed 4 years ago

jmannfeld commented 5 years ago

Hi there! I added an option to the config file to allow for items in the sidebar to be collapsed by default, just add the node url to the array.

Resolves #20

praveenweb commented 5 years ago

Hi @jmannfeld, Thanks for the PR. This looks nice. If you could check for the existence of the config in the code, we are good to merge 😄

jmannfeld commented 5 years ago

This has been updated