clenemt / docdash

:zap: Lodash inspired JSDoc 3 template/theme
http://clenemt.github.io/docdash/
Other
824 stars 201 forks source link

Add navLevel & private options #47

Closed moos closed 5 years ago

moos commented 5 years ago

Motivation: for larger projects, the navbar quickly becomes too busy to be navigable. Search is there, but the quick overview of a clean navbar is gone.

This PR adds a navLevel option to control the depth (as determined by ancestors) to show in the navbar. A value of 0 will show those classes that have no ancestor (i.e., root level), etc.

Also a private: false option will disable showing @private classes in the navbar.

Also, correction for #46 to re-instate line height for <p> and other tags.

moos commented 5 years ago

The navLevel only controls the show/hide of the depths -- everything is still searchable as before.